Central Processing Unit
MPC561/MPC563 Reference Manual, Rev. 1.2
3-54
Freescale Semiconductor
When a decrementer exception is taken, instruction execution resumes at offset 0x0900 from the physical
base address indicated by MSR[IP].
3.15.4.10 System Call Exception (0x0C00)
A system call exception occurs when a system call instruction is executed. The effective address of the
instruction following the sc instruction is placed into SRR0. MSR[16:31] are placed into SRR1[16:31],
and SRR1[0:15] are set to undefined values. Then a system call exception is generated.
The system call instruction is context synchronizing. That is, when a system call exception occurs,
instruction dispatch is halted and the following synchronization is performed:
1. The exception mechanism waits for all instructions in execution to complete to a point where they
report all exceptions they will cause.
2. The processor ensures that all instructions in execution complete in the context in which they began
execution.
3. Instructions dispatched after the exception is processed are fetched and executed in the context
established by the exception mechanism.
Register settings are shown in
When a system call exception is taken, instruction execution resumes at offset 0x00C00 from the physical
base address indicated by MSR[IP].
3.15.4.11 Trace Exception (0x0D00)
A trace interrupt occurs if MSR[SE] = 1 and any instruction except rfi is successfully completed or
MSR[BE]= 1 and a branch is completed. Notice that the trace interrupt does not occur after an instruction
that caused an interrupt (for instance, sc). Monitor/debugger software must change the vectors of other
1
If the exception occurs during an instruction fetch in Decompression On mode, the SRR0 register will contain a
compressed address.
Table 3-31. Register Settings following a System Call Exception
Register
Setting Description
Save/Restore Register 0 (SRR0)
1
1
If the exception occurs during a data access in Decompression On mode, the SRR0 register will contain the address
of the Load/Store instruction in compressed format. If the exception occurs during an instruction fetch in
decompression on mode, the SRR0 register will contain an indeterminate value.
All
Set to the effective address of the instruction following the
System Call instruction
Save/Restore Register 1 (SRR1)
[0:15]
Undefined
[16:31]
Loaded from MSR[16:31]
Machine State Register (MSR)
IP
No change
ME
No change
LE
Set to value of ILE bit prior to the exception
DCMPEN
This bit is set according to (BBCMCR[EN_COMP] AND
BBCMCR[EXC_COMP])
Other
Cleared to 0
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...