How a processor runs one instruction
Fetch it, work out what it means, do it. Slowed down billions of times so you can watch one go round.
This is the text version. With JavaScript on, it’s a 3D drawing you can play, slow down and turn.
Fetch it, work out what it means, do it. Slowed down billions of times so you can watch one go round.
This is the text version. With JavaScript on, it’s a 3D drawing you can play, slow down and turn.
One at a time in a loop: fetch, decode, execute, next. Grandma Ruth’s grocery bills took five instructions and fifteen steps. Her laptop does about two billion steps a second, so when the graph says 12%, it’s waiting most of the time, not struggling.
Lesson 6.2: Fetch, Decode, Execute