CHAPTER 8 INTC
Preliminary User’s Manual A14874EJ3V0UM
228
8.5.2 Operation
If an exception trap is generated, the CPU performs the following processing and shifts control to the handler
routine.
<1> Save the restored PC in the DBPC.
<2> Save the current PSW in the DBPSW.
<3> Set the NP, EP, and ID bits of the PSW.
<4> Set the handler address (00000060H) for the exception trap in the PC and shift control.
Figure 8-15 shows the processing format of exception trap processing.
Figure 8-15. Exception Trap Processing Format
DBPC
←
Restored PC
DBPSW
←
PSW
PSW.NP
←
1
PSW.EP
←
1
PSW.ID
←
1
PC
←
00000060H
CPU processing
Exception processing
Exception trap (ILGOP) is
generated
8.5.3 Restore
Control cannot return from an exception trap. Perform a system reset according to DCRESZ input.