z80:Opcodes:OUTD

From Learn @ Cemetech
Revision as of 22:00, 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

Writes the value from (HL) to the (C) port, then decrements B and HL.

Syntax

   OUTD

Effects

C is preserved, N is set, H, S, and P/V are undefined. Z is set only if B becomes zero after decrement, otherwise it is reset.

Uses

T-States

16 t-states

See Also

IN,IND,INDR,INI,INIR,OUT,OTDR,OUTI,OTIR