Asl - Motorola DSP56000 Manual

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

Advertisement

ASL

55
Operation:
C
Assembler Syntax:
Description: Arithmetically shift the destination operand D one bit to the left and store
the result in the destination accumulator. The MS bit of D prior to instruction execution is
shifted into the carry bit C and a zero is shifted into the LS bit of the destination accumu-
lator D. If a zero shift count is specified, the carry bit is cleared. The difference between
ASL and LSL is that ASL operates on the entire 56 bits of the accumulator and therefore
sets the V bit if the number overflowed.
Example:
:
ASL A
(R3)–
:
Before Execution
A
$A5:012345:012345
SR
Explanation of Example: Prior to execution, the 56-bit A accumulator contains the
value $A5:012345:012345. The execution of the ASL A instruction shifts the 56-bit value
in the A accumulator one bit to the left and stores the result back in the A accumulator.
A - 36
INSTRUCTION DESCRIPTIONS
Arithmetic Shift Accumulator Left
47
ASL D (parallel move)
;multiply A by 2, update R3
$0300
INSTRUCTION SET DETAILS
23
0
0 (parallel move)
After Execution
A
$4A:02468A:02468A
SR
$0373
ASL
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents