Add A, (Hl) - IXYS zilog Z80 User Manual

Table of Contents

Advertisement

Z80 CPU
User Manual
148

ADD A, (HL)

Z80 Instruction Set
Operation
A ← A + (HL)
Op Code
ADD
Operands
A, (HL)
1
0
0
0
0
Description
The byte at the memory address specified by the contents of the HL register pair is added
to the contents of the Accumulator, and the result is stored in the Accumulator.
M Cycles
T States
2
7 (4, 3)
Condition Bits Affected
S is set if result is negative; otherwise, it is reset.
Z is set if result is 0; otherwise, it is reset.
H is set if carry from bit 3; otherwise, it is reset.
P/V is set if overflow; otherwise, it is reset.
N is reset.
C is set if carry from bit 7; otherwise, it is reset.
Example
If the Accumulator contains
contains byte
2323h
08h
Accumulator contains
A8h
86
1
1
0
4 MHz E.T.
1.75
, register pair HL contains
A0h
, then upon the execution of an ADD A, (HL) instruction, the
.
, and memory location
2323h
UM008011-0816

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the zilog Z80 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF