Table of Contents
Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->SBCD
SBCD Subtract Decimal with Extend
Compatibility: 68000, 68010, 68020 and CPU32 families.
Destination - Source - X -> Destination
Assembler Syntax: | SBCD Dy,Dx |
| SBCD -(Ay),-(Ax) |
Size: Byte
Subtracts the source operand and the extended bit from the destination operand and stores the result in the destination location. The subtraction is performed using binary coded decimal arithmetic.
Condition Codes:
N Undefined
Z Clear if result <> 0 else unchanged
V Undefined
C Set if borrow (decimal) else clear
X Set same as carry