Answer:
There are four different functions of a CPU, Fetch, Decode, Execute, and Store. When the CPU is fetching, it means that the CPU is reading instructions that were loaded into memory(RAM). The CPU then decodes these instructions into binary(0, 1). After the CPU has decoded into binary, the CPU will execute the instructions. Finally the CPU loads the output to memory so that the cycle can begin again.
Explanation:
Hope this helps :)
Here are the 4 functions of the CPU explaind:
Fetch: 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. Decode: All programs to be executed are translated into Assembly instructions. Assembly code must be decoded into binary instructions, which are understandable to your CPU. This step is called decoding.Execute: 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.Store: The CPU must give feedback after executing an instruction, and the output data is written to the memory.