NEC V850E/RS1 User Manual page 720

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

(2)
Restoration
Restoration from a debug trap is executed with the DBRET instruction.
With the DBRET instruction, the CPU performs the following steps and transfers control to the
address of the restored PC.
<1> The restored PC and PSW are read from DBPC and DBPSW.
<2> Control is transferred to the fetched address of the restored PC and PSW.
Figure 17-31 shows the processing format for restoration from a debug trap.
720
Downloaded from
Elcodis.com
electronic components distributor
Chapter 17 Interrupt/Exception Processing Function
Figure 17-31: Processing Format of Restoration from Debug Trap
PC
PSW
Jump to address of restored PC
User's Manual U16702EE3V2UD00
DBRET instruction
DBPC
DBPSW

Advertisement

Table of Contents
loading

Table of Contents