Instruction Overview
13-12
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
• Sign-extended, L = 0 and p = 0: The architecture copies the lower
order bits of
backgnd_reg
below position p into
dest_reg
, then
sign-extends that number. The foreground value has no effect. For
instance, if:
backgnd_reg
= 0x0000 8123,
L = 0, and
p = 16,
then:
dest_reg
= 0xFFFF 8123.
In this example, the architecture copies bits 15–0 from
backgnd_reg
into
dest_reg
, then sign-extends that number.
• Sign-extended, (L + p) > 32: Any foreground bits that fall outside
the range 31–0 are truncated.
The Bit Field Deposit instruction does not modify the contents of the two
source registers. One of the source registers can also serve as
dest_reg
.
Options
The (X) syntax sign-extends the deposited bit field. If you specify the
sign-extended syntax, the operation does not affect the
dest_reg
bits that
are less significant than the deposited bit field.
Flags Affected
This instruction affects flags as follows.
•
AZ
is set if result is zero; cleared if nonzero.
•
AN
is set if result is negative; cleared if non-negative.
•
AC0
is cleared.
Summary of Contents for ADSP-BF53x Blackfin
Page 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Page 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...