pTAL Conversion Guide

Pointers
pTAL Conversion Guide527302-002
10-3
Declaring Pointers
FIXED [(fpoint )]
INT
INT (16)
INT (32)
INT (64)
PROCADDR
REAL
REAL (32)
REAL (64)
SGBADDR
SGWADDR
SGXBADDR
SGXWADDR
STRING
UNSIGNED (width)
WADDR
fpoint
is the implied fixed point of the FIXED variable. In pTAL,fpoint can also be
an asterisk (*) as in:
FIXED(*) .f;
See discussion of FIXED(*) variables in Section 4, Data Representation. See
the TAL Reference Manual for further discussion of fpoint.
width
is a constant expression specifying the width, in bits, of the variable.
.
.EXT
.SG
are the same as in TAL.
.SGX
specifies that the data referenced by this pointer is in system globals. The pointer
itself is allocated in the user data segment. Pointers declared .SGX are the same
as pointers declared .SG except that pointers declared .SG are 16 bits in TNS and
native processes, whereas pointers declared .SGX are 16 bits in TNS processes,
but are 32 bits in native processes.
identifier
is the identifier of the pointer.