dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 530

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
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:
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
Operation:
ROR
ROR B1#$1234,R2
SR
B
:
:
$00:000001:222222
C
Before Execution
Freescale Semiconductor, Inc.
ROR D (parallel move)
For More Information On This Product,
47
INSTRUCTION DESCRIPTIONS
$0300
INSTRUCTION SET DETAILS
Go to: www.freescale.com
;rotate B1 right one bit, update R2
Rotate Right
24
SR
B
(parallel move)
$00:000000:222222
After Execution
$0305
MOTOROLA
ROR

Related parts for dsp56000