3.1.8. 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.
Note
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:
‑‑no_terseTurns 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.
‑‑widthSets the listing page width. The default is 79 characters.
‑‑lengthSets the listing page length. Length zero means an unpaged listing. The default is 66 lines.
‑‑xrefInstructs 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.