Instruction Set Summary
3-24 MC68030 USER’S MANUAL MOTOROLA
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.
Table 3-14. Instruction Set Summary (Concluded)
Opcode Operation Syntax
RTD (SP) → PC; SP + 4 + d → SP RTD #〈displacement〉
RTE If-supervisor-state
then (SP) → SR; SP+2 → SP; (SP) → PC;
SP + 4 → SP;
restore state and deallocate stack according to (SP)
else TRAP
RTE
RTM Reload Saved Module State from Stack RTM Rn
RTR (SP) → CCR; SP + 2 → SP;
(SP) → PC; SP + 4 → SP
RTR
RTS (SP) → PC; SP + 4 → SP RTS
SBCD Destination
10
--Source
10
–X → Destination SBCD Dx,Dy
SBCD –(Ax),–(Ay)
Scc If condition true
then 1s → Destination
else 0s → Destination
Scc 〈ea〉
STOP If supervisor state
then Immediate Data → SR; STOP
else TRAP
STOP #〈data〉
SUB Destination — Source → Destination SUB 〈ea〉,Dn
SUB Dn,〈ea〉
SUBA Destination — Source → Destination SUBA 〈ea〉,An
SUBI Destination — Immediate Data → Destination SUBI #〈data〉,〈ea〉
SUBQ Destination — Immediate Data → Destination SUBQ #〈data〉,〈ea〉
SUBX Destination — Source – X → Destination SUBX Dx,Dy
SUBX –(Ax),–(Ay)
SWAP Register [31:16] ↔ Register [15:0] SWAP Dn
TAS Destination Tested → Condition Codes; 1 → bit 7 of Destination TAS 〈ea〉
TRAP SSP –2 → SSP; Format/Offset → (SSP);
SSP – 4 → SSP; PC → (SSP); SSP – 2 → SSP;
SR → (SSP); Vector Address → PC
TRAP # (vector〉
TRAPcc If cc then TRAP TRAPcc
TRAPcc.W # 〈data〉TRAPcc.L # 〈data〉
TRAPV If V then TRAP TRAPV
TST Destination Tested → Condition Codes TST 〈ea〉
UNLK An → SP; (SP) → An; SP + 4 → SP UNLK An
UNPK Source (Packed BCD) + adjustment → Destination (Unpacked BCD) UNPACK –(Ax),–(Ay),#(adjustment〉
UNPACK Dx,Dy,#(adjustment〉