the CPU executes each instruction in a series of small steps. the steps are as follows.

- fetch the instruction from the memory into the instruction register.
- change the program counter to point the following instruction.
- determining the type of instruction just fetched.
- if the instruction uses a word in memory,determine where it is.
- fetch the word,if needed into a CPU register.
- execute the instruction
- Go to step 1 to begin executing the following instruction.
this sequence is also known as fetch-decode-execution cycle.