Share via


ARM Dynamic Listing Directive Options

9/7/2007

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.

  • 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

Concepts

ARM Assembler Directives