174
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;
×××
= N
2
to N
0
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;
×××
= N
2
to N
0
Resets the interrupt enable flag (IE
×××
) (0), and disables the interrupt. (
×××
= BT, CSI, 0, 2)