NEC PD754244 Manuel D’Utilisation

Page de 306
CHAPTER 11   INSTRUCTION SET
287
User’s Manual  U10676EJ3V0UM
11.4.12  Interrupt control instructions
EI
Function:  IME (IPS.3) 
 1
Sets the interrupt mask enable flag (bit 3 of the interrupt priority select register) to “1” to enable interrupts.
Acknowledging an interrupt is controlled by an interrupt enable flag corresponding to the interrupt.
EI IE
×××
Function:  IE
××× 
 1  
××× = N
5
, N
2-0
Sets a specified interrupt enable flag (IE
×××) to “1” to enable acknowledging the corresponding interrupt (××× =
BT, T0, T1, T2, 0, 2, or EE).
DI
Function:  IME (IPS.3) 
 0
Resets the interrupt mask enable flag (bit 3 of the interrupt priority select register) to “0” to disable all interrupts,
regardless of the contents of the respective interrupt enable flags.
DI IE
×××
Function:  IE
××× 
 1  
××× = N
5
, N
2-0
Resets a specified interrupt enable flag (IE
×××) to “0” to disable acknowledging the corresponding interrupt (×××
= BT, T0, T1, T2, 0, 2, or EE).