z80:Opcodes:IND

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


Reads the (C) port and writes the result to (HL), then decrements HL and decrements B.

Syntax

   IND

Effects

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

Uses

T-States

16 t-states

See Also

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