z80:Opcodes:DI
From Learn @ Cemetech
Revision as of 22:24, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
The 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