dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 591

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
ROL.L
Operation:
(see following figure)
Description: Logically shift 32 bits of the destination operand (D) 1 bit to the left, and store the result in the desti-
Example:
Explanation of Example:
Condition Codes Affected:
Freescale Semiconductor
Before Execution
B2
0
nation. The result is stored in the MSP and LSP of the accumulator (FF10 portion). The accumulator
extension register is not modified. The MSB of the accumulator (bit 31) prior to execution is shifted
into C, and the previous value of C is shifted into the LSB of the accumulator. The result is not affected
by the state of the saturation bit (SA).
ROL.L
Prior to execution, the 36-bit B accumulator contains the value $0:C000:80AA. Execution of the
ROL.L instruction shifts the 32-bit value in the B10 register 1 bit to the left, shifting bit 31 into C, ro-
tating C into bit 0, and storing the result back in the B10 register.
C
LF
15
— Set if bit 31 of accumulator 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
D2
B0
P0
10
Rotate Left Long
Instruction Set Details
; rotate B10 left 1 bit
I1
9
Assembler Syntax:
ROL.L
D1
I0
8
SZ
7
After Execution
6
L
B2
0
5
E
D
D0
U
4
CCR
8001
B1
N
3
(no parallel move)
SR
2
Z
V
1
0155
0301
C
0
B0
ROL.L
A-247

Related parts for dsp56800e