 | 8051 Instruction Set Manual |  |
|
|
| SUBBThe SUBB instruction subtracts the specified byte variable and the carry flag from the accumulator. The result is stored in the accumulator. This instruction sets the carry flag if a borrow is required for bit 7 of the result. If no borrow is required, the carry flag is cleared. See Also: ADD, ADDC | Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
SUBB
A = A - C - immediate
| | Example |
SUBB A, #01h
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
SUBB
A = A - C - (Ri)
| | Example |
SUBB A, @R1
|
| Bytes | 2 | | Cycles | 1 | | Encoding | | | Operation |
SUBB
A = A - C - (direct)
| | Example |
SUBB A, 44h
|
| Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
SUBB
A = A - C - Rn
| | Example |
SUBB A, R5
|
|
|