Exercises

Interactive tools

Reference

Examples

Right-click and save to download the asm and circuit files.

Safari users: Safari sometimes changes file extensions. Do not trust it.

Numerical examples
IntRanges.java Shows and explains the ranges of the integer types in Java.
Bitwise.java Shows several bitwise operators and oddities.
Bitset.java Bitsets are a way of treating the bits of an integer like a small array of booleans.
not_gate.circ How a NOT gate is constructed out of transistors.
full_adder.circ A 1-bit full adder made of gates.