Presentation is loading. Please wait.

Presentation is loading. Please wait.

Fetch-Execute Cycle Fetch the next instruction Decode Execute It.

Similar presentations


Presentation on theme: "Fetch-Execute Cycle Fetch the next instruction Decode Execute It."— Presentation transcript:

1

2 Fetch-Execute Cycle Fetch the next instruction Decode Execute It

3 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR PC MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator

4 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR PC 2000 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

5 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2000 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

6 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2002 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

7 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2002 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 FETCH

8 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 1

9 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand 00010000 0000 1010 ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 1 DECODE

10 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand 00010000 0000 1010 ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 1

11 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2002 MBR 100A CIR Op-CodeOperand 00010000 0000 1010 ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 1

12 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2002 PC 2002 MBR CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 FETCH

13 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2002 PC 2004 MBR CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 FETCH

14 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2002 PC 2004 MBR CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 FETCH

15 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2002 PC 2004 MBR 8019 CIR Op-CodeOperand ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 2

16 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2002 PC 2004 MBR 8019 CIR Op-CodeOperand 10000000 0001 1001 ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 DECODE

17 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 2000 PC 2004 MBR 8019 CIR Op-CodeOperand 10000000 0001 1001 ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 2

18 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 001900 001A00 001B00 001C00 MAR 0019 PC 2004 MBR 0A CIR Op-CodeOperand 10000000 0001 1001 ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 2

19 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 0019 PC 2004 MBR 0A CIR Op-CodeOperand 10000000 0001 1001 ACC 0A ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 2 EXECUTE

20 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2004 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 FETCH

21 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 FETCH

22 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 FETCH

23 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 3

24 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand 00010000 0000 0101 ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 3 DECODE

25 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand 00010000 0000 0101 ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 3

26 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2004 PC 2006 MBR 1005 CIR Op-CodeOperand 00010000 0000 0101 ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 3

27 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2006 PC 2006 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 FETCH

28 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 FETCH

29 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 FETCH

30 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR 4019 CIR Op-CodeOperand ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 4

31 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR 4019 CIR Op-CodeOperand 01000000 0001 1001 ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 4 DECODE

32 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2006 PC 2008 MBR 4019 CIR Op-CodeOperand 01000000 0001 1001 ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 4

33 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 019 PC 2008 MBR CIR Op-CodeOperand 01000000 0001 1001 ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

34 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 019 PC 2008 MBR CIR Op-CodeOperand 01000000 0001 1001 ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

35 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 019 PC 2008 MBR 0A CIR Op-CodeOperand 01000000 0001 1001 ACC 05 ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

36 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 019 PC 2008 MBR 0A CIR Op-CodeOperand 01000000 0001 1001 ACC ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4 0A + 05 = 0F

37 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 019 PC 2008 MBR 0A CIR Op-CodeOperand 01000000 0001 1001 ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator EXECUTE 4

38 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2008 PC 2008 MBR CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 FETCH

39 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 FETCH

40 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 FETCH

41 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR 801A CIR Op-CodeOperand ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator FETCH 5

42 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR 801A CIR Op-CodeOperand 10000000 0001 1100 ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 DECODE

43 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 2008 PC 2010 MBR 801A CIR Op-CodeOperand 10000000 0001 1100 ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator DECODE Instruction Decoded 5

44 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A00 001B00 001C00 MAR 001A PC 2010 MBR 0F CIR Op-CodeOperand 10000000 0001 1100 ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 EXECUTE

45 Instruction Memory 2000100A (LOAD #10) 20028019 (STORE 25) 20041005 (LOAD #05) 20064019 (ADD 25) 2008801A (STORE 26) Data Memory 001800 00190A 001A0F 001B00 001C00 MAR 001A PC 2010 MBR 0F CIR Op-CodeOperand 10000000 0001 1100 ACC 0F ALU PCProgram Counter MARMemory Address Register MBRMemory Buffer Register CIRCurrent Instruction Register ALUArithmetic and Logic Unit ACCAccumulator 5 EXECUTE


Download ppt "Fetch-Execute Cycle Fetch the next instruction Decode Execute It."

Similar presentations


Ads by Google