ADSP-BF53x/BF56x Blackfin Processor Programming Reference
C-147
Instruction Opcodes
Bit Set
BITSET (Dreg, uimm5)
0x4A00—
0x4AFF
Bit Toggle
BITTGL (Dreg, uimm5)
0x4B00—
0x4BFF
Bit Clear
BITCLR (Dreg, uimm5)
0x4C00—
0x4CFF
Arithmetic Shift
Dreg >>>= uimm5
0x4D00—
0x4DFF
Logical Shift
Dreg >>= uimm5
0x4E00—
0x4EFF
Logical Shift
Dreg <<= uimm5
0x4F00—
0x4FFF
Add
Dreg = Dreg + Dreg
0x5000—
0x51FF
Subtract
Dreg = Dreg – Dreg
0x5200—
0x53FF
AND
Dreg = Dreg & Dreg
0x5400—
0x55FF
OR
Dreg = Dreg | Dreg
0x5600—
0x57FF
Exclusive-OR
Dreg = Dreg ^ Dreg
0x5800—
0x59FF
Add
Preg = Preg + Preg
0x5A00—
0x5BFF
Logical Shift
Preg = Preg << 1
0x5A00—
0x5BFF
NOTE: The special case of the Preg = Preg + Preg Add instruction, where both input operands are the
same Preg (e.g., p3 = p0+p0;), produces the same opcode as the Logical Shift instruction Preg = Preg << 1
that accomplishes the same function. Both syntaxes double the input operand value, then place the result
in a Preg.
Shift with Add
Preg = Preg + (Preg <<1)
0x5C00—
0x5DFF
Shift with Add
Preg = Preg + (Preg <<2)
0x5E00—
0x5FFF
Table C-22. 16-Bit Opcode Instructions (Sheet 8 of 14)
Instruction
and Version
Opcode
Range
Содержание ADSP-BF53x Blackfin
Страница 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 780: ...Product Identification Register 21 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 994: ...Instructions Listed By Operation Code C 194 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...