#queA register is a memory location surrounded by the CPU itself, designed to be rapidly accessed for purposes of fast data retrieval. Processors normally hold a register array, which houses many such registers. These hold instructions, data and other values that may require to be quickly accessed during the execution of a program.
There are 7 kinds of registers as follows:
1. Program Counter
2. Instruction Register
3. Memory Address Register
4. Accumulator
5. Memory Buffer Register
6. Other general purpose registers
7. Status flags/ Flag register