TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-19
Usage Considerations
Usage Considerations
This directive can appear in the compilation command or anywhere in the source code.
CODE turns the code-listing setting on for subsequent code. CODE has no effect if
NOLIST or SUPPRESS is in effect.
NOCODE turns the code-listing setting off for subsequent code.
PUSHCODE pushes the current code-listing setting onto the directive stack without
changing the current setting.
POPCODE removes the top value from the directive stack and sets the current code-
listing setting to that value.
CODE Listing
The code listing for each procedure follows the local map, if any, for the procedure.
Each line lists an octal address (the offset from the procedure base), followed by eight
words of instructions in octal.
For global variables declared within a named data block, the G+ addresses shown are
relative to the start of the data block and are not the final addresses. At the end of
compilation, BINSERV determines the final G+ addresses for such global variables
and the code locations for items such as PCAL instructions and global read-only
arrays.
After compilation, you can display the final addresses by using Binder and Inspect
commands.
Example of CODE Directive
This compilation command specifies NOCODE to suppress the code listing:
TAL /IN mysrc, OUT $s.#lists/ myobj; NOCODE
COLUMNS Directive
COLUMNS directs the compiler to treat any text beyond the specified column as
comments.
columns-value
is the column beyond which the compiler is to treat text as comments. Specify an
unsigned decimal constant in the range 12 through 132. The default value is 132. If
columns-value
VST1608.vsd
COLUMNS