dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 384

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
ASLA
Operation:
S << 1 →
Description: Arithmetically shift the source address register 1 bit to the left, and store the result in the destination
Example:
Explanation of Example:
Condition Codes Affected:
Instruction Fields:
Instruction Opcodes:
Timing:
Memory:
A-40
ASLA
Operation
ASLA
Before Execution
Rn,Rn
R0
R1
D
register.
ASLA
Prior to execution, the R1 register contains the value $004444, and the R0 register contains $00B360.
Execution of the ASLA instruction shifts the value in R1 by 1 bit to the left and stores the result
($008888) in the R0 register.
The condition codes are not affected by this instruction.
1 oscillator clock cycle
1 program word
(no parallel move)
00B360
004444
R1,R0
Operands
Rn,Rn
Rn
1-Bit Left Shift AGU Register
DSP56800E Core Reference Manual
15
1
C
0
1
1
; shift R1 left 1 bit and store in R0
0
Assembler Syntax:
ASLA
W
1
1
12
0
Arithmetic shift left AGU register by 1 bit
An alternate syntax for the preceding instruction if the
source and the destination are the same
11
0
After Execution
R0
R1
0
0
S,D
0
8
008888
004444
7
n
Comments
0
Freescale Semiconductor
1
(no parallel move)
n
4
R
3
ASLA
n
R
R
0

Related parts for dsp56800e