0.1 Generating Listing Files

MASM 6.0 provides several ways to generate a listing file. From within PWB, follow these steps:

1.From the “Options” menu, choose MASM Options.

2.In the MASM Options dialog box, choose Set Debug or Release Options.

The resulting dialog box for Set Debug or Release Options lists the choices summarized in Table C.1. This table also shows the equivalent directives you can use in your source code or the equivalent command-line options.

Table 0.1 Options for Generating or Modifying Listing Files

To generate this information:
In PWB1, select:
In source
code, enter:
From command
line, enter:

Default listing—includes all assembled lines Generate Listing File .LIST (default) /Fl
Turn off all source listings (overrides all listing directives) Generate Listing File (turn off) .NOLIST (synonym = .SFCOND)
List all source lines, including false conditionals and generated code Include All Source Lines .LISTALL /Fl /Sa
Show assembler-generated code List Generated Instructions /Fl /Sg
Include false conditionals2 List False Conditionals .LISTIF (synonym = .LFCOND) /Fl /Sx
Suppress listing of any subsequent conditional blocks whose condition is false List False Conditionals (turn off) .NOLISTIF (synonym = .SFCOND)
Toggle between .LISTIF and .NOLISTIF —, .TFCOND  
Suppress symbol table generation Generate Symbol Table (turn off the default) /Fl /Sn
List all processed macro statements .LISTMACROALL (synonym = .LALL)
List only instructions, data, and segment directives in macros, — .LISTMACRO (default) (synonym = .XALL)  
Turn off all listing during macro expansion .NOLISTMACRO (synonym = .SALL)
Specify title for each page (use only once per file) TITLE name /St
Specify subtitle for page SUBTITLE name, /Ss  
Designate page length and line width, increment section number, or generate page breaks PAGE [[length,width]][[+]], /Sp length /Sl width  

1 Select MASM Options from the “Options” menu. Then choose Set Dialog Options from the MASM Options dialog box.

2 See Section 1.3.2.2, “Conditional Directives.”