as: Sparc-Directives
1
1 9.44.5 Sparc Machine Directives
1 -------------------------------
1
1 The Sparc version of 'as' supports the following additional machine
1 directives:
1
1 '.align'
1 This must be followed by the desired alignment in bytes.
1
1 '.common'
1 This must be followed by a symbol name, a positive number, and
1 '"bss"'. This behaves somewhat like '.comm', but the syntax is
1 different.
1
1 '.half'
1 This is functionally identical to '.short'.
1
1 '.nword'
1 On the Sparc, the '.nword' directive produces native word sized
1 value, ie. if assembling with -32 it is equivalent to '.word', if
1 assembling with -64 it is equivalent to '.xword'.
1
1 '.proc'
1 This directive is ignored. Any text following it on the same line
1 is also ignored.
1
1 '.register'
1 This directive declares use of a global application or system
1 register. It must be followed by a register name %g2, %g3, %g6 or
1 %g7, comma and the symbol name for that register. If symbol name
1 is '#scratch', it is a scratch register, if it is '#ignore', it
1 just suppresses any errors about using undeclared global register,
1 but does not emit any information about it into the object file.
1 This can be useful e.g. if you save the register before use and
1 restore it after.
1
1 '.reserve'
1 This must be followed by a symbol name, a positive number, and
1 '"bss"'. This behaves somewhat like '.lcomm', but the syntax is
1 different.
1
1 '.seg'
1 This must be followed by '"text"', '"data"', or '"data1"'. It
1 behaves like '.text', '.data', or '.data 1'.
1
1 '.skip'
1 This is functionally identical to the '.space' directive.
1
1 '.word'
1 On the Sparc, the '.word' directive produces 32 bit values, instead
1 of the 16 bit values it produces on many other machines.
1
1 '.xword'
1 On the Sparc V9 processor, the '.xword' directive produces 64 bit
1 values.
1