Computer Architecture and The Fetch Execute Cycle
Computer Architecture and The Fetch Execute Cycle
• Von Neumann Model is the most common architecture representation of a computer system.
• The Von Neumann architecture includes Arithmetic & Logic Unit (ALU), Control Unit (CU), Memory Unit,
Inputs/Outputs (I/O) and Registers.
• John von Neumann’s idea is based on holding data and programs in read-write Random Access Memory (RAM) and
then transferring it to the Memory Unit and processor i.e. the idea of a stored program.
• Before the introduction of stored programs, data and programmed instructions were stored separately.
• Von Neumann’s idea to treat programmed instructions as data has made many programming tools possible
including assembler and compiler.
• Figure (i) shows a basic Von Neumann's architecture representation that shows the connection between processor
and memory with buses.
• Figure (ii) is a more detailed representation of a Von Neumann architecture and introduces the concept of registers
and addresses.
• It includes the Control Unit, Arithmetic and Logic Unit, and various registers.
2. Control Unit:
• It is responsible for controlling the operations of the Arithmetic and Logic Unit (ALU), Memory Unit and I/O
devices.
• It tells the devices, how to respond to programmed instructions after interpreting the instructions from the
memory unit.
3. Registers:
• In the CPU, there are high-speed storage areas known as registers.
• In Figure (ii), you can see various types of register. The details of some registers are as under:
Fetch-Execute Cycle:
• It is also known as the Fetch-Decode-Execute cycle.
• During this cycle, programmed instruction is retried from the memory and then the required actions are performed
as per the instructions.
• While the computer system is ON, the fetch-decode-execute cycle is repeated continuously.
Fetch:
3. Lookup for MAR and copy instructions data into MDR (Memory Data Register).
Execute:
Reset:
8. Reset (repeat from step 1).
Buses:
• It allows the transmission of data from one part to another part of a computer system.
Address Bus:
• It is responsible for transmitting the data addresses between memory and processor.
Control Bus:
• It is responsible for transmitting the control commands/signals from the CPU in order to coordinate and control all
activities within the computer system.