Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldchangelog/action.php on line 8 Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /DISK2/WWW/pavel-rimsky.cz/helenos/lib/plugins/importoldindex/action.php on line 0 Deprecated: Function split() is deprecated in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 154 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 456 Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /DISK2/WWW/pavel-rimsky.cz/helenos/inc/auth.php on line 453 Strict Standards: Only variables should be passed by reference in /DISK2/WWW/pavel-rimsky.cz/helenos/doku.php on line 71 sparc_machine_directives [HelenOS UltraSPARC port]
 

Sparc Machine Directives

The Sparc version of as supports the following additional machine directives:

.align

This must be followed by the desired alignment in bytes.

.common

This must be followed by a symbol name, a positive number, and “bss”. This behaves somewhat like .comm, but the syntax is different.

.half

This is functionally identical to .short.

.nword

On the Sparc, the .nword directive produces native word sized value, ie. if assembling with -32 it is equivalent to .word, if assembling with -64 it is equivalent to .xword.

.proc

This directive is ignored. Any text following it on the same line is also ignored.

.register

This directive declares use of a global application or system register. It must be followed by a register name %g2, %g3, %g6 or %g7, comma and the symbol name for that register. If symbol name is #scratch, it is a scratch register, if it is #ignore, it just suppresses any errors about using undeclared global register, but does not emit any information about it into the object file. This can be useful e.g. if you save the register before use and restore it after. .reserve This must be followed by a symbol name, a positive number, and “bss”. This behaves somewhat like .lcomm, but the syntax is different.

the new assembler requires the g2, g3, g6 and g7 registers to be declared as scratch or temporary with the new .register pseudo-op if they are to be used, otherwise the assembler generates the error above and stops

.seg

This must be followed by “text”, “data”, or “data1”. It behaves like .text, .data, or .data 1.

.skip

This is functionally identical to the .space directive.

.word

On the Sparc, the .word directive produces 32 bit values, instead of the 16 bit values it produces on many other machines.

.xword

On the Sparc V9 processor, the .xword directive produces 64 bit values.

 
sparc_machine_directives.txt · Last modified: 2008/05/03 20:57 by 83.208.68.45
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Strict Standards: Only variables should be passed by reference in /DISK2/WWW/pavel-rimsky.cz/helenos/doku.php on line 79