MPC555
/
MPC556
CENTRAL PROCESSING UNIT
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
3-34
For a memory access instruction, if the sum of the effective address and the operand
length exceeds the maximum effective address, the storage operand is considered to
wrap around from the maximum effective address to effective address 0.
Effective address computations for both data and instruction accesses use 32-bit un-
signed binary arithmetic. A carry from bit 0 is ignored in 32-bit implementations.
3.11 Exception Model
The PowerPC exception mechanism allows the processor to change to supervisor
state as a result of external signals, errors, or unusual conditions arising in the execu-
tion of instructions. When exceptions occur, information about the state of the proces-
sor is saved to certain registers, and the processor begins execution at an address
(exception vector) predetermined for each exception. Processing of exceptions occurs
in supervisor mode.
Although multiple exception conditions can map to a single exception vector, a more
specific condition may be determined by examining a register associated with the ex-
ception — for example, the DAE/source instruction service register (DSISR). Addition-
ally, some exception conditions can be explicitly enabled or disabled by software.
3.11.1 Exception Classes
The MPC555 / MPC556 exception classes are shown in
3.11.2 Ordered Exceptions
In the MPC555 / MPC556, all exceptions except for reset, debug port non-maskable
interrupts, and machine check exceptions are ordered. Ordered exceptions satisfy the
following criteria:
• Only one exception is reported at a time. If, for example, a single instruction en-
counters multiple exception conditions, those conditions are encountered se-
quentially. After the exception handler handles an exception, instruction
execution continues until the next exception condition is encountered.
• When the exception is taken, no program state is lost.
3.11.3 Unordered Exceptions
Unordered exceptions may be reported at any time and are not guaranteed to pre-
serve program state information. The processor can never recover from a reset excep-
tion. It can recover from other unordered exceptions in most cases. However, if a
Table 3-20 MPC555 /
MPC556 Exception Classes
Class
Exception Type
Asynchronous, unordered
Machine check
System reset
Asynchronous, ordered
External interrupt
Decrementer
Synchronous (ordered, precise)
Instruction-caused exceptions
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..