Posts

Showing posts with the label CPU registers

CPU registers and their functions

Image
 CPU registers and their functions Introduction : The program is stored in the main memory of the computer network system on contiguous memory locations. The data of any kind is also loaded into the computer's memory before the processing starts and then the control is given to the CPU. the Central Processing Unit needs storage areas where the data of any kind can be stored temporarily. Definition: As these storage areas are used frequently so for efficiency this special-purpose temporary storage of data areas is provided within the  CPU (Central Processing Unit) for enhancing the performance of the CPU (Central Processing Unit). These special purposes storage areas of data are called registers. CPU Register: PC (Program Counter): This register holds the address of the next instruction to be fetched for the execution of any type of data. As soon this instruction is fetched, its value is incremented so that it still has the address of the next instruction. IR (Instruction Regis...