Shift / Rotate Operations Instructions
C-50
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
Arithmetic Shift
0xC603 1000—
0xC603 1038
1 1 0 0 0 1 1 0 0 x x 0 0 0 1 1
0 0 0 1 0 0 0 x x x Source
Dreg #
0 0 0
A1 = ASHIFT A1 BY Dreg_lo
Logical Shift
0x4500—
0x453F
0 1 0 0 0 1 0 1 0 0 Source
Preg #
Dest.
Preg #
Preg = Preg >> 1
Logical Shift
0x44C0—
0x44FF
0 1 0 0 0 1 0 0 1 1 Source
Preg #
Dest.
Preg #
Preg = Preg >> 2
Logical Shift
0x5A00—
0x5BFF
0 1 0 1 1 0 1 Source
Preg #
Dest.
Preg #
Dest.
Preg #
NOTE: Both Destination Preg # fields must refer to the same Preg number. Otherwise, this opcode rep-
resents an Add with Shift instruction.
NOTE: This Preg = Preg <<1 instruction produces the same opcode as the special case of the Preg = Preg
+ Preg Add instruction, where both input operands are the same Preg (e.g., p3 = p0+p0;) that accom-
plishes the same function. Both syntaxes double the input operand value, then place the result in a Preg.
Preg = Preg << 1
Logical Shift
0x4440—
0x447F
0 1 0 0 0 1 0 0 0 1 Source
Preg #
Dest.
Preg #
Preg = Preg << 2
Logical Shift
0x4E00—
0x4EFF
0 1 0 0 1 1 1 uimm5
Dest.
Dreg #
Dreg >>= uimm5
Logical Shift
0x4F00—
0x4FFF
0 1 0 0 1 1 1 uimm5
Dest.
Dreg #
Dreg <<= uimm5
Logical Shift
0xC680 8180—
0xC680 8FFF
1 1 0 0 0 1 1 0 1 0 0 0 0 0 0 0
1 0 0 0 Dest.
Dreg #
2’s comp. of
uimm4
Source
Dreg #
Dreg_lo = Dreg_lo >> uimm4
Table C-16. Shift / Rotate Operations Instructions (Sheet 5 of 9)
Instruction
and Version
Bin
Opcode Range
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
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...