Inspect Manual
Using Inspect on a TNS/R System
Inspect Manual—429164-006
15-13
Save Files
Save Files
TNS/R register values are stored in save files created for accelerated and native
programs.
TNS/R Machine-Level Commands
Inspect provides minimal support for machine-level debugging of native and
accelerated programs. The following subsections briefly describe the commands
Inspect supports. For more information, see Section 6, High-Level Inspect Commands.
DISPLAY REGISTER
You can use the DISPLAY REGISTER command to format and display registers in the
current program. The DISPLAY REGISTER command also allows you to display the
values of TNS/R machine registers.
ICODE
The ICODE command displays instruction mnemonics starting at the specified code
address. For accelerated programs, this command can be used to list TNS
instructions, TNS/R instructions, or a combination of both.
For accelerated programs, it might be easier to understand the TNS/R instruction
sequence by also looking at the TNS instruction sequence that it corresponds to. This
can be done using the BOTH option of the ICODE command.
-PMON-DISPLAY REGISTER $PC IN H
REGISTER $PC = %H70420250
-PMON-DISPLAY REGISTER TNSR IN H
$PC: %H70420250 $HI: %H00000000 $LO: %H00000000
$0: %H00000000 $AT: %H0001FFFF $V0: %H00000002 $V1: %H0008EC03
$4: $A0: %H000013F4 $A1: %H700000E0 $A2: %H00000000 $A3: %H00000001
$8: $T0: %H0001019A $T1: %H00000000 $T2: %H00000001 $T3: %H00000000
$12: $T4: %H0000095E $T5: %H0000822D $T6: %H00000000 $T7: %H00010000
$16: $S0: %H0000012F $S1: %H000013E6 $S2: %H000080CD $S3: %H00000C08
$20: $S4: %H0008003A $S5: %H00000006 $S6: %H00000003 $S7: %HFFFF8061
$24: $T8: %H70000000 $T9: %H00000080 $K0: %HA713A713 $K1: %HA713A713
$28: $GP: %H70401000 $SP: %H00001406 $FP: %H000013AA $RA: %H704201EC
Note. It is recommended that you display the value of TNS/R registers in hexadecimal