 |
8051 Instruction Set Manual |
 |
|
|
|
|
ADDC
The ADDC instruction adds a byte value and the value of the
carry flag to the accumulator. The results of the addition are stored
back in the accumulator. Several of the flag registers are
affected.
See Also: ADD, SUBB
| Bytes |
2 |
| Cycles |
1 |
|
Encoding |
|
| Operation |
A = A + C + immediate
|
|
Example |
ADDC A, #23h
|
| Bytes |
1 |
| Cycles |
1 |
|
Encoding |
|
| Operation |
A = A + C + (Ri)
|
|
Example |
ADDC A, @R0
|
| Bytes |
2 |
| Cycles |
1 |
|
Encoding |
|
| Operation |
A = A + C + (direct)
|
|
Example |
ADDC A, 30h
|
| Bytes |
1 |
| Cycles |
1 |
|
Encoding |
|
| Operation |
A = A + C + Rn
|
|
Example |
ADDC A, R5
|
|
|
|