Changes

Jump to: navigation, search

Motorola 68000

3,831 bytes added, 7 February
/* Instruction Set */
|-
| MOVE to SR || Move to Status Register || (Source) → SR || * || * || * || * || *
|-
| MOVE from SR || Move from the Status Register || SR → Destination || – || – || – || – || –
|-
| MOVE USP || Move User Stack Pointer || USP → An; An → USP || – || – || – || – || –
|-
| MOVEA || Move Address || (Source) → Destination || – || – || – || – || –
|-
| MOVEM || Move Multiple Registers || Registers → Destination
(Source) → Registers
|| – || – || – || – || –
|-
| MOVEP || Move Peripheral Data || (Source) → Destination || – || – || – || – || –
|-
| MOVEQ || Move Quick || Immediate Data → Destination || – || * || * || 0 || 0
|-
| MULS || Signed Multiply || (Destination) × (Source) → Destination || – || * || * || 0 || 0
|-
| MULU || Unsigned Multiply || (Destination) × (Source) → Destination || – || * || * || 0 || 0
|-
| NBCD || Negate Decimal with Extend || -((Destination)10 - X) → Destination || * || U || * || U || *
|-
| NEG || Negate || 0 - (Destination) → Destination || * || * || * || * || *
|-
| NEGX || Negate with Extend || 0 - (Destination) - X → Destination || * || * || * || * || *
|-
| NOP || No Operation || – || – || – || – || – || –
|-
| NOT || Logical Complement || ¬(Destination) → Destination || – || * || * || 0 || 0
|-
| OR || Inclusive OR Logical || (Destination) ∨ (Source) → Destination || – || * || * || 0 || 0
|-
| ORI || Inclusive OR Immediate || (Destination) ∨ Immediate Data → Destination || – || * || * || 0 || 0
|-
| ORI to CCR || Inclusive OR Immediate to Condition Codes || (Source) ∨ CCR → CCR || * || * || * || * || *
|-
| ORI to SR || Inclusive OR Immediate to Status Register || (Source) ∨ SR → SR || * || * || * || * || *
|-
| PEA || Push Effective Address || < ea > → (SP) || – || – || – || – || –
|-
| RESET || Reset External Device || – || – || – || – || – || –
|-
| ROL, ROR || Rotate (Without Extend) || (Destination) Rotated by < count > → Destination || – || * || * || 0 || *
|-
| ROXL, ROXR || Rotate with Extend || (Destination) Rotated by < count > → Destination || * || * || * || 0 || *
|-
| RTE || Return from Exception || (SP) → SR; (SP) → PC || * || * || * || * || *
|-
| RTR || Return and Restore Condition Codes || (SP) → CC; (SP) → PC || * || * || * || * || *
|-
| RTS || Return from Subroutine || (SP) → PC || – || – || – || – || –
|-
| SBCD || Subtract Decimal with Extend || (Destination)10 - (Source)10 - X → Destination || * || U || * || U || *
|-
| SCC || Set According to Condition || If CC then 1’s → Destination else 0’s → Destination || – || – || – || – || –
|-
| STOP || Load Status Register and Stop || Immediate Data → SR; STOP || * || * || * || * || *
|-
| SUB || Subtract Binary || (Destination) - (Source) → Destination || * || * || * || * || *
|-
| SUBA || Subtract Address || (Destination) - (Source) → Destination || – || – || – || – || –
|-
| SUBI || Subtract Immediate || (Destination) - Immediate Data → Destination || * || * || * || * || *
|-
| SUBQ || Subtract Quick || (Destination) - Immediate Data → Destination || * || * || * || * || *
|-
| SUBX || Subtract with Extend || (Destination) - (Source) - X → Destination || * || * || * || * || *
|-
| SWAP || Swap Register Halves || Register [31:16] ↔ Register [15:0] || – || * || * || 0 || 0
|-
| TAS || Test and Set an Operand || (Destination) Tested → CC; 1 → (7) OF Destination || – || * || * || 0 || 0
|-
| TRAP || Trap || PC → (SSP); SR → (SSP); (Vector) → PC || – || – || – || – || –
|-
| TRAPV || Trap on Overflow || If V then TRAP || – || – || – || – || –
|-
| TST || Test an Operand || (Destination) Tested → CC || – || * || * || 0 || 0
|-
| UNLK || Unlink || An → SP; (SP) → An || – || – || – || – || –
|}
13,147
edits