Share via


Miscellaneous ARM Directives

The following table describes miscellaneous directives for the ARM assembler.

Directive Syntax Description
ALIGN
ALIGN {power-of-two {,offset-expression}}
Sets the instruction location to the next word boundary; the optional power-of-two parameter can be used to align with a coarser byte boundary and the offset-expression parameter to define a byte offset from that boundary.
NOFP
NOFP
Disables floating point instructions. In some circumstances, there will be no support in either target hardware or software for floating-point instructions.
RLIST
label RLIST list-of-registers 
Assigns a name to a set of registers to be transferred by LDM or STM. List-of-registers is a comma-separated list of register names and/or ranges enclosed in braces. If you select the -CheckReglist option, you must also supply a List-of-registers in increasing order of register number.
END
END
Stops the processing of a source file. If a GET directive invoked assembly of the file, the assembler returns and continues after the GET directive. If the assembler reaches an END directive in the top-level source file during the first pass without any errors, the second pass begins. Absence of an END directive causes an error.
LTORG
LTORG
Directs the assembler to assemble the current literal pool immediately following. A default LTORG is executed at every END directive that is not part of a nested assembly. Large programs may need several literal pools, each closer to the location of their literals to avoid violating LDR's 4-KB offset limit.
KEEP
KEEP {symbol}
Retains a local symbol in the assembler's symbol table. By default, the assembler does not describe local symbols in its output object file. If the KEEP directive appears without a symbol parameter, the assembler keeps all symbols. If you need to keep a specific symbol, specify it by name.
TTL
TTL title
Specifies a title to be inserted on all pages a new title appears.
SUBT
SUBT title
Specifies a subtitle to be inserted on all pages until a new subtitle appears.

See Also

ARM Assembler Directives | ARM Assembler | ARM Initialization and Layout Directives | ARM Linking Directives | ARM Diagnostic Directives | ARM Directives for Conditional Assembly | ARM Dynamic Listing Directive Options | ARM-Thumb Interworking Directives | ARM Constant and Variable Declarations | ARM Assembler Directives for Macro Definition

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.