Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->SUBQ
SUBQ Subtract Quick
Destination - Immediate Data -> Destination
where the immediate data may range from 1 to 8
Assembler Syntax: SUBQ.L #<data>,<ea>
Size: Long
Subtracts the immediate data (1-8) from the destination operand.
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 generated
X Set same as carry
The Condition Codes are not affected if <ea> is an address register
Allowable Addressing Modes |
#(data),Dn | ||
#(data),An (not byte) | ||
#(data),(An) | ||
#(data),(An)+ | ||
#(data),-(An) | ||
#(data),(d16,An) | ||
#(data),(d8,An,Xn) | ||
#(data),(xxx).W | ||
#(data),(xxx).L |