Data Manipulation Instructions; Table 38. Arithmetic And Logical Instructions (8-Bit) - ZiLOG Z8018 Series User Manual

Mpu
Table of Contents

Advertisement

DATA MANIPULATION INSTRUCTIONS

Table 38.
Arithmetic and Logical Instructions (8-bit)
Operation
Name
Mnemonics
Op Code
ADD
ADD A,g
10 000 g
ADD A, (HL)
10 000 110
ADD A, m
11 000 110 S
<m>
ADD A,(IX + d) 11 011 101
10 000 110
<d>
ADD A,(IY + d) 11 111 101
10 000 I10
<d>
ADC
ADC A,g
10 001 g
ADC A,(HL)
10 001 110
ADC A,m
11 001 110 S
<m>
ADC A,(IX + d) 11 011 101
10 001 110
<d>
ADC A,(IY + d) 11 111 101
10 001 110
<d>
Addressing
Immed Ext Ind
Reg RegI Imp Rel
S
D
S
D
D
S
D
S
D
S
D
S
D
D
S
D
S
D
Family MPU User Manual
Bytes States Operation
1
4
Ar + gr→Ar
→Ar
1
6
Ar + (HL)
M
2
6
Ar + m→Ar
→Ar
3
14
Ar + (IX + d)
M
→Ar
3
14
Ar + (IY + d))
M
1
4
Ar + gr + c→Ar
1
6
Ar + (HL)
+ c→Ar
M
2
6
Ar + m + c→Ar
3
14
Ar + (lX + d))
+
M
c→Ar
3
14
Ar + (IY + d))
+
M
c→Ar
UM005004-0918
Z8018x
211
Flags
7
6
4
2
1
0
S Z
H P/V N C
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑
↑ ↑ ↑ V
R ↑

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8018 Series and is the answer not in the manual?

Questions and answers

Sam Sawyer
January 25, 2025

are there a timing diagrams for PUSH and POP instructions?

Table of Contents