Beetwise

Learn binary, hex and bitwise operations

Each guide answers one question, with a worked example that follows the value in its editor.

Concepts

How binary, two’s complement, masks and byte order work.

Converters

Convert between decimal, hex, octal and binary, with every step.

Operations

AND, OR, XOR, NOT, the negated forms and the two shifts, with truth tables.

Text and characters

Read a byte as a character, and write text as bits.

Serial and registers

Plot live serial data and read a hardware register bit by bit.

Reference

Tables to look up: integer ranges, and the operators of each language.