DR DEBUG command [ MPE Debug/Stack Dump Reference Manual ] MPE/iX 5.0 Documentation
MPE Debug/Stack Dump Reference Manual
DR
DEBUG command
Displays contents of the X, ST, DL, Q, S, Z, P, MF, MDST, 1, 2, 3, and 4
registers.
SYNTAX
DR [ ,register] [ ,register] ,...
PARAMETERS
register The register whose contents are to be displayed. This
can be ST, X, DL, Q, S, Z, P, MF, MDST, or temporary
registers 1, 2, 3, and 4. If omitted, all these
registers plus LCST (the index to the logical code
segment) are displayed. (Optional parameter.)
NOTE If LCST is displayed and the breakpoint is set in a group segmented
library, the segment number is preceded by G; if set in a public
library, it is preceded by P; if in the current user program, the
segment number has a blank prefix.
Privileged Mode
Privileged mode, if displaying all registers (register parameter
omitted), also includes the following values:
PCB = Process Control Block Index.
CST = Absolute Code Segment Index.
STAK = Stack Segment Index.
DST = Extra Data Segment Index.
DX = Current value of DB register, if in absolute mode.
EA = Current bank number, if in absolute mode.
In addition, the segment number displayed as LCST is preceded by S for a
system library segment.
EXAMPLES
?DR
ST-60301,X=0,DL=177602,Q=26,S=26,Z=1462,P=166
1=0,2=0,3=0,4=0,MF=0,MDST=554,LCST=0
DR with no parameters specified displays all registers.
?DR,ST,Z
ST=60301,Z= 1462
?DR,1,2
1=0,2=0
?DR,Q
Q=26
Display registers ST and Z.
Display temporary registers 1 and 2.
Display register Q.
MPE/iX 5.0 Documentation