Integer Arithmetic Instructions; Data Movement Operations - Motorola MC68030 User Manual

Enhanced 32-811 microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

Table 3-1 is a summary of the integer and floating-point data movement
operations.
Table 3-1. Data Movement Operations
Instruction
Operand Syntax
Operand Size
Operation
EXG
Rn,Rn
32
Rn •• Rn
LEA
<ea>.An
32
<ea> • An
LINK
An,#<d>
16,32
Sp-4. SP; An. (SP); SP. An, SP+D. SP
MOVE
<ea>,<ea>
8,16,32
source. destination
MOVEA
<ea>.An
16,32.32
MOVEM
list,<ea>
16,32
listed registers. destination
<ea>,list
16,32.32
source. listed registers
MOVEP
Dn, (d16.An)
16,32
Dn[31 :24] • (An + d); Dn[23:16] • An + d + 2);
Dn[15:8]. (An+d+4); Dn[7:0]. (An+d+6)
(d16.An),Dn
(An+d). Dn[31:24]; (An+d+2). Dn[23:16];
(An+d+4). Dn[15:8]; (An+d+6). Dn[7:0]
MOVEQ
#<data>,Dn
8.32
immediate data. destination
PEA
<ea>
32
SP-4. SP; <ea> • (SP)
UNLK
An
32
An. SP; (SP). An; SP+4. SP
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 quotient and long-word remainder)
A set of extended instructions provides multiprecision and mixed-size arith-
metic. 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.
MOTOROLA
MC68030 USER'S MANUAL
3-5
l1li

Advertisement

Table of Contents
loading

Table of Contents