This section of the listing shows all references in the program
to each of the general registers. Additional flags indicate the type
of reference. This is a useful tool in checking
the logic of your program; it helps you see if your use of registers
is in order.
Figure 1. General Purpose Register cross reference General Purpose Register Cross Reference Page 8
Register References (M=modified, B=branch, U=USING, D=DROP, N=index) HLASM R6.0 2008/07/11 17.48
1 2
0(0) 115
1(1) 118 120 121 122 124 126 127 128 130 131 133 135 136 137
2(2) 36 37 38 39 40 41 42 43 44M 45 46 47 48 49 50 51
52M 53 54 55M 56 57 58 59M 60 61 62 63 64 65 66 67
68 69 70 71 72M 73 74 75 76 77 78 79 80 81 82 83
84 85 86 87 88 89M 90 91 92 93M 94 95 96 97 98 99
100 101 102 103 104 105 106 107 108 109 110 111 112
3(3) (no references identified) 3
4(4) 16M 281
5(5) 283
6(6) 66N 167N 170 171 174 178 180N 190 192 193 194 197 199 200 201N
7(7) 283
8(8) 283
9(9) 224 225 226 227
10(A) 255U 342D
11(B) 237 238 239N 240 241 242 243N 244 245N 271
12(C) 8U
13(D) 261 262 263 264 265 266
14(E) 209 210 211 212 213 214 215 216
15(F) 34 144
- 1
- Lists the 16 general registers (0–15).
- 2
- The statements within the program that reference the register.
Additional indicators are suffixed to the statement numbers as follows:
- (space)
- Referenced
- M
- Modified
- B
- Used as a branch address
- U
- Used in USING statement
- D
- Used in DROP statement
- N
- Used as an index register
- 3
- The assembler indicates when it has not detected any references
to a register.
Note: The implicit use of a register to resolve a symbol to a base
and displacement does not create a reference in the General Purpose
Register Cross Reference.