7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|---|---|---|---|---|---|---|---|
\(HL \longleftarrow HL + ss + Carry\) | ||||||||
ADC HL, dd | ||||||||
1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | ED |
0 | 1 | dd | 1 | 0 | 1 | 0 |
Value | dd |
---|---|
00 | BC |
01 | DE |
10 | HL |
11 | SP |
Flags Affected
Flags |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
s | set if result negative | ||||||||
z | set if result is 0 | ||||||||
h | set if carry from bit 11 | ||||||||
p/v | set if overflow | ||||||||
c | set if carry from bit 15 |
Opcode Matrix
BC | DE | HL | SP | |
---|---|---|---|---|
HL |
ADC HL,BC
ED4A215 |
ADC HL,DE
ED5A215 |
ADC HL,HL
ED6A215 |
ADC HL,SP
ED7A215 |
Instruction
Opcode hexSize bytesCycle count
| Register |