Analog Devices ADSP-BF53x Blackfin Reference page 477

Table of Contents

Advertisement

• If
R4=0b1010 0101 1010 0101 1100 0011 1010 1010
where this is the scene bit field
R3=0bxxxx xxxx xxxx xxxx 0000 1101 0000 1001
where bits bits 15–8 are the position, and bits 7–0 are the
length
then the Bit Field Extraction (unsigned) instruction produces:
R7=0b0000 0000 0000 0000 0000 0001 0010 1110
Bit Field Extraction Sign-Extended
r7 = extract (r4, r3.l) (x) ;
• If
R4=0b1010 0101 1010 0101 1100 0011 1010 1010
where this is the scene bit field
R3=0bxxxx xxxx xxxx xxxx 0000 0111 0000 0100
where bits 15–8 are the position, and bits 7–0 are the length
then the Bit Field Extraction (sign-extended) instruction produces:
R7=0b0000 0000 0000 0000 0000 0000 0000 0111
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
/* sign-extended*/
Bit Operations
13-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents