MOTOROLA
Chapter 7. Exceptions
7-11
Part II. PowerPC Microprocessor Module
The system call exception causes the next instruction to be fetched from offset 0x00C00
from the physical base address indicated by the new setting of MSR[IP]. As with most other
exceptions, this exception is context-synchronizing. Refer to Section 6.2.2.3.1, ÒContext
Synchronization,Ó regarding actions performed by a context-synchronizing operation.
When a system call exception is taken, instruction execution resumes at offset 0x00C00
from the physical base address indicated by MSR[IP].
7.1.2.10 Trace Exception (0x00D00)
A trace exception occurs if MSR[SE]
= 1 and any instruction except rÞ is successfully
completed or if MSR[BE]
= 1 and a branch is completed. Notice that the trace exception
does not occur after an instruction that causes an exception. The monitor/debugger software
must change the vectors of other possible exception addresses to single-step these
instructions. If this is unacceptable, other debug features can be used. See Chapter 37,
ÒSystem Development and Debugging,Ó for more information. Table 7-11 shows register
settings for trace exceptions.
Execution resumes at offset 0x00D00 from the base address indicated by MSR[IP].
Table 7-10. Register Settings after a System Call Exception
Register
Setting Description
SRR0
Set to the effective address of the instruction following the System Call instruction
SRR1
0
Loaded with equivalent bits from the MSR
1Ð4
Cleared
5Ð9
Loaded with equivalent bits from the MSR
10Ð15
Cleared
16Ð31
Loaded with equivalent bits from the MSR
Note that depending on the implementation, reserved bits in the MSR may not be copied to SRR1.
MSR
POW 0
ILE
Ñ
EE
0
PR
0
FP
0
ME Ñ
SE
0
BE
0
IP
Ñ
IR
0
DR
0
RI
0
LE
Set to value of ILE
Table 7-11. Register Settings after a Trace Exception
Register
Setting
SRR0
Set to the EA of the instruction following the executed instruction.
SRR1 1Ð4
0
10Ð15 0
Others Loaded from MSR[16-31]. SRR1[30] is cleared only by loading a zero from MSR[RI].
MSR IP
No
change
ME
No change
LE
Copied from the ILE setting of the interrupted process
Others 0
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......