/opcodes/ei

Control Flow // EI (Enable Interrupts)

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.

Example

When the CPU executes an EI RETI instruction, the maskable interrupt is enabled then upon the execution of an the RETI instruction.

Opcodes