dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 394

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
ASRA
Operation:
D >> 1 → D
Description: Arithmetically shift the address register operand 1 bit to the right, and store the result back in the reg-
Example:
Explanation of Example:
Condition Codes Affected:
Instruction Fields:
Instruction Opcodes:
Timing:
Memory:
A-50
ASRA
Operation
ASRA
Before Execution
Rn
R0
ister.
ASRA
Prior to execution, the R0 register contains $80B360. Execution of the ASRA instruction shifts the val-
ue in the R0 register 1 bit to the right and stores the result ($C059B0) back in R0.
The condition codes are not affected by this instruction.
1 oscillator clock cycle
1 program word
(no parallel move)
1-Bit Arithmetic Shift Right AGU Register
Operands
80B360
R0
Rn
DSP56800E Core Reference Manual
; arithmetically shift R0 to the right 1 bit
15
1
C
1
0
W
1
0
Assembler Syntax:
ASRA
Arithmetic shift right AGU register by 1 bit
12
0
11
0
After Execution
R0
1
0
D
1
8
C059B0
Comments
7
0
(no parallel move)
0
Freescale Semiconductor
1
1
4
R
3
ASRA
0
R
R
0

Related parts for dsp56800e