HP 3000 Manuals

DISPLAY OR MODIFY REGISTERS IN PRIVILEGED MODE [ MPE Debug/Stack Dump Reference Manual ] MPE/iX 5.0 Documentation


MPE Debug/Stack Dump Reference Manual

DISPLAY OR MODIFY REGISTERS IN PRIVILEGED MODE 

The same commands, DR and MR, are used to display or modify registers in
privileged mode.  The difference is that more registers are displayed in
privileged mode and all ST bits, rather than just bits 2 through 7, can
be modified.

DISPLAY REGISTERS 

To illustrate, enter the command DR:

     ?DR 
     ST=60301,X=0,DL=177602,Q=4207,S=4207,Z=16013,P=0
     1=0,2=0,3=0,4=0
     PCB=27,CST=301,LCST=0,STAK=214
     \            /        \      /
      -----------           -----
             \               /
             privileged mode only

where:

PCB              is the index to the process control block.

CST              is the index to your absolute code segment.

STAK             is the index to your stack segment.

If operating in absolute DB mode, two additional registers are displayed:

DX               absolute address of DB.

EA               current bank number.

If you set breakpoints in the system library (BS command), the logical
code segment number (LCST) is preceded by the letter S.

If you are using extra data segments, one more register is displayed:

DST              index to current extra data segment.

MODIFY REGISTERS 

If you enter the MR command, you will be prompted to change the same
registers as if you entered the command in non-privileged mode.  The only
difference is that you can change bits 0 and 1, and bits 8 through 15 of
the ST register.



MPE/iX 5.0 Documentation