Hexadecimal Numbers and Their Uses

Why people read memory in base 16, how one digit stands for exactly four bits, how to convert to and from binary and denary, and where hexadecimal is used for colours, addresses and code.

Hexadecimal numbers and their uses
↺

How many patterns fit one hexadecimal digit?

Step 1 of 2 · Drag Dial round, or tap +/−, until Visited has every setting.

Reader

02D8

Dial · Lamps

Drag pointer · or tap +/−
Visited

Chip · written cells

Lever
Uses less memory?Not checked

Memory dump

Chip

512 bits stored
Colour table · 02A2–02A4
Machine-code listing · 02C0–02CF
Addresses label each row and column.

Hex also appears in MAC and IPv6 addresses, and error codes.

A small invented memory scrap. The machine-code bytes are data, not a running program. Pairs are shown left to right; actual byte order is outside this lab. Colour matching uses a stated tolerance; the numbered channel task is exact. Some low-level tables write &4A for hex 4A.