Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->SUBB
SUBB Subtract with Borrow A,<source byte>
Subtract source byte and carry flag from accumulator and store result in accumulator.
Formats:
| Description | Mnemonic | Bytes | Cycles |
| Subtract Immediate Data: | SUBB A,#<data> | 2 | 1 |
| Subtract Indirect Address: | SUBB A,@Ri | 1 | 1 |
| Subtract Register: | SUBB A,Rn | 1 | 1 |
| Subtract Memory: | SUBB A,<direct address> | 2 | 1 |
| PSW: | C | AC | F0 | RS1 | RS0 | OV | P |
| * | * | N/A | N/A | N/A | * | * |