Fetch Decode Execute Cycle
Fetch Decode Execute Cycle
■ The Control Unit sends a signal to the RAM in order to fetch the program and data,
which is then stored in one of the CPU’s register. To do so, the CPU makes use of a
vital hardware path called the “address bus” along which the program and data
travels.
■ The Control Unit then increments the Program Counter (PC). The PC is an important
register that keeps track of the running order of the instructions and shows which
instruction in the program is due to be executed next.
■ The CPU then places the address of the next item to be fetched onto the address
bus. Data from this address then moves from main memory into the CPU by
travelling along another hardware path called the “Data Bus”.
Step 2. Decode
■ This is the part of the cycle when data processing takes place, and the instruction is
executed. In the example earlier, the values from the two variables, length and width
would be multiplied together. The result of this processing is then stored as the
variable area in yet another register.
■ Once the execute stage is complete, the CPU begins the cycle all over again.
Fetch-Decode-Execute Cycle in Detail
ANY QUESTIONS?