
TRACING AND DEBUGGING
9-15
9
9.5.2.3
Tracing on Return from Explicit Call
Table 9-7
shows all cases.
For a return from local call (return type 000
2
), tracing is not modified. For a return from system
call (return type 01a, with PC.te equal to “a” before the call), tracing of the return and subsequent
instructions is controlled by “a”, which is restored in the PC.te during execution of the return.
9.5.2.4
Tracing on Return from Implicit Call: Fault Case
When the processor detects several fault conditions on the same instruction (referred to as the
“target”), the non-trace fault is serviced first. Upon return from the non-trace fault handler, the
processor services a trace fault on the target if in supervisor mode before the return and if the trace
enable and trace-fault-pending flags are set in the PC field of the non-trace fault record (at FP-16).
If the processor is in user mode before the return, tracing is not altered. The pending trace on the
target instruction is lost, and the return is traced according to the current PC.te.
Table 9-7. Tracing on Return from Explicit Call
PFP.rt2:0
Execution Mode PC.em
Trace Enable Used for Trace on Return
000
2
user or supervisor
PC.te
01a
2
user
PC.te
01a
2
super
t
2
(from PFP.r[2:0])
Refer to
Table 7-2, “Encoding of Return Status Field,” pg. 7-21)
.
Table 9-8. Tracing on Return from Fault
PFP.rrr
PC.em
Before
Return
PC.te
Before
Return
Target
PC.te
After
Return
Pending Trace on
Target When
Trace on
Return When
001
user
w
w
Pending Trace is
Lost
w & TC.event
001
super
w
(FP-16).te
(FP-16).te &
(FP-16).tfp
Not Traced
Summary of Contents for i960 Jx
Page 1: ...Release Date December 1997 Order Number 272483 002 i960 Jx Microprocessor Developer s Manual ...
Page 24: ......
Page 25: ...1 INTRODUCTION ...
Page 26: ......
Page 35: ...2 DATA TYPES AND MEMORY ADDRESSING MODES ...
Page 36: ......
Page 46: ......
Page 47: ...3 PROGRAMMING ENVIRONMENT ...
Page 48: ......
Page 73: ...4 CACHE AND ON CHIP DATA RAM ...
Page 74: ......
Page 85: ...5 INSTRUCTION SET OVERVIEW ...
Page 86: ......
Page 111: ...6 INSTRUCTION SET REFERENCE ...
Page 112: ......
Page 233: ...7 PROCEDURE CALLS ...
Page 234: ......
Page 256: ......
Page 257: ...8 FAULTS ...
Page 258: ......
Page 291: ...9 TRACING AND DEBUGGING ...
Page 292: ......
Page 309: ...10 TIMERS ...
Page 310: ......
Page 324: ......
Page 325: ...11 INTERRUPTS ...
Page 326: ......
Page 369: ...12 INITIALIZATION AND SYSTEM REQUIREMENTS ...
Page 370: ......
Page 412: ......
Page 413: ...13 MEMORY CONFIGURATION ...
Page 414: ......
Page 429: ...14 EXTERNAL BUS ...
Page 430: ......
Page 468: ......
Page 469: ...15 TEST FEATURES ...
Page 470: ......
Page 493: ...A CONSIDERATIONS FOR WRITING PORTABLE CODE ...
Page 494: ......
Page 502: ......
Page 503: ...B OPCODES AND EXECUTION TIMES ...
Page 504: ......
Page 515: ...C MACHINE LEVEL INSTRUCTION FORMATS ...
Page 516: ......
Page 523: ...D REGISTER AND DATA STRUCTURES ...
Page 524: ......
Page 550: ......
Page 551: ...GLOSSARY ...
Page 552: ......
Page 561: ...INDEX ...
Page 562: ......
Page 578: ......