z80:Opcodes:EI

From Learn @ Cemetech
Jump to: navigation, search

EI enables the interrupts.

Syntax

   EI

Effects

Flags preserved.

Uses

Can either be set to interrupt mode 1 (OS interrupts) or interrupt mode 2 using IM. Be sure to re-enable interrupt mode 1 before returning to the OS.

T-States

4 t-states

See Also

DI,HALT,IM,RETI,RETN,RST