beautypg.com

Cpu control group, Table 18, Bit arithmetic and logic – Zilog Z08470 User Manual

Page 73

background image

UM008007-0715

CPU Control Group

Z80 CPU

User Manual

61

Descriptions of the

Input and Output Group

instructions begin on page 291.

CPU Control Group

Table 19 shows the six general-purpose CPU control instructions. The HALT instruction
suspends CPU operation until a subsequent interrupt is received, while the DI and EI are
used to lock out and enable interrupts. The three interrupt mode commands set the CPU to
any of the three available interrupt response modes; each of these is described in the next
paragraph. The NOP instruction has no function.

Table 18. 8-Bit Arithmetic and Logic

Source

Register Register

Indirect

A

B

C

D

E

H

L

(HL)

11OUT

Immediate

(n)

D3

n

Register

Indirect

(c)

ED

79

ED

41

ED

49

ED

51

ED

59

ED

61

ED

69

11OUT: output
inc HL, dec B

ED

A3

Block
Output
Command

11OUT: output
dec B, repeat if B

≠0

ED

B3

11OUT: output
dec HL and B

ED
AB

11OUTDR: output, dec
HL and B, repeat if
B

≠0

ED
BB

Port
Destination
Address

Note:

This manual is related to the following products: