Block diagram of a CPU.
Microprocessor is the primary components it function with i/o and memory as below:-
1.Firstly data and instruction is entered through the keyboard and other input devices and then.
2.It goes to the microprocessor in the prefetch unit.It will transfer these data for execution and then it retrieves the data and after processing gives to the memory.
3.Next output is given to the moniter,printer or output devices after storing it to the resisters or memory.
for details study about memory go to my memory blog...