What is CPU Register?
CPU Registers - Registers are used to quickly process the data which is currently used by the processor. A CPU contains a number of registers which are used to store the intermediate result, or temporary data produced during the execution of a program. Registers are used to quickly accept, store and transfer the data & instruction that are being used immediately by the processor. In a computer, a register is the fastest memory & that's why, the cost of registers are too expensive. Registers comes at the top of Memory Hierarchy Design. Types of Registers - A CPU contains various types of registers whose number varies from processor to processor, some processors contain less registers & some more. On the basis of their specific functions, registers are classified into three parts. 1.General Purpose Register 2.Accumulator 3.Special Purpose Register 1. General Purpose Register - These registers are used to store data and intermediate results produc