Directive Categories

Control directives can be divided into three distinct groups: source controls, object controls, and listing controls.
  Source controls define macros and determine the name of the file to be compiled.

  Object controls affect the form and content of the generated object module (*.OBJ).  These directives allow you to specify the optimizing level or include debugging information in the object file.

  Listing controls govern various aspects of the listing file (*.LST), in particular its format and specific content.

The following table lists the control directives by category along with abbreviations and default settings. You should note that the effects of many options can be reversed by prefixing the option name with NO.

Class

Directive

Abbreviation

Default Setting

Source

DEFINE 

DF

DISABLE

NOEXTEND 

MAXARGS

MAXARGS(15) or
MAXARGS(40)

RESTORE

SAVE

Listing

ASM

CODE 

CD

COND 

CO

COND

EJECT

EJ

ENDASM

LISTINCLUDE 

LC

NOCOND 

NOCO

COND

NOPRINT 

NOPR

PRINT(basename.LST)

PAGEWIDTH 

PW

PAGEWIDTH(132)

PAGELENGTH 

PL

PAGELENGTH(60)

PREPRINT 

PP

PRINT 

PR

PRINT(basename.LST)

SYMBOLS 

SB

Object

AREGS

AR

AREGS

COMPACT 

CP

SMALL

DEBUG 

DB

INTERVAL

INTERVAL(8)

INTPROMOTE

IP

INTPROMOTE

INTVECTOR 

IV

INTVECTOR(0)

LARGE 

LA

SMALL

MOD517

NOMOD517

MODAMD

NOMODAMD

NOAMAKE 

NOAM

AMAKE

NOAREGS

NOAR

AREGS

NOINTPROMOTE

NOIP

INTPROMOTE

NOINTVECTOR

NOIV

INTVECTOR(0)

NOMOD517

NOMOD517

NOMODAMD

NOMODAMD

NOOBJECT 

NOOJ

OBJECT(basename.OBJ)

NOREGFILE

NOREGFILE

NOREGPARMS

REGPARMS

OBJECT 

OJ

OBJECT(basename.OBJ)

OBJECTEXTEND 

OE

OPTIMIZE 

OT

OPTIMIZE(5,SPEED)

ORDER

OR

NOORDER

REGISTERBANK

RB

REGISTERBANK(0)

REGFILE

RF

NOREGFILE

REGPARMS

REGPARMS

ROM 

ROM (LARGE)

SMALL 

SM

SMALL

SRC 

† These directives can only be specified once in the command-line or at the beginning of a source file using the #pragma statement. They cannot be used more than once in a source file.

Control directives and their arguments are case insensitive with the exception of arguments specified with the DEFINE directive.