 | 8051 Instruction Set Manual |  |
|
|
| ADDThe ADD instruction adds a byte value to the accumulator and stores the results back in the accumulator. Several of the flag registers are affected. See Also: ADDC, SUBB | Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
A = A + immediate
| | Example |
ADD A, #03h
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
A = A + (Ri)
| | Example |
ADD A, @R1
|
| Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
A = A + (direct)
| | Example |
ADD A, 20h
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
A = A + Rn
| | Example |
ADD A, R0
|
|
|