7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
\(A \longleftarrow A + (HL)\) | ||||||||
ADD A, (HL) | ||||||||
1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 86 |
\(A \longleftarrow A + (IX+d)\) | ||||||||
ADD A, (IX+d) | ||||||||
1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | DD |
1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 86 |
d | ||||||||
\(A \longleftarrow A + (IY+d)\) | ||||||||
ADD A, (IY+d) | ||||||||
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | FD |
1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 86 |
d |
Flags Affected
Flags |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
s | set if result negative | ||||||||
z | set if result is 0 | ||||||||
h | set if carry from bit 3 | ||||||||
p/v | set if overflow | ||||||||
c | set if carry from bit 7 |
Opcode Matrix
(HL) | (IX+d) | (IY+d) | |
---|---|---|---|
A |
ADD A,(HL)
8617 |
ADD A,(IX+d)
DD86nn319 |
ADD A,(IY+d)
FD86nn319 |
Instruction
Opcode hexSize bytesCycle count
| Memory |