Z
ILOG
ADC HL,src
Operation:
HL(15-0)
The source operand together with the Carry flag is added to the HL register and the sum is
stored in the HL register. The contents of the source are unaffected. Two's complement
addition is performed.
S:
Set if the result is negative; cleared otherwise
Flags:
Z:
Set if the result is zero; cleared otherwise
H:
Set if there is a carry from bit 11 of the result; cleared otherwise
V:
Set if arithmetic overflow occurs, that is, if both operands are of the same sign and the
result is of the opposite sign; cleared otherwise
N:
Cleared
C:
Set if there is a carry from the most significant bit of the result; cleared otherwise
Addressing
Mode
Syntax
ADC HL,R
R:
Field Encodings:
rr: 00 for BC, 01 for DE, 10 for HL, 11 for SP
DC-8297-03
dst = HL
src = BC, DE, HL, SP
← HL(15-0) + src(15-0) + C
Instruction Format
11101101 01rr1010
ADD WITH CARRY (WORD)
Execute
Time
Note
2
™
Z380
U
'
M
SER
S
ANUAL
ADC
5-21
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?