z80:Opcodes:INDR

From Learn @ Cemetech
Jump to navigationJump to search

Reads the (C) port and writes the result to (HL). HL and B are decremented. Repeats until B = 0.

Syntax

   INDR

Effects

Z is set, carry is preserved, N is set, S,H, and P/V are undefined.

Uses

T-States

B = 0 16
B != 0 21

See Also

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