English
Language : 

MC68331 Datasheet, PDF (46/84 Pages) Motorola, Inc – User’s Manual
Freescale Semiconductor, Inc.
4.6 Instruction Set Summary
Instruction
ABCD
ADD
ADDA
ADDI
ADDQ
ADDX
AND
ANDI
ANDI to CCR
ANDI to SR11
ASL
ASR
Bcc
BCHG
BCLR
BGND
BKPT
BRA
BSET
BSR
BTST
CHK
CHK2
CLR
CMP
CMPA
CMPI
Table 20 Instruction Set Summary
Syntax
Dn, Dn
− (An), − (An)
Dn, <ea>
<ea>, Dn
<ea>, An
#<data>, <ea>
# <data>, <ea>
Dn, Dn
− (An), − (An)
<ea>, Dn
Dn, <ea>
# <data>, <ea>
# <data>, CCR
# <data>, SR
Dn, Dn
# <data>, Dn
<ea>
Dn, Dn
# <data>, Dn
<ea>
Operand Size
8
8
8, 16, 32
8, 16, 32
16, 32
8, 16, 32
8, 16, 32
8, 16, 32
8, 16, 32
8, 16, 32
8, 16, 32
8, 16, 32
8
16
8, 16, 32
8, 16, 32
16
8, 16, 32
8, 16, 32
16
Operation
Source10 + Destination10 + X ⇒ Destination
Source + Destination ⇒ Destination
Source + Destination ⇒ Destination
Immediate data + Destination ⇒ Destination
Immediate data + Destination ⇒ Destination
Source + Destination + X ⇒ Destination
Source • Destination ⇒ Destination
Data • Destination ⇒ Destination
Source • CCR ⇒ CCR
Source • SR ⇒ SR
X/C
0
X/C
label
Dn, <ea>
# <data>, <ea>
Dn, <ea>
# <data>, <ea>
none
# <data>
label
Dn, <ea>
# <data>, <ea>
label
Dn, <ea>
# <data>, <ea>
<ea>, Dn
<ea>, Rn
<ea>
<ea>, Dn
<ea>, An
# <data>, <ea>
8, 16, 32
8, 32
8, 32
8, 32
8, 32
none
none
8, 16, 32
8, 32
8, 32
8, 16, 32
8, 32
8, 32
16, 32
8, 16, 32
8, 16, 32
8, 16, 32
16, 32
8, 16, 32
If condition true, then PC + d ⇒ PC
bit number〉 of destination) ⇒ Z ⇒ bit of destinatio
( 〈 bit number〉 of destination)
0 ⇒ Zbit of destination
If background mode enabled, then enter background
mode, else format/vector ⇒ − (SSP);
PC ⇒ − (SSP); SR ⇒ − (SSP); (vector) ⇒ PC
If breakpoint cycle acknowledged, then execute
returned operation word, else trap as illegal instruction
PC + d ⇒ PC
( 〈 bit number〉 of destination) ⇒ Z;
1 ⇒ bit of destination
SP − 4 ⇒ SP; PC ⇒ (SP); PC + d ⇒ PC
( 〈 bit number〉 of destination) ⇒ Z
If Dn < 0 or Dn > (ea), then CHK exception
If Rn < lower bound or Rn > upper bound, then
CHK exception
0 ⇒ Destination
(Destination − Source), CCR shows results
(Destination − Source), CCR shows results
(Destination − Data), CCR shows results
46
For More Information On This Product,
MC68331TS/D
Go to: www.freescale.com