188
Chapter 7
Interrupt/Exception Processing Function
Preliminary User’s Manual U14913EE1V0UM00
7.2.1 Operation
If a non-maskable interrupt is generated, the CPU performs the following processing, and transfers con-
trol to the handler routine:
(1) Saves the restored PC to FEPC.
(2) Saves the current PSW to FEPSW.
(3) Writes exception code 0010H to the higher halfword (FECC) of ECR.
(4) Sets the NP and ID bits of the PSW and clears the EP bit.
(5) Sets the handler address (00000010H) corresponding to the non-maskable interrupt to the PC, and
transfers control.
The processing configuration of a non-maskable interrupt is shown in Figure 7-1.
Figure 7-1: Processing Configuration of Non-Maskable Interrupt
Non-maskable interrupt
request
FEPC
←
Restored PC
FEPSW
←
PSW
ECR.FECC
←
Exception
code
PSW.NP
←
1
PSW.EP
←
0
PSW.ID
←
1
PC
←
NMI-Handler
address
0
PSW.NP
INTC
acknowledgement
CPU processing
1
DCNMIn input
Interrupt service
Interrupt request pending
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...