System Debug Reference Manual (32650-90888)
338 Chapter9
System Debug Window Commands
wJ
QJ [
dst.off
] CM Frame, Q relative
SJ [
dst.off
] CM Stack, S relative
VJ [
virtaddr
] [
win_number
] Virtual window
ZJ [
realaddr
] Real memory window
LJ [
Ldev.off
] LDEV window
TXJ [
record_number
] Text window
Parameters
logaddr
PJ, PJG, PJP, PJLG, PJLP, PJS, PJU, and PJV control the current
program window, which is based on the current mode (CM or NM).
CMPJ, CMPJG, CMPJP, CMPJLG, CMPJLP, and CMPJS control the CM
program window.
NMPJ, NMPJG, NMPJP, NMPJS, NMPJS, and NMPJU control the NM
program window.
A full logical code address (LCPTR) specifies three necessary items:
1. The logical code file (PROG, GRP, SYS, and so on).
2. NM: the virtual space ID number (SID).
CM: the logical segment number.
3. NM: the virtual byte offset within the space.
CM: the word offset within the code segment.
Logical code addresses can be specified in various levels of detail:
• As a full logical code pointer (LCPTR)
PJ procname+20 Procedure name lookups return LCPTRs.
PJ pw+4 Predefined ENV variables of type LCPTR.
PJ SYS(2.200) Explicit coercion to a LCPTR type.
• As a long pointer (LPTR)
PJ 23.2644
sid.offset
or
seg.offset
The logical file is determined based on the command suffix:
PJ implies PROG
PJG implies GRP
PJS implies SYS, and so on.
• As a short pointer (SPTR)
PJ 1024
offset
only
For NM, the short pointer offset is converted to a long pointer using the
function STOLOG, which looks up the SID of the loaded logical file. This
is different from the standard short to long pointer conversion, STOL,