pTAL Conversion Guide

Compiler Operation
pTAL Conversion Guide527302-002
19-20
For pTAL and TAL
AUTO
specifies that the structure and the fields of the structure be aligned according to
the optimal alignment for the architecture on which the program will run. (This
AUTO attribute is not necessarily the same as the AUTO attribute in the native
mode HP C compiler.)
PLATFORM
specifies that the structure and the fields of the structure must begin at addresses
that are consistent across all languages on the same architecture—CISC, RISC, or
Itanium®. For RISC and Itanium architecture, pTAL allocates such structures
according to the rules used by the native mode HP C compiler for AUTO layouts.
NODEFAULT
specifies that every structure declaration must include a FIELDALIGN clause.
For more information about FIELDALIGN, see Section 11, Structures.
GP_OK
GP_OK controls whether the pTAL compiler uses GP-relative addressing.
GP_OK
generates code with GP-relative addressing (“small” data).
NOGP_OK
suppresses the generation of code with GP-relative addressing.
Default: FIELDALIGN AUTO
Placement:
Can appear only once in a compilation unit
Must precede all declarations of data, blocks, and procedures
Scope: Applies to the compilation unit
Dependencies: None
Note. The EpTAL compiler ignores this directive.
GP_OK
NOGP_OK
POPGP_OK
PUSHGP_OK
VST661.vsd