Motorola DSP56000 Manual page 533

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

ROR
Operation:
C
Assembler Syntax:
Description: Rotate bits 47–24 of the destination operand D one bit to the right and
store the result in the destination accumulator. Prior to instruction execution, bit 24 of D
is shifted into the carry bit C, and, prior to instruction execution, the value in the carry bit
C is shifted into bit 47 of the destination accumulator D. This instruction is a 24-bit opera-
tion. The remaining bits of the destination operand D are not affected.
Example:
:
ROR B1#$1234,R2
:
Before Execution
B
$00:000001:222222
SR
Explanation of Example: Prior to execution, the 56-bit B accumulator contains the
value $00:000001:222222. The execution of the ROR B instruction shifts the 24-bit value
in the B1 register one bit to the right, shifting bit 24 into the carry bit C, rotating the carry
bit C into bit 47, and storing the result back in the B1 register.
A - 264
INSTRUCTION DESCRIPTIONS
Rotate Right
47
24
ROR D (parallel move)
;rotate B1 right one bit, update R2
$0300
INSTRUCTION SET DETAILS
(parallel move)
After Execution
B
$00:000000:222222
SR
$0305
ROR
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents