54
The 68000's Instruction Set
Destination operand addressing modes
SUBQ Subtract quick
Operation: [destination] ← [destination] - <literal>
Syntax: SUBQ #<data>,<ea>
Attributes: Size = byte, word, longword
Description: Subtract the immediate data from the destination operand. The
immediate data must be in the range 1 to 8. Word and longword
operations on address registers do not affect condition codes. A
word operation on an address register affects the entire 32-bit
address.
Condition codes: X N Z V C
* * * * *
Destination operand addressing modes
SUBX Subtract extended
Operation: [destination] ← [destination] - [source] - [X]
Syntax: SUBX Dx,Dy
SUBX -(Ax),-(Ay)
Attributes: Size = byte, word, longword
Description: Subtract the source operand from the destination operand along
with the extend bit, and store the result in the destination location.