Rotate Right - Motorola DSP96002 User Manual

32-bit digital signal processor
Table of Contents

Advertisement

ROR
Operation:
31
Assembler Syntax:
ROR
D
( See the MOVE instruction description.)
Description:
Rotate the low portion of the specified operand one bit to the right. The carry bit receives the previous value
of bit 0 of the operand. The previous value of the carry bit is shifted into bit 31 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: ROR
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
A - 294

Rotate Right

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
C
(parallel data bus move)
14 13
10
0011
ROR
0
uu01
1ddd
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents