Questions tagged [hexadecimal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
26
votes
1answer
2k views

When and where did the $ convention for hexadecimal literals originate?

I found this question asking about the origin of 0x to denote hexadecimal to be interesting. However, when I cut my teeth programming on 8-bit 65xx systems in the early 80's everything I saw used a $ ...
43
votes
1answer
5k views

Where and when did the `0x` convention for hexadecimal literals originate?

By the early 1980s, C was using 0x as a prefix to indicate integer literals expressed in hexadecimal, e.g., 0xCAFE. This did not exist in B as of 1972, though B did support octal integer literals via ...
22
votes
5answers
4k views

What is the hex versus octal timeline?

When and why did hexadecimal representation become more common than octal for displaying and printing out multi-bit binary fields?