EasyManuals Logo
Home>Motorola>Computer Hardware>MC68030

Motorola MC68030 User Manual

Motorola MC68030
254 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #84 background imageLoading...
Page #84 background image
Instruction Set Summary
3-6
MC68030 USER’S MANUAL
MOTOROLA
3.2.3 Logical Instructions
The logical operation instructions (AND, OR, EOR, and NOT) perform logical operations
with all sizes of integer data operands. A similar set of immediate instructions (ANDI, ORI,
and EORI) provide these logical operations with all sizes of immediate data. The TST
instruction compares the operand with zero arithmetically, placing the result in the condition
code register. Table 3–3 summarizes the logical operations.
Table 3-2. Integer Arithmetic Operations
Instruction Operand Syntax Operand Size Operation
ADD
ADDA
Dn,
ea
ea
,Dn
ea
,An
8, 16, 32
8, 16, 32
16, 32
source + destination
destination
ADDI
ADDQ
#
data
,
ea
#
data
,
ea
8, 16, 32
8, 16, 32
immediate data + destination
destination
ADDX Dn,Dn
–(An),–(An)
8, 16, 32
8, 16, 32
source + destination + X
destination
CLR
ea
8, 16, 32 0
destination
CMP
CMPA
ea
,Dn
ea
,An
8, 16, 32
16, 32
destination - source
CMPI #
data
,
ea
8, 16, 32 destination - immediate data
CMPM (An) +,(An) + 8, 16, 32 destination - source
CMP2
ea
,Rn 8, 16, 32 lower bound < = Rn < = upper bound
DIVS/DIVU
DIVSL/DIVUL
ea,Dn
ea,Dr:Dq
ea,Dq
ea,Dr:Dq
32/16 16:16
64/32 32:32
32/32 32
32/32 32:32
destination/source destination (signed or unsigned)
EXT
EXTB
Dn
Dn
Dn
8 16
16 32
8 32
sign-extended destination destination
MULS/MULU ea,Dn
ea,Dl
(ea,Dh:Dl
16x16 32
32x32 32
32x32 64
source y destination destination (signed or unsigned)
NEG ea 8, 16, 32 0 - destination destination
NEGX ea 8, 16, 32 0 - destination - X destination
SUB
SUBA
ea,Dn
Dn,ea
ea,An
8, 16, 32
8, 16, 32
16, 32
destination = source destination
SUBI
SUBQ
#data,ea
#data,ea
8, 16, 32
8, 16, 32
destination - immediate data destination
SUBX Dn,Dn
–(An),–(An)
8, 16, 32
8, 16, 32
destination - source — X destination

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Motorola MC68030 and is the answer not in the manual?

Motorola MC68030 Specifications

General IconGeneral
BrandMotorola
ModelMC68030
CategoryComputer Hardware
LanguageEnglish

Related product manuals