![NEC V850/SB1 User Manual Download Page 179](http://html.mh-extra.com/html/nec/v850-sb1/v850-sb1_user-manual_249280179.webp)
CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U13850EJ6V0UD
179
Figure 5-14. Pipeline Flow and Interrupt Request Signal Generation Timing
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EI
NOP
NOP
NOP
NOP
NOP
NOP
NOP
DI
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
IF
ID
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EX
MEM
WB
EI
NOP
NOP
NOP
NOP
NOP
NOP
DI
(a) When DI instruction is executed at eighth clock after EI instruction execution
(interrupt request is acknowledged)
(b) When DI instruction is executed at seventh clock after EI instruction execution
(interrupt request is not acknowledged)
ei signal
intrq signal
ei signal
intrq signal
intrq signal is generated
intrq signal is not generated
5.9
Interrupt Control Register Bit Manipulation Instructions During DMA Transfer
To manipulate the bits of the interrupt control register (xxICn) in the EI state when using the DMA function,
execute the DI instruction before manipulation and EI instruction after manipulation. Alternatively, clear (0) the xxIF
bit at the start of the interrupt servicing routine.
When not using the DMA function, these manipulations are not necessary.
Remark
xx: Peripheral unit identification name (see
Table 5-2
)
N: Peripheral unit number (see
Table 5-2
)