Adding and subtracting two's complement

前端 未结 2 944
一个人的身影
一个人的身影 2020-12-16 05:58

Using six-bit one\'s and two\'s complement representation I am trying to solve the following problem:

12 - 7 

Now, i take 12 in binary and

2条回答
  •  情歌与酒
    2020-12-16 06:19

    No. The algorithm for two's complement doesn't change based on where the negative value is.

提交回复
热议问题