Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-44
Usage Considerations
these clauses, see Using the FORMAT Clause on page 6-67, Using the IN Clause
on page 6-70, and Using the PIC Clause on page 6-73.
Usage Considerations
When debugging an emulated TNS program on a TNS/E system, the DISPLAY
command cannot display TNS/E registers. You must use either Visual Inspect or
Native Inspect to display TNS/E registers.
When you use the TYPE clause with the DISPLAY REGISTER command:
For TNS registers, display-type values must be 2-byte.
For TNS/R registers, display-type values must be 2-byte or 4-byte.
When listing all TNS registers, the register that is at the top of the register stack is
marked with “<--”.
If an accelerated program is not executing TNS/R instructions or the TNS/R or
BOTH clause is used when debugging a program that has not been processed by
the Axcel accelerator, this error message is displayed:
The virtual frame pointer (VFP) for native stack frames is displayed. In addition,
the contents of the registers will be relative to the current stack frame. In other
words, as the current scope is changed to an active stack frame, the register
values will be what they were in that stack frame. If the current scope is changed
to a non-active stack frame, the register values will be what are current in the
program. Note that not all registers are saved in every procedure. This may result
in some registers having values left over from the preceding stack frame.
Output
This example output illustrates all registers.
** Inspect error 371 ** Program is not executing TNS/R instructions
-PROGRAM-DISPLAY REGISTER ALL
$PC: 1879048880 $HI: 926 $LO: 3976303904 VFP: 1342177056
$0 0 $AT: 134217732 $VO: 0 $V1: 1
$4: $A0 0 $A1 0 $A2 134230564 $A3: 92
$8: $T0 134230560 $T1 4 $T2 66 $T3 1879082720
$12: $T4 65043 $T5 262144 $T6 0 $T7 0
$16: $S0 4294967295 $S1 4294967295 $S2 4294967295 $S3 4294967295
$20: $S4 4294967295 $S5 4294967295 $S6 4294967295 $S7 4294967295
$24: $T8 134230656 $T9 2 $K0 2803083027 $K1 2803083027
$28: $GP 134254384 $SP 1342177016 $FP 4294967295 $RA 1879082720