z80:Opcodes:DI
From Learn @ Cemetech
Jump to navigationJump to searchThe DI Disables the Interrupts (both mode 1 and mode 2).
Contents
Syntax
DI
Effects
Flags preserved
Uses
Useful if you want to use the iy register or shadow registers, which are modified by the OS's interrupts. Be sure to reset iy to flags before returning to the OS.
ld iy,flags
T-States
4 t-states
See Also