How to perform a perfect stoppie?

How does computer perform subtracting operation,as it has only ability to perform addition operation?

  • as we know that computer has only ability to perform addition,how it perform subtracting operation,i want atleast 6-7 arguments

  • Answer:

    its called two's compliment it works like this Now suppose we want to subtract 12 from 69. Now, 69 - 12 = 69 + (-12). To get the negative of 12 we take its binary representation, invert, and add one. 0000 1100 Invert the digits. 1111 0011 And add one. 1111 0100 The last is the binary representation for -12. As before, we'll add the two numbers together. 0100 0101 + 1111 0100 0011 1001 We result in 57, which is 69-12.

R77PMEBUO73ZWN6WC7VKOOIFFM at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

It decrements and shifts registers.

classicsat

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.