E
E
Elvin_GSNV2017-12-30 18:28:55
binary code
Elvin_GSNV, 2017-12-30 18:28:55

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

1 answer(s)
D
Dimonchik, 2017-12-30
@dimonchik2013

teacher, load this nonsense
, no matter how the computer understands it - you won’t change anything,
learn and apply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question