Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-45
Examples
Examples
1. This command displays all TNS registers in octal:
2. This command displays TNS/R registers in hexadecimal:
Displaying Program Code
You can use the DISPLAY command to format and display object code in the current
program.
-C000OTCE-DISPLAY REGISTER ALL IN OCTAL
R0 %077777 RH P = %003105
R1 %174030 RG E = %000207 (RP=7,CCG,T)
R2 %105260 RF L = %005022
R3 %144402 RE
R4 %107571 RD S = %005034
R5 %011674 RC
R6 %160413 RB SPACE = %000000 UC.0
R7 %062400 RA <--
-C000OTCE-DISPLAY REGISTER TNS/R IN HEXADECIMAL
$PC: %H70421D60 $HI: %H7FFFFC0B $LO: %H74FB5D47 VFP: %H729F2176
$0: %H00000000 $AT: %H70000000 $V0: %H00000000 $V1: %H7FFFF818
$4: $A0: %H7FFFF818 $A1: %H00000003 $A2: %H00000645 $A3: %H74FB5D47
$8: $T0: %H70421D60 $T1: %H70421D44 $T2: %H70400000 $T3: %H70400000
$12: $T4: %H00000002 $T5: %H00000002 $T6: %H00000000 $T7: %H7FFFF819
$16: $S0: %H00007FFF $S1: %HFFFFF818 $S2: %HFFFF8AB0 $S3: %HFFFFC902
$20: $S4: %H0A548F79 $S5: %H000013BC $S6: %HDD7EE10B $S7: %H00006500
$24: $T8: %H70000000 $T9: %H00000080 $K0: %HA713A713 $K1: %HA713A713
$28: $GP: %H70401000 $SP: %H00001438 $FP: %H00001424 $RA: %H724201D4
Note. You cannot display the pseudocode in a PATHWAY requester program.
DISPLAY item [ , item ]... [ formatting-clause ]
item:
display-code [ FOR for-spec ]
display-code: one of
scope-path
[ scope-path ] code-reference
code-reference: one of
scope-unit [ FROM source-file ]
label [ FROM source-file ]
#line-number [ (source-file)