Table 4-6. Exception Grouping And Priority - Motorola MC68306 User Manual

Integrated ec000 processor
Table of Contents

Advertisement

Group
0
Reset, Address
Error, and Bus
Error
1
Trace, Interrupt,
Illegal, and
Privilege
2
TRAP, TRAPV,
CHK, and DIV
The priority relationship between two exceptions determines which is taken, or taken first,
if the conditions for both arise simultaneously. Therefore, if a bus error occurs during a
TRAP instruction, the bus error takes precedence, and the TRAP instruction processing is
aborted. In another example, if an interrupt request occurs during the execution of an
instruction while the T-bit in the status register (SR) is asserted, the trace exception has
priority and is processed first. Before instruction execution resumes, however, the interrupt
exception is also processed, and instruction processing finally commences in the interrupt
handler routine. As a general rule, the lower the priority of an exception, the sooner the
handler routine for that exception executes. This rule does not apply to the reset
exception; its handler is executed first even though it has the highest priority, because the
reset operation clears all other exceptions.
4-22

Table 4-6. Exception Grouping and Priority

Exception
Exception processing begins within two clock cycles.
Exception processing begins before the next instruction.
Exception processing is started by normal instruction execution.
MC68306 USER'S MANUAL
Processing
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents