Questions tagged [hexadecimal]

A tag for questions about base-16 numbers.

Filter by
Sorted by
Tagged with
10 votes
3 answers
2k views

Was there ever a microcomputer with a full-size keyboard and a hex numpad?

I'm aware of some early/super hobbyist microcomputers that came with ONLY a hex numpad (that is, no letters beyond F/no punctuation). I'm also aware of home microcomputers that had the usual decimal ...
Muzer's user avatar
  • 1,742
34 votes
1 answer
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 $ ...
Geo...'s user avatar
  • 9,333
48 votes
1 answer
6k 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 ...
cjs's user avatar
  • 24.5k
23 votes
5 answers
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?
hotpaw2's user avatar
  • 8,094