What is CPU Register?
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3KaNUpp68fwhV4UQXFhgxQJJ-h-idpmcSt5rCWdHbq_J8BcWVzzdJUEa8ALqMU0fNvg21gGJVarKJ18X-5fh6QcvJ1U5lXDDYASy7bl4jTrKvcKPbPqtv4ZViRA25DX50VMOu3XBsZHcg/s320/Registers.png)
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