Directives Reference

7.6.3OPT

The OPT directive sets listing options from within the source code.

Syntax

OPT n

where:

nis the OPT directive setting. Table 7-2 lists valid settings.

 

Table 7-2 OPT directive settings

 

 

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 zero.

 

 

16

Turns on listing for SET, GBL and LCL directives.

 

 

32

Turns off listing for SET, GBL and LCL directives.

 

 

64

Turns on listing of macro expansions.

 

 

128

Turns off listing of macro expansions.

 

 

256

Turns on listing of macro invocations.

 

 

512

Turns off listing of macro invocations.

 

 

1024

Turns on the first pass listing.

 

 

2048

Turns off the first pass listing.

 

 

4096

Turns on listing of conditional directives.

 

 

8192

Turns off listing of conditional directives.

 

 

16384

Turns on listing of MEND directives.

 

 

32768

Turns off listing of MEND directives.

 

 

Usage

Specify the -listassembler option to turn on listing.

7-46

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

Page 328
Image 328
ARM VERSION 1.2 manual 3 OPT, Where Is the OPT directive setting. -2 lists valid settings