225
Interrupt Controller (INTC)
Chapter 5
Preliminary User’s Manual U17566EE1V2UM00
(2)
Restore
Recovery from a debug trap is carried out by the DBRET instruction. By
executing the DBRET instruction, the CPU carries out the following processing
and controls the address of the restored PC.
(1) Loads the restored PC and PSW from DBPC and DBPSW.
(2) Transfers control to the address indicated by the restored PC and PSW.
Figure 5-15
illustrates the restore processing from a debug trap.
Figure 5-15
Restore processing from debug trap
5.7 Multiple Interrupt Processing Control
Multiple interrupt processing control is a process by which an interrupt request
that is currently being processed can be interrupted during processing if there
is an interrupt request with a higher priority level, and the higher priority
interrupt request is received and processed first.
If there is an interrupt request with a lower priority level than the interrupt
request currently being processed, that interrupt request is held pending.
Maskable interrupt multiple processing control is executed when an interrupt
has an enable status (ID = 0). Thus, if multiple interrupts are executed, it is
necessary to have an interrupt enable status (ID = 0) even for an interrupt
processing routine.
If a maskable interrupt enable or a software exception is generated in a
maskable interrupt or software exception service program, it is necessary to
save EIPC and EIPSW.
This is accomplished by the following procedure.
DBRET instruction
PC
PSW
DBPC
DBPSW
Jump to address of restored PC
electronic components distributor