beautypg.com

12 interrupt control instructions, Ei ie, Di ie – NEC PD754144 User Manual

Page 287

background image

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).

This manual is related to the following products: