Answer the question
In order to leave comments, you need to log in
How are integers represented in computer memory?
I understand that the computer understands the binary code, and this code can be represented in the form of direct (sign bit everything is there), reverse, additional code. The reverse and additional code help to replace the subtraction procedure with addition. I mean, for example, -10+ 5=-5 (1111 1011 well, I wrote it down in the complementary code). Question: why then do we need the reverse, if there is an additional one?
One more question: How does the computer know when to use direct, when reverse (if it uses it at all), and when additional code
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question