What is “2's Complement”?

前端 未结 23 3046
名媛妹妹
名媛妹妹 2020-11-21 05:59

I\'m in a computer systems course and have been struggling, in part, with Two\'s Complement. I want to understand it but everything I\'ve read hasn\'t brought the p

23条回答
  •  庸人自扰
    2020-11-21 06:35

    The simplest answer:

    1111 + 1 = (1)0000. So 1111 must be -1. Then -1 + 1 = 0.

    It's perfect to understand these all for me.

提交回复
热议问题