3.1.10. Listing output to a file

Use the following option to list output to a file:

--list file

This instructs the assembler to output a detailed listing of the assembly language produced by the assembler to file.

If - is given as file, listing is sent to stdout.

If no file is given, use --list= to send the output to inputfile.lst.


You can use --list without a filename to send the output to inputfile.lst. However, this syntax is deprecated and the assembler issues a warning. This syntax will be removed in a later release. Use --list= instead.

Use the following command-line options to control the behavior of --list:


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.


Sets the listing page width. The default is 79 characters.


Sets the listing page length. Length zero means an unpaged listing. The default is 66 lines.


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-2010 ARM. All rights reserved.ARM DUI 0204J