dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 528

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 left and store
the result in the destination accumulator. Prior to instruction execution, bit 47 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 24 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 A accumulator contains the
value $00:000000:000000. The execution of the ROL A instruction shifts the 24-bit value
in the A1 register one bit to the left, shifting bit 47 into the carry bit C, rotating the carry bit
C into bit 24, and storing the result back in the A1 register.
A - 262
Operation:
ROL
ROL A1 #314,N2
SR
A
:
:
$00:000000:000000
C
Before Execution
Freescale Semiconductor, Inc.
ROL D (parallel move)
For More Information On This Product,
47
INSTRUCTION DESCRIPTIONS
$0301
INSTRUCTION SET DETAILS
Go to: www.freescale.com
;rotate A1 one left bit, update N2
Rotate Left
24
SR
A
(parallel move)
$00:000001:000000
After Execution
$0300
MOTOROLA
ROL

Related parts for dsp56000