pTAL Reference Manual (H06.03+)

Pointers
HP pTAL Reference Manual523746-005
10-2
Overview of Pointer Declaration
Overview of Pointer Declaration
This subsection gives you the general pointer syntax and explains the syntax
elements.
VOLATILE
specifies that the value of this variable must be maintained in memory, not in a
register
. Each reference to a VOLATILE data item causes the data item to be read
or written to memory even when code is optimized. Based on the order of reads
and writes in the source code, VOLATILE also causes that precise order of
memory references to be preserved, again, when code is optimized.
type
Is one of the following data types depending on whether the pointer is a simple
pointer or a structure pointer:
BADDR
CBADDR
CWADDR
EXTADDR
FIXED [(fpoint )]
INT
INT (16)
identifier
VOLATILE
type
.
.EXT
.SG
.SGX
;
,
REFALIGNED (
2
8
)
:= initialization
VST676.vsd