
1- 20 M68040 USER’S MANUAL MOTOROLA
Table 1-4. Instruction Set Summary (Concluded)
Opcode Operation Syntax
SUBA Destination – Source ø Destination SUBA <ea>,An
SUBI Destination – Immediate Data ø Destination SUBI #<data>,<ea>
SUBQ Destination – Immediate Data ø Destination SUBQ #<data>,<ea>
SUBX Destination – Source – X ø Destination SUBX Dx,Dy
SUBX –(Ax),–(Ay)
SWAP Register 31–16 ¯ ø Register 15–0 SWAP Dn
TAS Destination Tested ø Condition Codes;
1 ø bit 7 of Destination
TAS <ea>
TRAP SSP – 2 ø SSP; Format ÷ Offset ø (SSP);
SSP – 4 ø SSP; PC ø (SSP); SSP – 2 ø SSP;
SR ø (SSP); Vector Address ø PC
TRAP #<vector>
TRAPcc If cc
then TRAP
TRAPcc
TRAPcc.W #<data>
TRAPcc.L #<data>
TRAPV If V
then TRAP
TRAPV
TST Destination Tested ø Condition Codes TST <ea>
UNLK An ø SP; (SP) ø An; SP + 4 ø SP UNLK An
UNPK Source (Packed BCD) + adjustment ø Destination
(Unpacked BCD)
UNPACK –(Ax),–(Ay),#(adjustment)
UNPACK Dx,Dy,#(adjustment)
NOTES:
1. Where d is direction, left or right.
2. Available only on the MC68040.
3. Where r is rounding precision, single or double precision.
4. List refers to register.
5. List refers to control registers only.
6. Available only on the MC68040V and MC68EC040V.
7. MOVE16 (ax)+,(ay)+ is functionally the same as MOVE16 (ax),(ay)+ when ax = ay. The address register is only
incremented once, and the line is copied over itself rather than to the next line.
8. Not available for the MC68EC040 or MC68EC040V.