Rotate Left - Motorola DSP96002 User Manual

32-bit digital signal processor
Table of Contents

Advertisement

ROL
Operation:
31
C
Assembler Syntax:
ROL
D
( See the MOVE instruction description.)
Description:
Rotate the low portion of the specified operand one bit to the left. The carry bit receives the previous value
of bit 31 of the operand. The previous value of the carry bit is shifted into bit 0 of the operand. The result
is stored in the low portion of D. This instruction is a 32 bit operation and is performed on bits 0-31 of D.
The remaining bits of D are not affected.
Input Operand(s) Precision: 32-bit integer.
Output Operand Precision: 32-bit integer.
CCR Condition Codes:
C
V
Z
N
I
LR
R
A
ER Status Bits: Not affected.
IER Flags: Not affected.
Instruction Format: ROL
31
DATA BUS MOVE FIELD
OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA
Instruction Fields:
D
Dn.L
Timing: 2 + mv oscillator clock cycles
Memory: 1 + mv program words
MOTOROLA

Rotate Left

0
- Set if the bit shifted out of the operand is set. Cleared otherwise.
- Always cleared.
- Set if result is zero. Cleared otherwise.
- Set if result is negative. Cleared otherwise.
- Not affected.
- Not affected.
- Not affected.
- Not affected.
D
( See the MOVE instruction description.)
(u u)
d d d
n n n
where nnn = 0-7
DSP96002 USER'S MANUAL
(parallel data bus move)
14 13
10
0011
ROL
0
uu01
1ddd
A - 293

Advertisement

Table of Contents
loading

Table of Contents