Operation - NEC V850ES/KE1+ User Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 17 INTERRUPT/EXCEPTION PROCESSING FUNCTION

17.2.1 Operation

Upon generation of a non-maskable interrupt request signal, the CPU performs the following processing and
transfers control to a handler routine.
<1> Saves the restored PC to FEPC.
<2> Saves the current PSW to FEPSW.
<3> Writes the exception code (0010H, 0020H, 0030H) to the higher halfword (FECC) of ECR.
<4> Sets the PSW.NP and PSW.ID bits to 1 and clears the PSW.EP bit to 0.
<5> Loads the handler address (00000010H, 00000020H, 00000030H) of the non-maskable interrupt to the PC
and transfers control.
Figure 17-2 shows the servicing flow for non-maskable interrupts.
INTC acknowledged
CPU processing
Figure 17-2. Non-Maskable Interrupt Servicing
NMI input
Non-maskable interrupt request
PSW. NP
0
FEPC
Restored PC
FEPSW
PSW
ECR. FECC
Exception code
PSW. NP
1
PSW. EP
0
PSW. ID
1
PC
Handler address
Interrupt servicing
User's Manual U16896EJ2V0UD
1
Interrupt request held pending
537

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents