Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->SUBI
SUBI Subtract Immediate
Compatibility: 68000, 68010, 68020 and CPU32 families.
Destination - Immediate Data -> Destination
Assembler Syntax: SUBI #<data>,<ea>
<ea> - data alterable
Size: Byte, Word or Long
Subtracts the immediate data from the destination operand and stores the result in the destination location.
Condition Codes:
N Set if result negative, else cleared
Z Set if result zero, else cleared
V Set if overflow, else cleared
C Set if borrow, else cleared
X Set same as carry
Allowable Addressing Modes |
SUBI | #(data),Dn | |
SUBI | #(data),(An) | |
SUBI | #(data),(An)+ | |
SUBI | #(data),-(An) | |
SUBI | #(data),(d16,An) | |
SUBI | #(data),(d8,An,Xn) | |
SUBI | #(data),(bd,An,Xn) 2 | |
SUBI | #(data),([bd,An,Xn],od) 1 | |
SUBI | #(data),([bd,An],Xn,od) 1 | |
SUBI | #(data),(xxx).W | |
SUBI | #(data),(xxx).L |