English
Language : 

MC68030 Datasheet, PDF (102/602 Pages) Motorola, Inc – ENHANCED 32-BIT MICROPROCESSOR
Instruction Set Summary
Table 3-14. Instruction Set Summary (Concluded)
Opcode
RTD
RTE
RTM
RTR
RTS
SBCD
Scc
STOP
SUB
SUBA
SUBI
SUBQ
SUBX
SWAP
TAS
TRAP
TRAPcc
TRAPV
TST
UNLK
UNPK
Operation
Syntax
(SP) → PC; SP + 4 + d → SP
RTD #〈displacement〉
If-supervisor-state
then (SP) → SR; SP+2 → SP; (SP) → PC;
SP + 4 → SP;
restore state and deallocate stack according to (SP)
RTE
else TRAP
Reload Saved Module State from Stack
RTM Rn
(SP) → CCR; SP + 2 → SP;
RTR
(SP) → PC; SP + 4 → SP
(SP) → PC; SP + 4 → SP
RTS
Destination10 --Source10 –X → Destination
SBCD Dx,Dy
SBCD –(Ax),–(Ay)
If condition true
then 1s → Destination
Scc 〈ea〉
else 0s → Destination
If supervisor state
then Immediate Data → SR; STOP
STOP #〈data〉
else TRAP
Destination — Source → Destination
Destination — Source → Destination
SUB 〈ea〉,Dn
SUB Dn,〈ea〉
SUBA 〈ea〉,An
Destination — Immediate Data → Destination
Destination — Immediate Data → Destination
Destination — Source – X → Destination
SUBI #〈data〉,〈ea〉
SUBQ #〈data〉,〈ea〉
SUBX Dx,Dy
SUBX –(Ax),–(Ay)
Register [31:16] ↔ Register [15:0]
SWAP Dn
Destination Tested → Condition Codes; 1 → bit 7 of Destination
TAS 〈ea〉
SSP –2 → SSP; Format/Offset → (SSP);
SSP – 4 → SSP; PC → (SSP); SSP – 2 → SSP;
TRAP # (vector〉
SR → (SSP); Vector Address → PC
If cc then TRAP
TRAPcc
TRAPcc.W # 〈data〉TRAPcc.L # 〈data〉
If V then TRAP
TRAPV
Destination Tested → Condition Codes
An → SP; (SP) → An; SP + 4 → SP
TST 〈ea〉
UNLK An
Source (Packed BCD) + adjustment → Destination (Unpacked BCD) UNPACK –(Ax),–(Ay),#(adjustment〉
UNPACK Dx,Dy,#(adjustment〉
NOTES:
1. Specifies either the instruction (IC), data (DC), or IC/DC caches.
2. Where r is rounding precision, S or D.
3. A list of any combination of the eight floating-point data registers, with individual register names separated by a
slash (/) and/or contiguous blocks of registers specified by the first and last register names separated by a dash
( –).
4. A list of any combination of the three floating-point system control registers (FPCR, FPSR, and FPIAR) with
indvidual register names separated by a slash (/).
5. Where d is direction, L or R.
3-24
MC68030 USER’S MANUAL
MOTOROLA