Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->SUBX

SUBX   Subtract with Extend


Destination - Source - X -> Destination
    
Assembler Syntax:SUBX Dy,Dx

Size: Long

Subtracts the source operand and the extend bit from the destination operand and stores the result in the destination location.


Condition Codes:

N    Set if result negative, else cleared
Z    Cleared if result non-zero, else unchanged
V    Set if overflow, else cleared
C    Set if borrow, else cleared
X    Set same as carry