Typewriter User Manual
MOTOROLA MC68340 USER’S MANUAL 5- 17
Table 5-2. Instruction Set Summary (Continued)
Opcode Operation Syntax
CMP2 Compare Rn < lower-bound or
Rn > upper-bound
and Set Condition Codes
CMP2 〈ea〉,Rn
DBcc If condition false then (Dn – 1 ⇒ Dn;
If Dn
≠ –1 then PC + d ⇒ PC)
DBcc Dn,〈label〉
DIVS
DIVSL
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
DIVSL.L 〈ea〉,Dr:Dq 32/32 ⇒ 32r:32q
DIVU
DIVUL
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
DIVUL.L 〈ea〉,Dr:Dq 32/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
the Source ⊕ SR ⇒ SR
else TRAP
EORI #〈data 〉,SR
EXG Rx ⇔ Ry EXG Dx,Dy
EXG Ax,Ay
EXG Dx,Ay
EXG Ay,Dx
EXT
EXTB
Destination Sign-Extended ⇒ Destination EXT.W Dn extend byte to word
EXT.L Dn extend word to long word
EXTB.L Dn extend byte to long word
LLEGAL SSP – 2 ⇒ SSP; Vector Offset ⇒ (SSP);
SSP – 4 ⇒ SSP; PC ⇒ (SSP);
SSp – 2 ⇒ SSP; SR ⇒ (SSP);
Illegal Instruction Vector Address ⇒ PC
ILLEGAL
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,#〈displacement〉
LPSTOP If supervisor state
Immediate Data ⇒ SR
Interrupt Mask ⇒ External Bus Interface (EBI)
STOP
else TRAP
LPSTOP #〈data〉
LSL,LSR Destination Shifted by 〈count〉 ⇒ Destination LSd
1
Dx,Dy
LSd
1
# 〈data 〉,Dy
LSd
1
〈ea〉
MOVE Source ⇒ Destination MOVE 〈ea〉,〈ea〉
MOVEA Source ⇒ Destination MOVEA 〈ea〉,An
MOVE from
CCR
CCR ⇒ Destination MOVE CCR,〈ea〉
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...