Fetch-Execute cycle
Memory Read operation Read from memory
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 1 The Program Counter (PC) holds the address of the next instruction
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 1 The contents of the PC are copied to the Memory Address Register (MAR)
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 1 Memory address to be accessed is placed onto the address bus
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 1 The control bus sends a read signal >>read>>
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 1 The contents of the memory location are passed along the data bus to the Memory Data Register (MDR)
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 1 The PC is incremented ready for the next instruction 2
Memory Write operation Write to memory
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 2 Data is placed onto the data bus
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 2 Memory address to be written to is placed onto the address bus
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 2 A write signal is sent along the control bus >>write>>
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 2 The data is transferred to the destination in memory
Main Memory MAR MDR Control Unit ALU Other registers Electronic Clock Clock pulses Address bus Data bus Control bus PC 2 The PC is incremented 3