TAL Reference Manual
Structures
TAL Reference Manual—526371-001
8-25
Usage Considerations
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.
previous-identifier
is the identifier of a simple variable, array, substructure, or pointer previously
declared in the same structure. No index is allowed with this identifier.
Usage Considerations
The addressing mode and STRING or INT attribute determine the kind of addresses a
structure pointer can contain, as described in Table 8-5
on page 8-16.
Example of Structure Pointer Redefinitions
This example declares new standard and extended structure pointers to redefine
simple variables as follows:
STRUCT record;
BEGIN
FIXED(0) data;
INT std_link_addr;
INT .std_link (record) = std_link_addr; !Redefinition
INT(32) ext_link_addr;
INT .EXT ext_link (record) = ext_link_addr; !Redefinition
END;