dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 595

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
ROR.L
Operation:
(see following figure)
:
Description: Logically shift 32 bits of the destination operand (D) 1 bit to the right, and store the result in the des-
Example:
Explanation of Example:
Condition Codes Affected:
Freescale Semiconductor
Before Execution
B2
0
tination. The result is stored in the MSP and LSP of the accumulator (FF10 portion). The accumulator
extension portion is not modified. The LSB of the destination (bit 0) prior to the execution of the in-
struction is shifted into C, and the previous value of C is shifted into the MSB of the destination (bit
31). The result is not affected by the state of the saturation bit (SA).
ROR.L
Prior to execution, the 36-bit B accumulator contains the value $0:C000:80AA. Execution of the
ROR.L instruction shifts the 32-bit value in the B10 register 1 bit to the right, shifting bit 0 into C,
rotating C into bit 31, and storing the result back in the B10 register.
C
LF
15
— Set if bit 0 of source operand was set prior to the execution of the instruction
C000
P4
14
B1
B
13
P3
C
SR
P2
12
MR
P1
11
Unch.
80AA
0301
B0
D2
Rotate Right Long
P0
10
Instruction Set Details
;rotate B1 right 1 bit
I1
9
Assembler Syntax:
ROR.L
I0
D1
8
SZ
7
After Execution
6
L
B2
0
5
E
D
D0
U
4
CCR
E000
B1
N
3
(no parallel move)
SR
2
Z
V
1
4055
0300
C
0
B0
ROR.L
A-251

Related parts for dsp56800e