pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

Example 364 SYNTAX Directive
pTAL /IN myprog/; USEGLOBALS ptalsym, SYNTAX
TARGET
TARGET specifies the architecture on which you will run the object file produced by the current
compilation.
RISC1
specifies the TNS/R architecture. This is the only option that the pTAL compiler accepts. It is
also the default for the pTAL compiler.
_TNS_E_TARGET
specifies the TNS/E architecture. This is the only option that the EpTAL compiler accepts. It is
also the default for the EpTAL compiler.
TNS_ARCH
specifies the TNS architecture. The compiler does not accept this option.
T16
specifies the T16 architecture. The compiler does not accept this option.
TNS_R_ARCH, LIBERTY
specifies the Liberty architecture. The compiler does not accept this option.
ANY
specifies any architecture. The compiler does not accept this option.
TNS_R_ARCHpTAL compiler:Default:
_TNS_E_TARGETEpTAL compiler:
AnywherePlacement:
Applies to the compilation unitScope:
NoneDependencies:
USEGLOBALS
NOTE: The EpTAL compiler does not accept this directive. See Migrating from TNS/R to TNS/E
(page 375).
USEGLOBALS reads global data declarations and initializations that were saved in a file by
SAVEGLOBALS during a previous compilation.
TARGET 423