Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-101
Examples
6. This command lists the correspondence between TNS instructions and TNS/R
instructions starting at TNS address %75 and extending for 11 TNS instructions.
7. This example illustrates the listing of native TNS/R instructions. TNS/R instructions
from a previous source line are annotated with a “-” and TNS/R instructions from
proceeding lines are annotated with a “+”. Lines containing TNS/R instructions also
contain the source file line number that the instruction is for.
-PTALIN-ICODE %75 FOR 11 BOTH
%000100: > LDI +000 %h70420230: LI s0,1
%000101: LDI +002 %h70420234: LI s2,2
%000102: LDD L+003 %h70420238: LWL s3,6(fp)
%000103: PUSH 744 %h7042023C: LWR s3,9(fp)
%000104: PCAL PROC1 %h70420040: ADDIU sp,sp,10
%h70420044: SH s0,-8(sp)
%h70420248: SH $0,-6(sp)
%h7042024C: SH s2,-4(sp)
%h70420250: SWL s3,-2(sp)
%h70420254: SWR s3,1(sp)
%h70420258: JAL PROC1
%000105: @ LDI +001 %h70420260: LI s01
%000106: LDI +000 %h70420264: LI s2,2
%000107: LDI +002 %h70420268: LWL s3,6(fp)
%000110: LDD L+003 %h7042026C: LWR s3,9(fp)
%000111: PUSH 744 %h70420270: ADDIU sp,sp,10
%000112: PCAL PROC2 %h70420274: SH s0,-8(sp)
%h70420278: SH $0,-6(sp)
%h7042027C: SH s2,-4(sp)
%h70420280: SWL s3,-2(sp)
%h70420284: SWR s3,1(sp)
%h70420288: JAL PROC2
-PROGRAM-ICODE AT #PROC FOR 3 STATEMENTS
#10
10.000 %h700002B0: addiu $sp,$sp, -32
10.000 %h700002B4: sw $4,32($sp)
10.000 %h700002B8: sw $5,36($sp)
#17
17.000 %h700002BC: lw $15,36($sp)
17.000 %h700002C0: lw $14,32($sp)
- 10.000 %h700002B4: sw $6,40($sp)
17.000 %h700002C8: lw $25,40($sp)
- 10.000 %h700002CC: sw $7,44($sp)
17.000 %h700002D0: lw $9,44($sp)
17.000 %h700002D4: add $24,$14,$15
+ 18.000 %h700002D8: sw $11,$48($sp)
17.000 %h700002DC: add $8,$24,$25
- 10.000 %h700002E0: sw $31,28$sp)
17.000 %h700002E4: add $10,$8,$9
17.000 %h700002E8: lw $10,16($gp)
#18
18.000 %h700002EC: move $5,$15
18.000 %h700002F0: move $4,$14
18.000 %h700002F4: move $6,$15
18.000 %h700002F8: move $7,$9
18.000 %h700002FC: jal 0x70000290
18.000 %h70000300: sw $11,$16($sp)
-PROGRAM-