dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 412

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Assembler Syntax:
Description: Logically shift bits 47–24 of the destination operand D one bit to the right
and store the result in the destination accumulator. Prior to instruction execution, bit 24
of D is shifted into the carry bit C, and a zero is shifted into bit 47 of the destination accu-
mulator D. This instruction is a 24-bit operation. The remaining bits of the destination
operand D are not affected.
Example:
Explanation of Example: Prior to execution, the 56-bit A accumulator contains the
value $37:444445:828180. The execution of the LSR A instruction shifts the 24-bit value
in the A1 register one bit to the right and stores the result back in the A1 register.
A - 146
Operation:
LSR
LSR A1
SR
A
:
:
0
A1,N4
$37:444445:828180
Before Execution
Freescale Semiconductor, Inc.
LSR D (parallel move)
47
For More Information On This Product,
INSTRUCTION DESCRIPTIONS
$0300
INSTRUCTION SET DETAILS
Go to: www.freescale.com
;shift A1 one bit to the right, set up N4
Logical Shift Right
24
SR
A
C (parallel move)
$37:222222:828180
After Execution
$0301
MOTOROLA
LSR

Related parts for dsp56000