z80:Opcodes:OUTD

From Learn @ Cemetech
Jump to: navigation, 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