Exceptions
MPC885 PowerQUICC Family Reference Manual, Rev. 2
6-12
Freescale Semiconductor
6.1.3
Implementation-Specific Exceptions
The following sections describe the MPC885’s implementation-specific exceptions.
6.1.3.1
Software Emulation Exception (0x01000)
A software emulation exception occurs as a result of one of the following conditions:
•
When executing any unimplemented instruction, including all illegal and unimplemented optional
and floating-point instructions.
•
When executing a mtspr or mfspr that specifies an on-core unimplemented register, regardless of
SPR[0].
•
When executing a mtspr or mfspr that specifies an off-core unimplemented register and SPR[0]
= 0 or MSR[PR]
= 0 (no program exception condition).
In addition,
Table 6-12
shows the following set of registers:
Execution resumes at offset 0x01000 from the base address indicated by MSR[IP].
6.1.3.2
Instruction TLB Miss Exception (0x01100)
This type of exception occurs if MSR[IR]
= 1 and an attempt is made to fetch an instruction from a page
whose effective page number cannot be translated by TLB. As shown in
Table 6-13
, the following registers
are set:
Table 6-12. Register Settings after a Software Emulation Exception
Register
Setting
SRR0
Set to the EA of the instruction that caused the exception.
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
Other
0
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 ...