3.1.9. Listing output to a file

Use the following option to list output to a file:


--list [listingfile]

This 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:

--no_terse

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.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0204F
Non-Confidential