z80:Opcodes:OTDR

From Learn @ Cemetech
Jump to: navigation, search

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

Syntax

   OTDR

Effects

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

Uses

T-States

B = 0 16
B != 0 21

See Also

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