NonStop S-Series Server Description Manual (G06.24+)

TNS Execution Modes
HP NonStop S-Series Server Description Manual520331-003
6-27
Examples of Indexing in the Data Segment
Figure 6-16. Three Examples of Indexing in the Data Segment
Direct, Indexed
Displacement
G-Relative
Addressing
Mode
Index
Reg
.
Word:
5
+
12
12R [7]
00001010
Indirect, Indexed
Displacement
0
G-Relative
Addressing
Mode
1
Index
Reg
.
01
1234
+
7
G [0]
G [10]
G [1241]
1234
00000010
Indirect, Indexed
Displacement
0
G-Relative
Addressing
Mode
1
Index
Reg.
11
+
R [7]
Byte:
12345
–7 –6
–5 –4
–3 –2
–1 0
12338 / 2 = 6169
Remainder = 0
0 = Left Half
12338
12345
Direct
Indirect
Indirect
000001010011
G [5]
G [17]
7R [6]
–7
G [0]
G [2]
G [6169]
G [6172]
–7
Register Stack
Register
Stack
Register Stack
G [0]
VST281.vsd