Zilog Z08470 User Manual
Page 321
Advertising

UM008007-0715
Z80 Instruction Description
Z80 CPU
User Manual
309
If B = 0:
Condition Bits Affected
S is unknown.
Z is set.
H is unknown.
P/V is unknown.
N is set.
C is not affected.
Example
Register C contains
07h
, Register B contains
03h
, the HL register pair contains
1000h
,
and memory locations contain the following data.
Upon the execution of an OTIR instruction, the HL register pair contains
1003h
, Register
B contains a 0, and a group of bytes is written to the peripheral device mapped to I/O port
address
07h
in the following sequence:
M Cycles
T States
4 MHz E.T.
4
16 (4, 5, 3, 4)
4.00
1000h contains
51h
1001h contains
A9h
1002h contains
03h
51h
A9h
03h
Advertising