CHAPTER 9. INSTRUCTION SET

9.4.11 Interrupt Control Instructions

EI

Function: IME 1

Sets the interrupt master enable flag (1), and enables interrupts. Whether or not interrupts are accepted is determined by each interrupt enable flag.

EI IEXXX

Function: IE××× ← 1; ××× = N2 to N0

Sets the interrupt enable flag (IE×××) (1), and enables the interrupt. (××× = BT, CSI, 0, 2)

DI

Function: IME 0

Resets the interrupt master enable flag and disables interrupts regardless of the contents of each interrupt enable flag.

DI IEXXX

Function: IE××× ← 0; ××× = N2 to N0

Resets the interrupt enable flag (IE×××) (0), and disables the interrupt. (××× = BT, CSI, 0, 2)

174

Page 185
Image 185
NEC PD75402A, PD75P402 user manual Interrupt Control Instructions, 174