beautypg.com

Ror rotate right ror – Motorola DSP96002 User Manual

Page 482

background image

A - 294

DSP96002 USER’S MANUAL

MOTOROLA

ROR

Rotate Right

ROR

Operation:

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

- Set if the bit shifted out of the operand is set. Cleared otherwise.

V

- Always cleared.

Z

- Set if result is zero. Cleared otherwise.

N

- Set if result is negative. Cleared otherwise.

I

- Not affected.

LR

- Not affected.

R

- Not affected.

A

- Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.

Instruction Format: ROR D ( See the MOVE instruction description.)

31

0

C

(parallel data bus move)

Instruction Fields:

(u u)

D

d d d

Dn.L

n n n

where nnn = 0-7

Timing: 2 + mv oscillator clock cycles

Memory: 1 + mv program words

10

0011

uu01

1ddd

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

DATA BUS MOVE FIELD