TAL Reference Manual

Compiler Directives
TAL Reference Manual526371-001
16-66
PEP Directive
PEP Directive
PEP specifies the size of the procedure entry-point (PEP) table.
pep-table-size
is the number of words to allocate for the PEP table. Specify an unsigned decimal
constant in the range 3 through 512.
Usage Considerations
The PEP directive can appear in the compilation command or anywhere in the source
code.
If you use ABSLIST, which lists code-relative addresses for instruction locations, you
must define the size of the PEP table before the first procedure declaration appears.
Specify PEP before the first procedure declaration or declare all procedures that
precede PEP as FORWARD or EXTERNAL.
PEP Table
The PEP table must be at least large enough to contain one word per nonexternal
entry point.
You can respecify PEP at any time without causing a warning from the compiler. If you
respecify the PEP table size or if the size is insufficient for the program, the ABSLIST
addresses are invalid.
Example of PEP Directive
The following example sets the size of the PEP table at 60 words before the first
procedure declaration so that ABSLIST has effect:
!This is MYSOURCE file.
!Global declarations
?ABSLIST, PEP 60
PROC mymain MAIN;
BEGIN
!Lots of code
END;
VST1644.vsd
=
PEP
pep-table-size