Barrel Shifter (Shifter)
2-46
ADSP-BF535 Blackfin Processor Hardware Reference
The following example shows the input value up-shifted.
R0 = 0x0000 B6A3 ;
R0 <<= 0x04 ;
results in
R0.H = 0x000B ;
R0.L = 0x6A30 ;
Register Shifts
Register based shifts use a register to hold the shift value. The entire
32-bit register is used to derive the shift value, and when the magnitude of
the shift is greater than 32, then the result is either 0 or –1.
The following example shows the input value up-shifted.
R0 = 0x0000 B6A3 ;
R2 = 0x0000 0004 ;
R0 <<= R2 ;
results in
R0 = 0x000B 6A30 ;
Three Operand Shifts
Three operand shifter instructions shift an input register and deposit the
result in a destination register.
Immediate Shifts
Immediate shift instructions use the data value in the instruction itself to
control the amount and direction of the shifting operation.
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...