http://learn.cemetech.net/index.php?title=Z80:Opcodes:DI&feed=atom&action=historyZ80:Opcodes:DI - Revision history2024-03-19T02:57:14ZRevision history for this page on the wikiMediaWiki 1.34.0http://learn.cemetech.net/index.php?title=Z80:Opcodes:DI&diff=299&oldid=prevMaintenance script: Initial automated import2016-02-05T22:24:12Z<p>Initial automated import</p>
<p><b>New page</b></p><div>The DI '''D'''isables the '''I'''nterrupts (both mode 1 and mode 2).<br />
<br />
== Syntax ==<br />
<br />
DI<br />
<br />
== Effects ==<br />
<br />
Flags preserved<br />
<br />
== Uses ==<br />
<br />
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.<br />
<br />
ld iy,flags<br />
<br />
<br />
== T-States ==<br />
4 t-states<br />
<br />
== See Also ==<br />
[[Z80:Opcodes:EI|EI]],[[Z80:Opcodes:HALT|HALT]],[[Z80:Opcodes:IM|IM]],[[Z80:Opcodes:RETI|RETI]],[[Z80:Opcodes:RETN|RETN]],[[Z80:Opcodes:RST|RST]]<br />
<br />
{{lowercase}}<br />
[[Category:Z80 Assembly]]<br />
[[Category:Z80 Heaven]]<br />
[[Category:Z80 Opcodes]]</div>Maintenance script