ARM Dynamic Listing Directive Options

The OPT directive is used to set listing options from within the source code, if listing is turned on.

The default setting is to produce a normal listing, including the declaration of variables, macro expansions, call-conditioned directives, and MEND directives, but without producing a listing during the first pass.

These settings can be altered by adding the appropriate values from the list and using them with the OPT directive as shown in the following table.

OPT n Effect
1 Turns on normal listing.
2 Turns off normal listing.
4 Page throw: issues an immediate form feed and starts a new page.
8 Resets the line number counter to 0.
16 Turns on the listing of SET, GBL, and LCL directives.
32 Turns off the listing of SET, GBL, and LCL directives.
64 Turns on the listing of macro expansions.
128 Turns off the listing of macro expansions.
256 Turns on the listing of macro calls.
512 Turns off the listing of macro calls.
1024 Turns on the first pass listing.
2048 Turns off the first pass listing.
4096 Turns on the listing of conditional directives.
8192 Turns off the listing of conditional directives.
16384 Turns on the listing of MEND directives.
32768 Turns off the listing of MEND directives.

See Also

ARM Assembler Directives | ARM Assembler | ARM Initialization and Layout Directives | ARM Linking Directives | ARM Diagnostic Directives | ARM Directives for Conditional Assembly | ARM-Thumb Interworking Directives | ARM Constant and Variable Declarations | ARM Assembler Directives for Macro Definition | Miscellaneous ARM Directives

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.