Motorola MC68030 User Manual page 102

Enhanced 32-bit microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents