1.1.2

Fetch, Decode, Execute Cycle

Test yourself

The Fetch, Decode, Execute Cycle

To process instructions and data, the processor needs to retrieve them from memory. To do this, it follows the fetch, decode, execute (FDE) cycle.

Illustrative background for FetchIllustrative background for Fetch ?? "content

Fetch

  • The address of the next instruction to be processed is copied from the Program Counter (PC) to the Memory Address Register (MAR).
  • The PC is incremented to point to the next instruction that will be needed when the cycle starts again.
  • The instruction stored at the location held by the MAR is copied to the MDR.
Illustrative background for DecodeIllustrative background for Decode ?? "content

Decode

  • The Control Unit decodes the instruction and sends control signals to the component within or outside the CPU that needs to act.
Illustrative background for ExecuteIllustrative background for Execute ?? "content

Execute

  • The operation indicated by the instruction is performed by the appropriate component. For example:
    • The Arithmetic Logic Unit (ALU) performs the operation given by the Control Unit.
    • The value stored by the Program Counter or Memory Address Register might be changed.

Jump to other topics

1Components of a Computer

2Software & Software Development

3Exchanging Data

4Data Types, Data Structures & Algorithms

5Legal, Moral, Cultural & Ethical Issues

6Elements of Computational Thinking

6.1Thinking Abstractly

6.2Thinking Procedurally

6.3Thinking Logically

7Problem Solving & Programming

8Algorithms

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson