pTAL Reference Manual (H06.08+)

Structures
HP pTAL Reference Manual523746-006
9-52
Declaring Structure Pointers in Structures
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.
STRING
is the STRING attribute.
INT
is the INT attribute
.
.EXT
.SG
.SGX
are indirection symbols (see Table 2-7 on page 2-7).
identifier
is the identifier of the structure pointer.
referral
is the identifier of a structure that provides the structure layout. You can specify any
previously declared structure (including the encompassing structure) or structure
pointer.
REFALIGNED
specifies the base alignment of the structures that the structure pointer will
reference.
2
references a structure that might not be well-aligned.
8
indicates that the base of the structure and the fields in the structure are well
aligned in memory
The addressing mode and STRING or INT attribute determine the kind of addresses a
structure pointer can contain, as described in Table 9-8 on page 9-53.