dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 304

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Assembler Syntax:
Description: Arithmetically shift the destination operand D one bit to the right and store
the result in the destination accumulator. The LS bit of D prior to instruction execution is
shifted into the carry bit C, and the MS bit of D is held constant.
Example:
Explanation of Example: Prior to execution, the 56-bit B accumulator contains the
value $A8:A86420:A86421. The execution of the ASR B instruction shifts the 56-bit
value in the B accumulator one bit to the right and stores the result back in the B accu-
mulator.
A - 38
Operation:
ASR
ASR B
SR
B
:
:
$A8:A86420:A86421
Before Execution
X:–(R3),R3
55
Freescale Semiconductor, Inc.
For More Information On This Product,
ASR D (parallel move)
Arithmetic Shift Accumulator Right
$0300
INSTRUCTION DESCRIPTIONS
INSTRUCTION SET DETAILS
47
Go to: www.freescale.com
;divide B by 2, update R3, load R3
23
SR
B
$D4:543210:543210
After Execution
0
$0329
C (parallel move)
MOTOROLA
ASR

Related parts for dsp56000