TAL Reference Manual
Compiler Directives
TAL Reference Manual—526371-001
16-32
Example of DUMPCONS Directive
The compiler generates an unconditional branch around each insertion of constants
and labels into the object code.
Use With CODE Statements
If you use CODE statements to create a block of data in your code, the compiler might
insert constants or branch labels in the middle of your block of data. If you need to
keep the data generated by your CODE statements in one contiguous sequence, put a
DUMPCONS directive immediately before the CODE statements. The compiler then
inserts all pending constants and branch labels into the object code before it compiles
the CODE statements.
Example of DUMPCONS Directive
This example emits collected constants and labels into the object code before building
a doubleword, to ensure that the two single words are adjacent:
PROC m;
BEGIN
!Lots of code
?DUMPCONS
CODE (CON, 0); !Build a doubleword value of 1
CODE (CON, 1); ! in the user code segment with
END; ! no intervening constants
ENDIF Directive
ENDIF is described under the IF directive in this section.
ENV Directive
ENV specifies the intended run-time environment of a D-series object file.
The default is ENV NEUTRAL.
VST1617.vsd
NEUTRAL
OLD
COMMONENV