TAL Reference Manual

Compiler Directives
TAL Reference Manual526371-001
16-47
Example of ICODE Directive
Example of ICODE Directive
This compilation command lists the icode mnemonics starting with the first procedure
to be compiled:
TAL /IN mysrc, OUT $s.#lists/ myobj; ICODE
IF and ENDIF Directives
IF and IFNOT control conditional compilation based on a condition.
The ENDIF directive terminates the range of the matching IF or IFNOT directive.
The D20 or later release supports named toggles and target-system toggles in addition
to numeric toggles.
toggle-number
is an integer value from 1 through 15 specified in a previous DEFINETOG,
SETTOG, or RESETTOG directive. Leading zeros are ignored.
toggle-name
is a toggle name specified in a previous DEFINETOG, SETTOG, or RESETTOG
directive.
target-system
is one of:
ANY ANY is specified in a TARGET directive in this compilation.
TARGETSPECIFIED A TARGET directive appears in this compilation.
TNS_ARCH TNS_ARCH is specified in a TARGET directive in this
compilation.
TNS_R_ARCH TNS_R_ARCH is specified in a TARGET directive in this
compilation.
VST1630.vsd
IF
toggle-number
IFNOT
target-system
toggle-name
ENDIF
toggle-number
target-system
toggle-name