z80:Opcodes:OTIR

From Learn @ Cemetech
Jump to navigationJump to search

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

Syntax

   OTIR

Effects

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

Uses

T-States

B = 0 16
B != 0 21

See Also

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