Fetch Decode Execute
What does a computer do?
A computer runs a computer program
What is a Program?
A program is the sequence of instructions stored in 'memory' required to solve a specified problem.
The computer will typically perform the execution cycle when taking on any instruction.
There will be different parts :instruction memory, control unit, data memory and data processing / local storage.
Three main stages of the cycle include: FETCH - DECODE - EXECUTE
First, the CU fetches a
single instruction and data from the main memory
The
instruction is decoded
The ALU executes the instruction
The ALU sends the result of the
processing back to the control unit – this is stored in the memory unit.
No comments:
Post a Comment