I understand how the code is compiled to assembly, and that assembly is a 1:1
replacement with binary codes. Can somebody help me understand how binary is conne
Essentially, and very broadly speaking, the instructions end up in memory, and the program counter (PC) register holds the address of the first instruction.
The processor supports instructions that load can move data to/from memory to registers. The processor moves data into the instruction register, and that instruction gets executed at the next clock tick.
I'm not qualified to explain the electrical engineering behind that, but you could probably look it up.
Of course, this all fairly simplified, as there is a huge amount of parallelism going on in modern processors, and I don't even pretend to grok that in any meaningful way.