EI

Operation

IFF <- 1

Mnemonic

EI

Operands

None

b7b6b5b4b3b2b1b0
1 1 1 1 1 0 1 1$FB

Description

The enable interrupt instruction sets both interrupt enable flip flops (IFFI and IFF2) to a logic 1, allowing recognition of any maskable interrupt.

NOTE: During the execution of this instruction and the following instruction, maskable interrupts are disabled.

Condition Bits Affected

None.

Example

When the CPU executes an

	EI

the maskable interrupt is enabled.