原创 Blackfin的技术文章和教学视频连载7:内核之MSASHIFTER

2014-7-31 10:05 737 7 7 分类: 处理器与DSP 文集: Blackfin的技术文章和教学视频连载

    BARREL-SHIFTER,看图说话!

 
    20140726203115721.jpg
 
    Overview:
 
    The shifter performs bitwise shifting for 16-bit, 32-bit or 40-bit inputs and yields 16-bit, 32-bit, or 40-bit outputs.
 
    Functions
  • Arithmetic Shift:  
    The Arithmetic Shift instruction shifts a registered number a specified distance and direction while preserving the sign of the original number.
    The sign bit value back-fills the left-most bit positions vacated by the arithmetic right shift.
  • Logical Shift:  
    The Logical Shift instruction logically shifts a registered number a specified distance and direction.  
    Logical shifts discard any bits shifted out of the register and backfill vacated bits with zeros.
 
    英文没意思,下一章开始,正式中文加视频讲解,详细说说Blackfin的外设。
dsp
PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
7
关闭 站长推荐上一条 /3 下一条