EC000 Core Processor
MOTOROLA
MC68307 USER’S MANUAL
4-7
BCHG
~(bit number of Destination)
Z;
~(bit number of Destination)
(bit number) of Des-
tination
BCHG Dn,<ea>
BCHG #<data>,<ea>
BCLR
~(bit number of Destination)
Z;
0
bit number of Destination
BCLR Dn,<ea>
BCLR #<data>,<ea>
BRA
PC + dn PC
BRA <label>
BSET
~(bit number of Destination)
Z;
1
bit number of Destination
BSET Dn,<ea>
BSET #<data>,<ea>
BSR
SP – 4
SP; PC (SP); PC + dn PC
BSR <label>
BTST
–(bit number of Destination)
Z;
BTST Dn,<ea>
BTST #<data>,<ea>
CHK
If Dn < 0 or Dn > Source
then TRAP
CHK <ea>,Dn
CLR
0
Destination
CLR <ea>
CMP
Destination – Source
cc
CMP <ea>,Dn
CMPA
Destination – Source
CMPA <ea>,An
CMPI
Destination – Immediate Data
CMPI #<data>,<ea>
CMPM
Destination – Source
cc
CMPM (Ay)+,(Ax)+
DBcc
If condition false
then (Dn–1
Dn;
If Dn
≠ –1
then PC + dn PC)
DBcc Dn,<label>
DIVS
Destination
÷ Source Destination
DIVS.W <ea>,Dn
32
÷ 16 16r:16q
DIVS.L <ea>,Dq
32
÷ 32 32q
DIVS.L <ea>,Dr:Dq
64
÷ 32 32r:32q
DIVU
Destination
÷ Source Destination
DIVU.W <ea>,Dn
32
÷ 16 16r:16q
DIVU.L <ea>,Dq
32
÷ 32 32q
DIVU.L <ea>,Dr:Dq
64
÷ 32 32r:32q
EOR
Source
⊕ Destination Destination
EOR Dn,<ea>
EORI
Immediate Data
⊕ Destination Destination
EORI #<data>,<ea>
EORI to CCR
Source
⊕ CCR CCR
EORI #<data>,CCR
EORI to SR
If supervisor state
then Source
⊕ SR SR
else TRAP
EORI #<data>,SR
EXG
Rx
Ry
EXG Dx,Dy
EXG Ax,Ay
EXG Dx,Ay
EXG Ay,Dx
EXT
Destination Sign – Extended
Destination
EXT.W Dn
extend byte to word
EXT.L Dn
extend word to long word
JMP
Destination Address
PC
JMP <ea>
JSR
SP – 4
SP; PC (SP)
Destination Address
PC
JSR <ea>
LEA
<ea>
An
LEA <ea>,An
LINK
SP – 4
SP; An (SP)
SP
An, SP+d SP
LINK An,dn
LSL, LSR
Destination Shifted by count
Destination
LSd Dx,Dy1
LSd #<data>,Dy1
LSd <ea>1
MOVE
Source
Destination
MOVE <ea>,<ea>
MOVE from SR
If supervisor state
then SR
Destination
else TRAP
MOVE SR,<ea>
MOVE to CCR
Source
CCR
MOVE <ea>,CCR
MOVE to SR
If supervisor state
then Source
SR
else TRAP
MOVE <ea>,SR
MOVE USP
If supervisor state
then USP
An or An USP
else TRAP
MOVE USP,An
MOVE An,USP
Table 4-4. EC000 Core Instruction Set Summary (Continued)