I don't know how to interpret the overflow bit in a 4 bit diff

后端 未结 0 1035
情歌与酒
情歌与酒 2021-02-01 07:35

Say I do A - B where: A = 1010, and B: 0101. I did the A2 complement of B and its 1011. So then I should do 1010 + 1011, but when I do this the result is 10101 (a 5 bit number).

相关标签:
回答
  • 消灭零回复
提交回复
热议问题