Logic From Switches (transistors → gates → adder → memory)
Logic From Switches · Open board
The same wall of switches turning into gates, an adder, and a loop that remembers, walked through here in words instead of a diagram.
Before you start.Everything Is a Number (bits & bytes) showed a computer stores everything as switches wired into bytes, each one only on or off. Numbers for Real (signed ints, overflow, floating point) showed a byte holds just 256 patterns, so a sum needing a 257th loses its top bit. This lesson is where those switches start doing work: adding numbers, and holding onto the answer after the switches that made it have moved on.
Lesson 4 of 41 in How Computers Work
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.