Commodore 64 Assembly, part 4: how does the machine execute machine code?

4 points by mms


zzing

This is interesting, and sounds pretty right but as a narrative describing what the cpu is doing - although I find it a little hard to follow. The author hasn’t heard of how the instructions are actually decoded (PLA in 65xx).

Then the dance starts once again. What is sad here is that each operation takes different number of CPU cycles, as different number of actual operations need to take place. As to the best of my knowledge: this is the same for all x86 CPUS, but all instructions on ARM and RISC take the same number of cycles.

As far as I can tell this is not correct, although it is hard to find a global list of cycle counts for arm processors. On the face of it, different operations are going to take different clock cycles.