beautypg.com

Inaw input direct from port address (word) – Zilog Z80380 User Manual

Page 103

background image

5-69

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

INAW

INPUT DIRECT FROM PORT ADDRESS (WORD)

INAW HL,(nn)

Operation:

HL(15-0)

(nn)

The word of data from the selected peripheral is loaded into the HL register. During the
I/O transaction, the peripheral address from the instruction is placed on the address bus.
Any bytes of address not specified in the instruction are driven on the address lines as all
zeros.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

INAW HL,(nn)

11111101 11011011 -n(low)- -n(high)

3+i

I