beautypg.com

Zilog Z80380 User Manual

Page 48

background image

5-14

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

5.5.9 External Input/Output Instruction Group

(Continued)

Table 5-14. External I/O Group Instructions.

Instruction Name

Format

Input

IN dst,(C)

dst=A, B, C, D, E, H or L

Input Accumulator

IN A,(n)

Input to Word-Wide Register

INW dst,(C)

dst=BC, DE or HL

Input Byte from Absolute Address

INAW A,(nn)

Input Word from Absolute Address

INAW HL,(nn)

Input and Decrement (Byte)

IND

Input and Decrement (Word)

INDW

Input, Decrement, and Repeat (Byte)

INDR

Input, Decrement, and Repeat (Word)

INDRW

Input and Increment (Byte)

INI

Input and Increment (Word)

INIW

Input, Increment, and Repeat (Byte)

INIR

Input, Increment, and Repeat (Word)

INIRW

Output

OUT (C),src

src = A, B, C, D, E, H, L, or n

Output Accumulator

OUT (n),A

Output from Word-Wide Register

OUTW (C), src

src = BC, DE, HL, or nn

Output Byte from Absolute Address

OUTAW (nn),A

Output Word from Absolute Address

OUTAW (nn),HL

Output and Decrement (Byte)

OUTD

Output and Decrement (Word)

OUTDW

Output, Decrement, and Repeat (Byte)

OTDR

Output, Decrement, and Repeat (Word)

OTDRW

Output and Increment (Byte)

OUTI

Output and Increment (Word)

OTIW

Output, Increment, and Repeat (Byte)

OTIR

Output, Increment, and Repeat (Word)

OTIRW