Inw input (word) – Zilog Z80380 User Manual
Page 99
Advertising

5-65
Z380
™
U
SER
'
S
M
ANUAL
Z
ILOG
DC-8297-03
INW
INPUT (WORD)
INW dst,(C)
dst = R
Operation:
dst(15-0)
←
(C)
The word of data from the selected peripheral is loaded into the destination register. During
the I/O transaction, the contents of the 32-bit BC register are placed on the address bus.
Flags:
S:
Set if the input data is negative; cleared otherwise
Z:
Set if the input data is zero; cleared otherwise
H:
Cleared
P:
Set if the input data has even parity; cleared otherwise
N:
Cleared
C:
Unaffected
Addressing
Execute
Mode
Syntax
Instruction Format
Time
Note
R:
INW R,(C)
11011101 01rrr000
2+i
Field Encodings:
rrr: 000 for BC, 010 for DE, 111 for HL
Advertising