|
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. Speciï¬es 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 ï¬oating-point data registers, with individual register names separated by a
slash (/) and/or contiguous blocks of registers speciï¬ed by the ï¬rst and last register names separated by a dash
( â).
4. A list of any combination of the three ï¬oating-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
|
▷ |