ARM VERSION 1.2 Computer Hardware User Manual


 
Assembler Reference
ARM DUI 0068B Copyright © 2000, 2001 ARM Limited. All rights reserved. 3-5
-help
instructs the assembler to display a summary of the assembler
command-line options.
-i dir [,dir]…
adds directories to the source file search path so that arguments to
GET
,
INCLUDE
, or
INCBIN
directives do not need to be fully qualified (see GET or
INCLUDE on page 7-61).
-keep
instructs the assembler to keep local labels in the symbol table of the
object file, for use by the debugger (see KEEP on page 7-64).
-list [listingfile] [options]
instructs the assembler to output a detailed listing of the assembly
language produced by the assembler to
listingfile
. If
-
is given as
listingfile
, listing is sent to
stdout
. If no
listingfile
is given, listing is
sent to
inputfile.lst
.
Use the following command-line options to control the behavior of
-list
:
-noterse
turns the
terse
flag off. When this option is on, lines skipped
due to conditional assembly do not appear in the listing. If the
terse
option is off, these lines do appear in the listing. The
default is on.
-width
sets the listing page width. The default is 79 characters.
-length
sets the listing page length. Length zero means an unpaged
listing. The default is 66 lines.
-xref
instructs the assembler to list cross-referencing information on
symbols, including where they were defined and where they
were used, both inside and outside macros. The default is off.
-maxcache n
sets the maximum source cache size to
n
. The default is 8MB.
-memaccess attributes
Specifies memory access attributes of the target memory system. The
default is to allow aligned loads and saves of bytes, halfwords and words.
attributes
modify the default. They can be any one of the following:
+L41
Allow unaligned
LDR
s.
-L22
Disallow halfword loads.
-S22
Disallow halfword stores.
-L22-S22
Disallow halfword loads and stores.