z80:Opcodes:EI

From Learn @ Cemetech
Revision as of 22:07, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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