Following Instructions
v
The control keeps track of where it is in the program
using a
program counter
or PC … a better name
would be “instruction pointer”
v
The control also fetches data and returns results to
the memory
PC
Fetch/Execute Cycle
•
Fetch Instruction From Memory At PC
•
Decode The Instruction; PC
¬
PC+1
•
Get Data Needed For Instruction
•
Execute (Perform) Instruction
•
Return the Result to Memory
Memory