How does a computer "write" something... to memory, a registry, etc...? Answered
I know that every computer has a CPU.
I know that every CPU has it's own Instruction Set, or... set of things that it can do:
- Jump to
I even know a fair amount about how a CPU interacts with RAM along the Data Bus and the Address Bus with Set wires etc, and how a CPU's ALU (Arithmetic Logic Unit) stores data temporarily in "registries" and uses "flags" to send things back to the Control Unit if the CPU.
So, I know a fair amount about "How a computer works." But... it is all theoretical. I have memorized words and ideas like "ALU" and "Registry" and even RAM. But there is one thing that I do not understand and cannot seem to find anywhere on the internet.
The verbs "write" and "store"...???
I know that a record cutter uses electrical current spread across metal plates with magnets that push a scoring tool into a soft "scratchable" medium to cut a long groove to make a record. Then a phonograph has a needle that that is likewise suspended between electrical currents with magnets that telegraph the grooves up a wire to replicate the sound through a horn (later a speaker).
But as far as I know... RAM or a CPU's registries can have binary "words" somehow written to them for storage. I know it is happening at 3-4 billion times per second, but even if you slow it down to one time per minute... how does a CPU "write" 00110100 to RAM? There are no magnets in RAM like on a hard drive. RAM has no physical material that can be changed to represent a zero or a one... like... wax, or vinyl, or magnets. I don't even know who I can ask this to... so I'm asking here.