beautypg.com

Zilog Z80380 User Manual

Page 98

background image

5-64

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

IN
INPUT (BYTE)

IN dst,(C)

dst = R

Operation:

dst

(C)

The byte 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:

IN R,(C)

11101101 01-r-000

2+i

Field Encodings:

r:

per convention