NEC V850E/Dx3 Preliminary User's Manual page 223

32-bit single-chip microcontroller
Table of Contents

Advertisement

Interrupt Controller (INTC)
Downloaded from
Elcodis.com
electronic components distributor
Figure 5-12
Exception trap processing
(2)
Restore
Recovery from an exception 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-13 illustrates the restore processing from an exception trap.
Figure 5-13
Restore processing from exception trap
Preliminary User's Manual U17566EE1V2UM00
Exception trap (ILGOP) occurs
DBPC
DBPSW
PSW.NP
PSW.EP
CPU processing
PSW.ID
PC
Exception processing
DBRET instruction
PC
DBPC
PSW
DBPSW
Jump to address of restored PC
Chapter 5
restored PC
PSW
1
1
1
00000060H
223

Advertisement

Table of Contents
loading

Table of Contents