
Instruction Set Summary
MOTOROLA
MC68030 USER’S MANUAL
3-5
Table 3–1 is a summary of the integer and floating-point data movement operations.
3.2.2 Integer Arithmetic Instructions
The integer arithmetic operations include the four basic operations of add (ADD), subtract
(SUB), multiply (MUL), and divide (DIV) as well as arithmetic compare (CMP, CMPM,
CMP2), clear (CLR), and negate (NEG). The instruction set includes ADD, CMP, and SUB
instructions for both address and data operations with all operand sizes valid for data
operations. Address operands consist of 16 or 32 bits. The clear and negate instructions
apply to all sizes of data operands.
Signed and unsigned MUL and DIV instructions include:
Word multiply to produce a long-word product
Long-word multiply to produce and long-word or quad-word product
Division of a long word divided by a word divisor (word quotient and word remainder)
Division of a long word or quad word dividend by a long-word divisor (long-word quo-
tient and long-word remainder)
A set of extended instructions provides multiprecision and mixed-size arithmetic. These
instructions are add extended (ADDX), subtract extended (SUBX), sign extended (EXT),
and negate binary with extend (NEGX). Refer to Table 3–2 for a summary of the integer
arithmetic operations.
Table 3-1. Data Movement Operations
Instruction
EXG
LEA
LINK
MOVE
MOVEA
MOVEM
Operand Syntax
Rn,Rn
ea
,An
An,#
d
ea
,
ea
,An
Operand Size
32
32
16, 32
8, 16, 32
16, 32
→
16, 32
16, 32
16, 32
Operation
Rn
ea
Sp - 4
source
Rn
→
An
→
→
SP; An
destination
→
(SP); SP
→
An, SP + D
→
SP
32
list,
ea
,list
→
32
listed registers
source
→
Dn[31:24]
Dn[15:8]
(An + d)
(An + d + 4)
→
destination
listed registers
→
(An + d); Dn[23:16]
→
(An + d + 4); Dn[7:0]
→
Dn[31:24]; (An + d + 2)
→
Dn[15:8]; (An + d + 6)
immediate data
→
destination
SP — 4
→
SP;
ea
An
→
SP; (SP)
→
An; SP + 4
MOVEP
Dn,(d
16
,An)
(d
16
data
ea
An
,An),Dn
→
An + d + 2);
→
(An + d + 6)
→
Dn[23:16];
→
Dn[7:0]
MOVEQ
PEA
UNLK
#
,Dn
8
32
32
→
32
→
(SP)
→
SP