FUNCTIONS OF CPU
CLASS: PRIMARY 3 SUBJECT: COMPUTER STUDY
TOPIC: FUNCTIONS OF CPU
The CPU processes instructions it receives in the process of decoding data. In processing this data, the CPU performs four basic steps:
(a) Fetching: Each instruction is stored in memory and has its own address. The processor takes this address number from the program counter, which is responsible for tracking which instructions the CPU should execute next.
(b) Decoding: All programs to be executed are translated to into assembly instructions. Assembly code must be decoded into binary instructions, which are understandable to your CPU. This step is called decoding.
(c) Executing: While executing instructions the CPU can do one of three things: Do calculations with its ALU, move data from one memory location to another, or jump to a different address.
(d) Storing: The CPU must give feedback after executing an instruction, and the output data is written to the memory.
- List the four primary functions of a CPU