Adds B and the carry flag to A.
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'Variants
Every form of adc the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| adc a,b | Adds B and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,c | Adds C and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,d | Adds D and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,e | Adds E and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,h | Adds H and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,l | Adds L and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,(hl) | Adds (HL) and the carry flag to A. | CN=0P/V=VHZS | 1 | 7 |
| adc a,a | Adds A and the carry flag to A. | CN=0P/V=VHZS | 1 | 4 |
| adc a,nn | Adds | CN=0P/V=VHZS | 2 | 7 |
| adc a,ixh undocumented | Adds IXH and the carry flag to A. | CN=0P/V=VHZS | 2 | 8 |
| adc a,ixl undocumented | Adds IXL and the carry flag to A. | CN=0P/V=VHZS | 2 | 8 |
| adc a,(ix+dd) | Adds the value pointed to by IX plus | CN=0P/V=VHZS | 3 | 19 |
| adc hl,bc | Adds BC and the carry flag to HL. | CN=0P/V=VHZS | 2 | 15 |
| adc hl,de | Adds DE and the carry flag to HL. | CN=0P/V=VHZS | 2 | 15 |
| adc hl,hl | Adds HL and the carry flag to HL. | CN=0P/V=VHZS | 2 | 15 |
| adc hl,sp | Adds SP and the carry flag to HL. | CN=0P/V=VHZS | 2 | 15 |
| adc a,iyh undocumented | Adds IYH and the carry flag to A. | CN=0P/V=VHZS | 2 | 8 |
| adc a,iyl undocumented | Adds IYL and the carry flag to A. | CN=0P/V=VHZS | 2 | 8 |
| adc a,(iy+dd) | Adds the value pointed to by IY plus | CN=0P/V=VHZS | 3 | 19 |