Exceptions
MPC885 PowerQUICC Family Reference Manual, Rev. 2
6-10
Freescale Semiconductor
•
Whenever bit 0 of the decrementer changes from 0 to 1, a decrementer exception request is
signaled. If multiple decrementer exception requests are received before the first can be reported,
only one exception is reported.
•
If the decrementer is altered by software and if bit 0 is changed from 0 to 1, an exception request
is signaled.
The register settings for the decrementer exception are shown in
Table 6-9
.
When a decrementer exception is taken, instruction execution resumes at offset 0x00900 from the physical
base address indicated by MSR[IP].
6.1.2.9
System Call Exception (0x00C00)
A system call exception occurs when a System Call (sc) instruction is executed. The effective address of
the instruction following the sc instruction is placed into SRR0. MSR bits are saved in SRR1, as shown in
Table 6-10
, and a system call exception is generated.
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 5.2.2.3.1, “Context Synchronization,”
regarding actions
performed by a context-synchronizing operation.
Table 6-9. Register Settings after a Decrementer Exception
Register
Setting Description
SRR0
Set to the effective address of the instruction that the processor would have attempted to execute next if
no exception conditions were present.
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
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...