Assembler Reference
3-6 Copyright © 2000, 2001 ARM Limited. All rights reserved. ARM DUI 0068B
-nocache
turns off source caching. By default the assembler caches source files on
the first pass and reads them from memory on the second pass.
-noesc
instructs the assembler to ignore C-style escaped special characters, such
as
\n
and
\t
.
-noregs
instructs the assembler not to predefine register names. See Predefined
register and coprocessor names on page 3-9 for a list of predefined
register names.
-nowarn
turns off warning messages.
-o filename
names the output object file. If this option is not specified, the assembler
uses the second command-line argument that is not a valid command-line
option as the name of the output file. If there is no such argument, the
assembler creates an object filename of the form
inputfilename.o
.
-predefine "directive"
instructs the assembler to pre-execute one of the
SET
directives. You must
enclose
directive
in quotes. See SETA, SETL, and SETS on page 7-7.
The assembler executes a corresponding
GBLL
,
GBLS
, or
GBLA
directive to
define the variable before setting its value.
The variable name is case-sensitive.
Note
The command line interface of your system might require you to enter
special character combinations, such as
\”
, to include strings in
directive
. Alternatively, you can use
-via file
to include a
-predefine
argument. The command line interface does not alter arguments from
-via
files.
-split_ldm
This option instructs the assembler to fault
LDM
and
STM
instructions if the
maximum number of registers transferred exceeds:
• five, for all
STM
s, and for
LDM
s that do not load the PC
• four, for
LDM
s that load the PC.
Avoiding large multiple register transfers can reduce interrupt latency on
ARM systems that:
• do not have a cache or a write buffer (for example, a cacheless
ARM7TDMI)
• use zero wait-state, 32-bit memory.