beautypg.com

Interrupt control instructions, Ei iexxx, Di iexxx – NEC PD75402A User Manual

Page 185

background image

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)

This manual is related to the following products: