What component of a computer converts binary/machine code to electrical signals and how?
I went through lots of blogs and posts but could not exactly figure out how the machine code is converted to electrical signals?Any software program is compiled to machine code which is nothing but lots of 1s and 0s. 1 means high voltage e.g 5V and 0 means comparatively low voltage e.g. 0V or ground, what component is responsible for changing the voltage between 5V and 0?
At a very low level the architecture of a computer is comprised of a TON of switches known as transistors. These switches are very small. For example an Intel Core i9 contains 1.75 Billion transistors! That is a lot of switches. These switches create systems of logical gates that can be used to store bits. The electricity that powers the computer is fed to the system of logical gates and given the arrangement of the gates then causes the voltage to switch from high to low as the gates react to the incoming power.