1.34k likes | 2.6k Views
Machine Code and the Fetch-Execute Cycle. Fetch-Execute Cycle. Fetch the next instruction Decode Execute It. ALU. 1. FETCH. ALU. 1. FETCH. ALU. 1. FETCH. ALU. 1. FETCH. ALU. 1. FETCH. ALU. 1. DECODE. ALU. 1. DECODE. Instruction Decoded. ALU. 1. EXECUTE. ALU. 2.
E N D
Fetch-Execute Cycle • Fetch the next instruction • Decode • Execute It
1 FETCH ALU
1 FETCH ALU
1 FETCH ALU
1 FETCH ALU
1 FETCH ALU
1 DECODE ALU
1 DECODE Instruction Decoded ALU
1 EXECUTE ALU
2 FETCH ALU
2 FETCH ALU
2 FETCH ALU
2 FETCH ALU
2 DECODE ALU
2 DECODE Instruction Decoded ALU
2 EXECUTE ALU
2 EXECUTE ALU
3 FETCH ALU
3 FETCH ALU
3 FETCH ALU
3 FETCH ALU
3 DECODE ALU
3 DECODE Instruction Decoded ALU
3 EXECUTE ALU
4 FETCH ALU
4 FETCH ALU
4 FETCH ALU
4 FETCH ALU
4 DECODE ALU
4 DECODE Instruction Decoded ALU
4 EXECUTE ALU
4 EXECUTE ALU
4 EXECUTE ALU
4 EXECUTE 0A + 05 = 0F ALU
4 EXECUTE ALU
5 FETCH ALU
5 FETCH ALU
5 FETCH ALU
5 FETCH ALU
5 DECODE ALU
5 DECODE Instruction Decoded ALU
5 EXECUTE ALU
5 EXECUTE ALU