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

1

u/emasculine Jul 04 '21

you need to look up flip flops which are generally transistors in a feedback loop to retain state. what's switching the state is the control logic surrounding them. all of it is built up from basic logic gates like nand and nor gates, which build bigger things like muxes, adders, alus, and so on.