Asr - Motorola DSP56000 Manual

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

ASR

55
Operation:
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:
:
ASR B
X:–(R3),R3
:
Before Execution
B
$A8:A86420:A86421
SR
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
INSTRUCTION DESCRIPTIONS
Arithmetic Shift Accumulator Right
47
ASR D (parallel move)
;divide B by 2, update R3, load R3
$0300
INSTRUCTION SET DETAILS
23
0
C (parallel move)
After Execution
B
$D4:543210:543210
SR
$0329
ASR
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents