System Debug Reference Manual (32650-90888)

36 Chapter2
User Interface
Operators
NOTE
Nesting of indirection operators uses a significant amount of stack space. A
stack overflow could occur if the user's stack is small and a large number of
nested indirection operators are used.
Table 2-5. Indirection Operator Examples
Indirection Operator Examples:
$nmdebug > w1 [r25]
$400c6bd0
Contents of virtual address, contained in
register R25.
$nmdebug > w1 [400c6bd0]
$3f
Contents of virtual address, specified as a short
pointer.
$nmdebug > w1 [r25]
$3f
Indirect operator can be nested.
$nmdebug > w1 [3dc.204c]
$f4000
Contents of virtual address, specified as a long
pointer.
$nmdebug > w1 [HPFOPEN+2c]
$6bcd3671
Contents of virtual address, specified as a NM
logical address.
$nmdebug > w1 [REAL tr1]
$2cb20
Contents of real memory address, which is
contained in register TR1.
$nmdebug > w1 [SEC 1.0]
$804c2080
Contents of secondary storage at address:
LDEV 1 offset 0.
$nmdebug > w1 [c0004bc1]
$804c2080,
Contents of virtual address which is
automatically 4-byte-aligned back to address
c0004bc0.
$nmdebug > w1 [byte c0004bc1]
$4c
Contents of the byte at byte virtual address
c0004bc1.
$nmdebug > w1 [u16 c0004bc1]
$804c
Contents of two bytes (as unsigned) at
2-byte-aligned address c0004bc0.
$nmdebug > w1 [LPTR 402d5c63]
$a.472280
Contents of eight bytes found starting at
4-byte-aligned address 402d5c60, returned as a
long pointer.
$nmdebug > w1 [S16 real 3d3]
$3fff
Contents of two bytes (as signed) found in real
memory at 2-byte-aligned memory address 3d2.
$nmdebug > w1 [BYTE REAL 3d3]
$ff
Contents of the byte found in real memory at
address 3d3.
$nmdebug > w1 [LPTR REAL 4c]
$31c.2200
Contents of eight bytes found starting at
4-byte-aligned address 3d0, returned as a long
pointer.
$nmdebug > w1 [REAL 4c].[REAL 50]
$31.2200
Same as above.