Freescale Semiconductor, Inc.
Table 5-5. Integer Arithmetic Operations
Operand
Syntax
Instruction
Operand Size
Operation
ADD
Dn, ea
ea , Dn
8, 16, 32
8, 16, 32
Source + Destination
Destination
ADDA
ADDI
ea , An
# data , ea
# data , ea
16, 32
Source + Destination
Destination
8, 16, 32
8, 16, 32
Immediate Data + Destination
Immediate Data + Destination
Destination
Destination
ADDQ
ADDX
Dn, Dn
– (An), – (An)
8, 16, 32
8, 16, 32
Source + Destination + X
Destination
CLR
CMP
ea
8, 16, 32
8, 16, 32
16, 32
0 Destination
ea , Dn
(Destination – Source), CCR shows results
(Destination – Source), CCR shows results
(Destination – Immediate Data), CCR shows results
(Destination – Source), CCR shows results
CMPA
CMPI
CMPM
CMP2
ea , An
# data , ea
(An) +, (An) +
ea , Rn
8, 16, 32
8, 16, 32
8, 16, 32
Lower bound ≤ Rn ≤ Upper Bound, CCR shows
results
DIVS/DIVU
ea , Dn
ea , Dr:Dq
ea , Dq
32/16
64/32
32/32
16:16 Destination/Source
32:32 unsigned)
32
Destination (signed or
DIVSL/DIVUL
EXT
ea , Dr:Dq
32/32
32:32
Dn
Dn
8
16
16
32
Sign Extended Destination
Sign Extended Destination
Destination
Destination
EXTB
Dn
8
32
MULS/MULU
ea , Dn
ea , Dl
ea , Dh:Dl
16 × 16
32 × 32
32 × 32
32
32
64
Source × Destination
unsigned)
Destination (signed or
NEG
NEGX
SUB
ea
ea
8, 16, 32
8, 16, 32
8, 16, 32
0 – Destination
Destination
0 – Destination – X
Destination – Source
Destination
Destination
ea , Dn
Dn, ea
SUBA
SUBI
ea , An
# data , ea
# data , ea
16, 32
Destination – Source
Destination
8, 16, 32
8, 16, 32
Destination – Immediate Data
Destination – Immediate Data
Destination
Destination
SUBQ
SUBX
Dn, Dn
– (An), – (An)
8, 16, 32
8, 16, 32
Destination – Source – X
Destination
TBLS/TBLU
ea , Dn
Dym:Dyn, Dn
8, 16, 32
Dyn – Dym Temp
(Temp × Dn [7:0])
(Dym × 256) + Temp
Temp
Dn
TBLSN/TBLUN
ea , Dn
Dym:Dyn, Dn
8, 16, 32
Dyn – Dym
(Temp × Dn [7:0]) / 256
Dym + Temp Dn
Temp
Temp
MOTOROLA
MC68340 USER’S MANUAL
5- 23
For More Information On This Product,
Go to: www.freescale.com