Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->SUBA

SUBA   Subtract Address


Compatibility: 68000, 68010, 68020 and CPU32 families.


Destination - Source  -> Destination


Assembler Syntax:   SUBA <ea>,An


<ea> - all modes

Size:  Word or Long

Subtracts the source operand from the destination address register and stores the result in the address register.


Condition Codes:

N    Not affected
Z    Not affected
V    Not affected
C    Not affected
X    Not affected

    
Allowable Addressing Modes
    
<ea>,An
    
SUBADn,An
SUBAAn,An
SUBA(An),An
SUBA(An)+,An
SUBA-(An),An
SUBA(d16,An),An
SUBA(d8,An,Xn),An
SUBA(bd,An,Xn),An 2
SUBA([bd,An,Xn],od),An 1
SUBA([bd,An],Xn,od),An 1
SUBA(xxx).W,An
SUBA(xxx).L,An
SUBA#(data),An
SUBA(d16,PC),An
SUBA(d8,PC,Xn),An
SUBA(bd,PC,Xn),An 2
SUBA([bd,PC,Xn],od),An 1
SUBA([bd,PC],Xn,od),An 1
1   68020 only
2   68020 and CPU32 only