ADC 16 bit add with Carry

Addition with carry
76543210
 
\(HL \longleftarrow HL + ss + Carry\)
ADC HL, dd
11101101ED
01dd1010
Registers
Valuedd
00BC
01DE
10HL
11SP
Flags Affected
Flags
sz-h-p/v-c
sset if result negative
zset if result is 0
hset if carry from bit 11
p/vset if overflow
cset if carry from bit 15
Opcode Matrix
BCDEHLSP
HL
ADC HL,BC
ED4A215
ADC HL,DE
ED5A215
ADC HL,HL
ED6A215
ADC HL,SP
ED7A215
Opcode Matrix Legend
Instruction Opcode hexSize bytesCycle count
 Register

Last modified November 16, 2021: Split adc (e70f507)