Systems architecture - AQAThe fetch-execute cycle

Computer systems are a combination of both hardware and software working together. Hardware is the physical components of a computer and software is the programs that run on a computer.

Part ofComputer ScienceTheoretical knowledge

The fetch-execute cycle

The fetch-execute cycle (also known as fetch-decode-execute cycle) is followed by a to process an . The cycle consists of several stages.

  1. The address held in the is copied into the .
  2. The address in the program counter is then incremented - increased - by one. The program counter now holds the address of the next instruction to be fetched.
  3. The processor sends a signal along the address to the memory address held in the MAR.
  4. The instruction/data held in that memory address is sent along the data bus to the .
  5. The instruction/data held in the MBR/MDR is copied into the .
  6. The instruction/data held in the CIR is decoded and then executed. Results of processing are stored in the .
  7. The cycle then returns to step one.

The principles of the fetch-decode-execute cycle