r/AskComputerScience • • Jul 04 '21

How does a computer's software interact with transistors to use them as switches?

If I type an A on my computer screen, there's a row of transistors somewhere in my computer's system that represents the binary 01000001. What exactly is switching the state on these transistors?

Every time I Google about this, only explanations on how a transistor works come up.

33 Upvotes

12 comments sorted by

View all comments

5

u/zurkog Jul 05 '21

Play this game: https://nandgame.com/

Then take this (free) course: https://www.nand2tetris.org/

DM me if you need more info, but I took the course (the game is just a game-ified version of the course) and it really opened my eyes. I already knew how logic gates worked, I could build up to a full adder and a register (basic storage). From the top down, I knew how software worked, could write programs, knew how compilers worked, and knew the basics of computers (RAM, what a CPU was, the computer bus, etc). But I had never bridged the gap. Nand2Tetris did that for me.