adc

Operands

adc r,r' | adc r | adc r,(rr) | adc (rr) | adc r,nn | adc nn | adc r,(ii+dd) | adc (ii+dd) | adc rr,rr'

Adds B and the carry flag to A.

Loading...

Variants

Every form of adc the assembler accepts. The cycles column counts clock cycles, written as taken/not taken for the conditional forms.

InstructionDescriptionFlagsBytesCycles
adc a,b

Adds B and the carry flag to A.

CN=0P/V=VHZS14
adc a,c

Adds C and the carry flag to A.

CN=0P/V=VHZS14
adc a,d

Adds D and the carry flag to A.

CN=0P/V=VHZS14
adc a,e

Adds E and the carry flag to A.

CN=0P/V=VHZS14
adc a,h

Adds H and the carry flag to A.

CN=0P/V=VHZS14
adc a,l

Adds L and the carry flag to A.

CN=0P/V=VHZS14
adc a,(hl)

Adds (HL) and the carry flag to A.

CN=0P/V=VHZS17
adc a,a

Adds A and the carry flag to A.

CN=0P/V=VHZS14
adc a,nn

Adds nn and the carry flag to A.

CN=0P/V=VHZS27
adc a,ixh undocumented

Adds IXH and the carry flag to A.

CN=0P/V=VHZS28
adc a,ixl undocumented

Adds IXL and the carry flag to A.

CN=0P/V=VHZS28
adc a,(ix+dd)

Adds the value pointed to by IX plus dd and the carry flag to A.

CN=0P/V=VHZS319
adc hl,bc

Adds BC and the carry flag to HL.

CN=0P/V=VHZS215
adc hl,de

Adds DE and the carry flag to HL.

CN=0P/V=VHZS215
adc hl,hl

Adds HL and the carry flag to HL.

CN=0P/V=VHZS215
adc hl,sp

Adds SP and the carry flag to HL.

CN=0P/V=VHZS215
adc a,iyh undocumented

Adds IYH and the carry flag to A.

CN=0P/V=VHZS28
adc a,iyl undocumented

Adds IYL and the carry flag to A.

CN=0P/V=VHZS28
adc a,(iy+dd)

Adds the value pointed to by IY plus dd and the carry flag to A.

CN=0P/V=VHZS319