L
L
LoliDeveloper2020-10-10 08:26:04
assembler
LoliDeveloper, 2020-10-10 08:26:04

How does the computer understand that the number is unsigned?

I want to figure out what happens when I enter unsigned, because the memory cell remains the same size. How does he understand that it must be read exactly as unsigned? Does it have a list of unsigned variables that should be read unsigned or what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-10-10
@LoliDeveloper

"Understands" the C++ compiler. When compiling, it translates the program into machine code, including taking into account the declared types of variables.
When executing the program, no "understanding" is required anymore, all actions are specified in the code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question