Instruction Set Summary
MOTOROLA MC68030 USER’S MANUAL 3-21
Table 3-14. Instruction Set Summary (Sheet 2 of 5)
Opcode Operation Syntax
CAS
CAS2
CAS Destination Compare Operand → cc;
if Z, Update Operand → Destination
else Destination → Compare Operand
CAS2 Destination 1 Compare 1 → cc;
if Z, Destination 2 Compare → cc;
if Z, Update 1 → Destination 1; Update 2 → Destination 2
else Destination 1 → Compare 1; Destination 2 →Compare 2
CAS Dc,Du,〈ea〉CAS2
Dc1:Dc2,Du1:Du2,(Rn1):(Rn2)
CHK If Dn < 0 or >-Source then TRAP CHK 〈ea〉,Dn
CHK2 If Rn < lower bound or
Rn > upper bound
then TRAP
CHK2 〈ea〉,Rn
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) +
CMP2 Compare Rn < lower-bound or
Rn > upper-bound
and Set Condition Codes
CMP2 〈ea〉,Rn
cpBcc If cpcc true then scanPC + d → PC cpBcc (label〉
cpDBcc If cpcc false then (Dn –1 → Dn;
if Dn ≠ –1 then scanPC + d → PC
cpDBcc Dn,(label〉
cpGEN Pass Command Word to Coprocessor cpGEN (parameters as defined by
coprocessorL
cpRESTORE If supervisor state
then Restore Internal State of Coprocessor
else TRAP
cpRESTORE 〈ea〉
cpSAVE If supervisor state
the Save Internal State of Coprocessor
else TRAP
cpSAVE 〈save〉
cpScc If cpcc true then 1s → Destination
else 0s → Destination
cpTRAPcc If cpcc true then TRAP cpTRAPcc
cpTRAPcc #〈data〉
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〉,Dn32/16 → 16r:16q
DIVS.L 〈ea〉,Dq 32/32 → 32q
DIVS.L 〈ea〉,Dr:Dq 64/32 → 32r:32q
DIVSL.L 〈ea〉,Dr:Dq32/32 → 32r:32q
DIVU
DIVUL
Destination/Source → Destination DIVU.W 〈ea〉,Dn32/16 → 16r:16q
DIVU.L 〈ea〉,Dq 32/32 → 32q
DIVU.L 〈ea〉,Dr:Dq 64/32 → 32r:32q
DIVUL.L 〈ea〉,Dr:Dq32/32 → 32r:32q
EOR Source ⊕ Destination → Destination EOR Dn,〈ea〉
EORI Immediate Data ⊕ Destination → Destination EORI #〈data〉,〈ea〉