Home > other >  The computer how to achieve positive subtraction?
The computer how to achieve positive subtraction?

Time:10-12

Confused answer, I know only inside computer addition, subtraction is complement addition,
But if I define two positive, let the two of them by subtracting (such as a SUB in the assembly instructions), computer is how to achieve? Computing the minuend automatically from the original positive negative automatically? Or what other way?

CodePudding user response:

https://blog.csdn.net/pettome/article/details/7706584
Two related questions of binary subtraction
July 1, 2012 14:38:52 pettom reading number: 4334
1, when two binary subtraction may enclosed symbols into additive, such as 010-111, this time can be written as 010 + (111), 111 conversion to complement together again, so 010 + 001=011
  • Related