# Bit operations visualised: NOT, AND, OR, XOR and shifts

> Interactive bitops: column-wise NOT, AND, OR, XOR and shifts on two n-bit patterns. With per-column truth pills and result bit pattern.

Address: https://marckimmel.de/en/informatik/zahlenkodierungen/bitops
Deutsche Fassung: https://marckimmel.de/informatik/zahlenkodierungen/bitops.md

Per-bit operations on bit patterns: NOT, AND, OR, XOR, left shift, right shift.

Bitwise C operators work per bit on patterns without interpreting them as numbers. ~x flips every bit; x & y, x | y, x ^ y combine bits via AND, OR, XOR; x > k shifts right (integer division by 2^k). Essential in low-level programming.

Microcontroller registers, bit masks, fast multiplication/division by powers of two, embedded systems.

## Related

- [Number Encodings](https://marckimmel.de/en/informatik/zahlenkodierungen.md)
