English
Language : 

MC68LC040RC25A Datasheet, PDF (232/442 Pages) Freescale Semiconductor, Inc – M68040 Users Manual
Freescale Semiconductor, Inc.
any internal registers, but it does cause the M68040 to assert the reset out (RSTO) signal,
resetting all external devices.
8.3 EXCEPTION PRIORITIES
When several exceptions occur simultaneously, they are processed according to a fixed
priority. Table 8-4 lists the exceptions, grouped by characteristics. Each group has a
priority, from 0–7, with 0 as the highest priority.
Table 8-4. Exception Priority Groups
Group/
Priority
Exception and Relative Priority
0 Reset
1 Data Access Error
(ATC Fault or Bus Error)
2 Floating-Point Pre-Instruction*
3 BKPT #n, CHK, CHK2, Divide by Zero,
FTRAPcc, RTE, TRAP#n, TRAPV
Characteristics
Aborts all processing (instruction or exception) and does not
save old context.
Aborts current instructions; can have pending trace, floating-
point post-instruction, or unimplemented floating-point
instruction exceptions.
Exception processing begins before current floating-point
instruction is executed. Instruction is restarted on return from
exception.
Exception processing is part of instruction execution.
Illegal Instruction, Unimplemented A- and
F-Line, Privilege Violation
Exception processing begins before instruction is executed.
Unimplemented Floating-Point Instruction* Exception processing begins after memory operands are
fetched and before instruction is executed.
4 Floating-Point Post-Instruction*
Only reported for FMOVE to memory. Exception processing
begins when FMOVE instruction and previous exception
processing have completed.
5 Address Error
Reported after all previous instructions and associated
exceptions have completed.
6 Trace
Exception processing begins when current instruction or
previous exception processing has completed.
7 Instruction Access Error
(ATC Fault or Bus Error)
Reported after all previous instructions and associated
exceptions have completed.
8 Interrupt
Exception processing begins when current instruction or
previous exception processing has completed.
* Refer to Section 9 Floating-Point Unit (MC68040 Only) for details concerning floating-point instructions.
The method used to process exceptions in the M68040 is significantly different from that
used in earlier members of the M68000 processor family due to the restart exception
model. In general, when multiple exceptions are pending, the exception with the highest
priority is processed first, and the remaining exceptions are regenerated when the current
instruction restarts. Note that the reset operation clears all other exceptions except in the
following circumstances:
• As soon as the M68040 has completed exception processing for a condition when an
interrupt exception is pending, it begins exception processing for the interrupt
MOTOROLA
M68040 USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
8-19