Analog Devices ADSP-BF53x Blackfin Reference page 850

Table of Contents

Advertisement

Shift / Rotate Operations Instructions
Table C-16. Shift / Rotate Operations Instructions (Sheet 5 of 9)
Instruction
and Version
Arithmetic Shift
A1 = ASHIFT A1 BY Dreg_lo
Logical Shift
Preg = Preg >> 1
Logical Shift
Preg = Preg >> 2
Logical Shift
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
Preg = Preg << 2
Logical Shift
Dreg >>= uimm5
Logical Shift
Dreg <<= uimm5
Logical Shift
Dreg_lo = Dreg_lo >> uimm4
C-50
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
Opcode Range
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0xC603 1000—
1 1 0 0 0 1 1 0 0 x x 0 0 0 1 1
0xC603 1038
0 0 0 1 0 0 0 x x x Source
0x4500—
0 1 0 0 0 1 0 1 0 0 Source
0x453F
0x44C0—
0 1 0 0 0 1 0 0 1 1 Source
0x44FF
0x5A00—
0 1 0 1 1 0 1 Source
0x5BFF
0x4440—
0 1 0 0 0 1 0 0 0 1 Source
0x447F
0x4E00—
0 1 0 0 1 1 1 uimm5
0x4EFF
0x4F00—
0 1 0 0 1 1 1 uimm5
0x4FFF
0xC680 8180—
1 1 0 0 0 1 1 0 1 0 0 0 0 0 0 0
0xC680 8FFF
1 0 0 0 Dest.
Bin
Dreg #
Preg #
Preg #
Dest.
Preg #
Preg #
Preg #
2's comp. of
Dreg #
uimm4
0 0 0
Dest.
Preg #
Dest.
Preg #
Dest.
Preg #
Dest.
Preg #
Dest.
Dreg #
Dest.
Dreg #
Source
Dreg #

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents