EasyManuals Logo
Home>Motorola>Computer Hardware>MC68030

Motorola MC68030 User Manual

Motorola MC68030
254 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #85 background imageLoading...
Page #85 background image
Instruction Set Summary
MOTOROLA MC68030 USER’S MANUAL 3-7
3.2.4 Shift and Rotate Instructions
The arithmetic shift instructions (ASR and ASL) and logical shift instructions (LSR and LSL)
provide shift operations in both directions. The ROR, ROL, ROXR, and ROXL instructions
perform rotate (circular shift) operations, with and without the extend bit. All shift and rotate
operations can be performed on either registers or memory.
Register shift and rotate operations shift all operand sizes. The shift count may be specified
in the instruction operation word (to shift from 1–8 places) or in a register (modulo 64 shift
count).
Memory shift and rotate operations shift word-length operands one bit position only. The
SWAP instruction exchanges the 16-bit halves of a register. Performance of shift/rotate
instructions is enhanced so that use of the ROR and ROL instructions with a shift count of
eight allows fast byte swapping. Table 3–4 is a summary of the shift and rotate operations.
Table 3-3. Logical Operations
Instruction Operand Syntax Operand Size Operation
AND ea,Dn
Dn,ea
8, 16, 32
8, 16, 32
source Λ destination destination
ANDI #data,ea 8, 16, 32 immediate data Λ destination destination
EOR Dn,data,ea 8, 16, 32 source destination destination
EORI #data,ea 8, 16, 32 immediate data x destination destination
NOT ea 8, 16, 32 destination destination
OR ea,Dn
Dn,ea
8, 16, 32
8, 16, 32
source V destination destination
ORI #data,ea 8, 16, 32 immediate data V destination destination
TST #ea 8, 16, 32 source — 0 to set condition codes

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Motorola MC68030 and is the answer not in the manual?

Motorola MC68030 Specifications

General IconGeneral
BrandMotorola
ModelMC68030
CategoryComputer Hardware
LanguageEnglish

Related product manuals