Machine Cycle

Understand the Fetch-Decode-Execute-Store cycle used by the CPU to process instructions.

Interactive Simulation

Machine Cycle: Fetch, Decode, Execute, Store

Ready to start

Press Next Step to begin the fetch-decode-execute-store cycle.

Active in this step

CPU

Control Unit

Program Counter (PC)

10

Current Instruction Register (CIR)

-
Arithmetic Logic Unit

Accumulator

0

ALU Result: -

Memory Address Register (MAR)

-

Memory Data Register (MDR)

-
Main Memory
AddressData/Instruction
0
1
2
320
430
5
6
7
8
9
10ADD 2
(Add whatever is in location 2 to the accumulator)
11ADD 4
12STA 5
13
14
15