[ELI5] Why isn’t hexadecimal used for creating computer storage data? Why is it always in binary?

794 views

I’m asking this because data in game cartridges always seem to be shown in hexadecimal values instead of binary. I reckon maybe hexadecimal is more convenient than binary.

In: Technology

10 Answers

Anonymous 0 Comments

Data storage and data transfer are all done in binary because our technologies all work with on/off signals. Hexadecimal (base-16) would require having 16 unique and differentiable signals (logic levels) rather than on/off.

Because there’s no such thing as a digital signal in real life (on/off isn’t real, there’s always tiny fluctuations) logic levels don’t use 0 volts or max voltage to represent 0 and 1. Instead, they use various thresholds and zones to represent different logic levels. With TTL technology, logic 0 is 0 volts to 0.8 volts, and logic high is 2 volts to the collector voltage (usually 5 volts). Those threshold zones exist to prevent random fluctuations from flipping from one logic level to another.

Since with base-16 you’d need 16 distinct logic levels, you’d need to have 16 different threshold zones to represent those logic levels as voltage. This poses even more of an issue when you consider that the allowable voltage range for modern desktop CPUs is 0 volts to ~1.4 volts.

Hexadecimal is used to display binary values because it’s more compact to display on a screen, since two hexadecimal digits can be used to represent eight binary digits, or one byte.

You are viewing 1 out of 10 answers, click here to view all answers.