close
數位邏輯的補數問題~二的補數
Performsubtractiononthegivenunsignedbinarynumbersusingthe2'scomplementsofthesubtrahend.Wheretheresultshouldbenegative,findits2'scomplementandaffixaminussign.(a)10011-10001(b)1001-101000
前輩你好: 題目問哪個的答案是負數, 並算出它的2補數值及帶負號的正值。 答案是(b), 1001-101000 =-11111 =11100001(2's) (前面要補滿1,有幾位補幾位) 阿信~ 祝順心
1001110001-->1s-->0110001110-->2s-->01100011111001101000-->1s-->0110010111-->2s-->0110011000
以上文章來自奇摩知識家,如有侵犯請留言告知
https://tw.answers.yahoo.com/question/index?qid=20071017000015KK01267