as: Nios II Directives
1
1 9.31.4 Nios II Machine Directives
1 ---------------------------------
1
1 '.align EXPRESSION [, EXPRESSION]'
1 This is the generic '.align' directive, however this aligns to a
1 power of two.
1
1 '.half EXPRESSION'
1 Create an aligned constant 2 bytes in size.
1
1 '.word EXPRESSION'
1 Create an aligned constant 4 bytes in size.
1
1 '.dword EXPRESSION'
1 Create an aligned constant 8 bytes in size.
1
1 '.2byte EXPRESSION'
1 Create an unaligned constant 2 bytes in size.
1
1 '.4byte EXPRESSION'
1 Create an unaligned constant 4 bytes in size.
1
1 '.8byte EXPRESSION'
1 Create an unaligned constant 8 bytes in size.
1
1 '.16byte EXPRESSION'
1 Create an unaligned constant 16 bytes in size.
1
1 '.set noat'
1 Allows assembly code to use 'at' register without warning. Macro
1 or relaxation expansions generate warnings.
1
1 '.set at'
1 Assembly code using 'at' register generates warnings, and macro
1 expansion and relaxation are enabled.
1
1 '.set nobreak'
1 Allows assembly code to use 'ba' and 'bt' registers without
1 warning.
1
1 '.set break'
1 Turns warnings back on for using 'ba' and 'bt' registers.
1
1 '.set norelax'
1 Do not replace any branches or calls.
1
1 '.set relaxsection'
1 Replace identified out-of-range branches with 'jmp' sequences
1 (default).
1
1 '.set relaxsection'
1 Replace all branch and call instructions with 'jmp' and 'callr'
1 sequences.
1
1 '.set ...'
1 All other '.set' are the normal use.
1