Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->SBCB
Subtract Memory with Carry from Accumulator B
Compatibility: 6800, 6802, 6803, 6303R, 6303X, 6303Y
B - M - C -> B
Condition Code Register
C Set if carry generated, else cleared
V Set on overflow, else cleared
Z Set if result zero, else cleared
N Set if result negative, else cleared
I Not affected
H Not affected
| Addressing mode | op | cyc | bytes | Assembler syntax |
| Immed.: | C2 | 2 | 2 | SBCB #<exprn.> |
| Direct: | D2 | 3 | 2 | SBCB <exprn.> |
| Index : | E2 | 4 | 2 | SBCB <exprn.>,X |
| Extend: | F2 | 4 | 3 | SBCB <exprn.> |