pTAL Reference Manual (H06.03+)

Compiler Directives
HP pTAL Reference Manual523746-005
17-35
GP_OK
NOGMAP
suppresses the global map in the compiler listing.
The global map:
Appears at the end of the compilation listing
Lists all identifiers in the compilation unit and tells what kind of objects they are,
including identifier class and type
GP_OK
GP_OK
causes the pTAL compiler to generate code that has GP-relative addressing
(“small” data).
NOGP_OK
suppresses the generation of code that has GP-relative addressing. (This is the
only option for the EpTAL compiler.)
PUSHGP_OK
pushes the current setting (GP_OK or NOGP_OK) onto the GP_OK directive
stack. Does not change the current setting.
Default: GMAP
Placement: Anywhere, any number of times. The last GMAP or NOGMAP in the
compilation unit
determines whether the compiler lists the global map.
Scope: Applies to the compilation unit
Dependencies:
GMAP has no effect if NOLIST, NOMAP, or SUPPRESS is active
NOGMAP suppresses the global map even if MAP is active
References:
LIST on page 17-41
MAP on page 17-43
SUPPRESS on page 17-63
Note. The EpTAL compiler ignores these directives.
GP_OK
NOGP_OK
POPGP_OK
PUSHGP_OK
VST661.vsd