Home > Common Problem > body text

Does the computer use hexadecimal numbers internally?

藏色散人
Release: 2020-12-01 11:16:16
Original
26259 people have browsed it

The computer uses not hexadecimal numbers, but binary; the computer uses binary for calculation and storage; using binary to represent numbers in electronic computers can save equipment; and because binary includes ternary It has advantages that other binary systems, including the binary system, do not have, so most electronic computers still use the binary system.

Does the computer use hexadecimal numbers internally?

#The number system used internally by the computer is binary. Using binary representation of numbers in electronic computers can save equipment. It can be theoretically proven that using the ternary system saves the most equipment, followed by the binary system. However, because the binary system has advantages that other binary systems, including the ternary system, do not have, most electronic computers still use the binary system.

In addition, since only two symbols "0" and "1" are used in binary, Boolean algebra can be used to analyze and synthesize the logical circuits in the machine. This provides a useful tool for designing electronic computer circuits.

The binary notation system uses only two digits. 0 and 1, so any component with two different stable states can be used to represent a certain bit of the number. In fact, there are many components with two obvious stable states.

For example, the "on" and "off" of the neon lamp; the "on" and "off" of the switch; the "high" and "low", "positive" and "negative" of the voltage; the paper tape "with holes" and "without holes", "with signal" and "without signal" in circuits, the south pole and north pole of magnetic materials, and the list goes on. It is easy to use these distinct states to represent numbers.

Not only that, but more importantly, the two completely different states are not only quantitatively different, but also qualitatively different. This can greatly improve the machine's anti-interference ability and improve reliability.

The four arithmetic rules of the binary counting system are very simple. Moreover, the four arithmetic operations can ultimately be reduced to addition operations and shifts. In this way, the arithmetic circuits in electronic computers have become very simple. Not only that, the line is simplified and the speed can be increased. This is also incomparable to the decimal counting system.

The above is the detailed content of Does the computer use hexadecimal numbers internally?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template