精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 算術(shù)移位與邏輯移位有什么區(qū)別?

    算術(shù)移位與邏輯移位有什么區(qū)別?
    數(shù)學(xué)人氣:712 ℃時間:2020-04-15 09:01:23
    優(yōu)質(zhì)解答
    邏輯移位(不管是左移位還是右移位) 都是空缺處補0\x0d例如:mov ax ,1100_0111_0110_1000Bmov cl ,3shl ax ,cl ; 結(jié)果 ax = 0011_1011_0100_0000\x0dmov ax ,1100_0111_0110_1000Bmov cl ,3shr ax ,cl ; 結(jié)果 ax = 0001_1000_1110_1101\x0d算術(shù)移位要保證符號位的不改變(邏輯左移位補0,邏輯右移位看符號位)\x0d例如:mov ax ,1100_0111_0110_1000Bmov cl ,3sal ax ,cl ; 結(jié)果 ax = 0011_1011_0100_0000\x0dmov ax ,1100_0111_0110_1000Bmov cl ,3sar ax ,cl ; 結(jié)果 ax = 1111_1000_1110_1101\x0dmov ax ,0100_0111_0110_1000Bmov cl ,3sar ax ,cl ; 結(jié)果 ax = 0000_1000_1110_1101\x0d可以總結(jié)如下:算術(shù)左移同邏輯左移\x0d算術(shù)右移移入的位用符號位填
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版