If you are still interested in how CPUs work, I would highly suggest listening to this interview with Jim Keller, a very high profile chip designer.
His insights into out-of-order execution is amazing. When you learn a CPU may run a piece of code different each time is very interesting. The output is deterministic of course, you’d get the same result. But the execution order changes all the time within the CPU.