Build a CPU

Step 2 of 9

Exclusive OR

Making a gate that does not exist

You need a part that turns on when the two inputs are different. Nobody is going to give you one. Build it out of the three you have.

This is the first thing that requires a plan rather than a lucky click, and it is worth knowing why it matters: once you can build a missing part out of the parts you own, the set you started with stops being a limit.

This step builds on the ones before it, and will make a lot more sense after them. Go to Logic gates

Tap a part to add it. Tap an output pin, then the part it feeds. Tap a switch to flip it.

A0 · tap to flipB0 · tap to flipOut—
Something has an unconnected input. Every input pin needs a wire before the circuit can run.
ABOut
000·
011·
101·
110·

Sign in to save your progress. The board works either way.