So I am not an engineer (FYI); I am currently training as either a physicist or a theoretical mathematician I think (still a freshman). Nonetheless I find the fundamental workings of a computer incredibly complex and would like to get a taste of ground-up design. I was wondering if anyone knew of any books that approached design from a very "electron is going through this wire, which leads to this reaction, which hence allows current to flow through this wire" sort of framework. I'm also interested in how such a seemingly complicated arrangement (as the ones used in actual computers) is pragmatically even possible. My assumed understanding of computers is that they use materials that act as if-then clauses (semiconductors). These if-then clauses allow programers to type in inputs to create new if-then clauses (called a program). Therefore a computer is a combination of materials that is allowed to change the way it works depending on how the buttons that are part of it are pressed (although that wiring arrangement sounds very complicated). Thank you for your time in reading this.