Analog Devices ADSP-BF53x Blackfin Reference page 482

Table of Contents

Advertisement

Instruction Overview
Example
bitmux (r2, r3, a0) (asr) ;
• If
R2=0b1010 0101 1010 0101 1100 0011 1010 1010
R3=0b1100 0011 1010 1010 1010 0101 1010 0101
A0=0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0111
then the Shift Right instruction produces:
R2=0b0101 0010 1101 0010 1110 0001 1101 0101
R3=0b0110 0001 1101 0101 0101 0010 1101 0010
A0=0b1000 0000 0000 0000 0000 0000 0000 0000 0000 0001
bitmux (r3, r2, a0) (asl) ;
• If
R3=0b1010 0101 1010 0101 1100 0011 1010 1010
R2=0b1100 0011 1010 1010 1010 0101 1010 0101
A0=0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0111
then the Shift Left instruction produces:
R2=0b1000 0111 0101 0101 0100 1011 0100 1010
R3=0b0100 1011 0100 1011 1000 0111 0101 0100
A0=0b0000 0000 0000 0000 0000 0000 0000 0000 0001 1111
13-24
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* right shift*/
/* left shift*/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents