Operation; Restore; Exception Trap Processing Format - Renesas NU85E Preliminary User's Manual

32-bit microprocessor core
Table of Contents

Advertisement

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.

8.5.3 Restore

Control cannot return from an exception trap. Perform a system reset according to DCRESZ input.
228
CHAPTER 8 INTC
Figure 8-15. Exception Trap Processing Format
Exception trap (ILGOP) is
CPU processing
DBPC
DBPSW ← PSW
PSW.NP ← 1
PSW.EP ← 1
PSW.ID ← 1
PC
Exception processing
Preliminary User's Manual A14874EJ3V0UM
generated
← Restored PC
← 00000060H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nu85ea

Table of Contents