TAL Reference Manual
Equivalenced Variables
TAL Reference Manual—526371-001
10-5
Example of Equivalenced Simple Pointer Declaration
Example of Equivalenced Simple Pointer Declaration
This example declares an INT(32) simple pointer equivalent to an INT simple pointer.
Both contain a word address:
Equivalenced Definition Structure
An equivalenced definition structure declaration associates a new structure with a
previously declared variable.
. (period)
is the standard indirection symbol and denotes 16-bit indirect addressing. An
absence of any indirection symbol (. or .EXT) denotes 16-bit direct addressing.
.EXT
is the extended indirection symbol and denotes 32-bit indirect addressing. An
absence of any indirection symbol (. or .EXT) denotes 16-bit direct addressing.
identifier
is the identifier of a definition structure to be made equivalent to previous-identifier.
VST1005.vsd
PTR1 = 200
G[200]
.
.
.
PTR2 = 200
INT .ptr1 := 200;
INT(32) .ptr2 = ptr1;
VST1006.vsd
=
[
index
]
+
offset
-
;
previous-identifier
identifier
STRUCT
.
.EXT
structure-layout
;