Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->SUBD

SUBD    Subtract Memory from double accumulator

A:B - M:(M+1) -> A: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 modeAssembler syntax
Immed.:SUBD #<exprn.>
Direct:SUBD <exprn.>
Index X:SUBD <exprn.>,X
Index Y:SUBD <exprn.>,Y
Extend:SUBD <exprn.>