In Computer Architecture, the Registers are very fast computer memory which are used to execute programs and operations efficiently. This does by giving access to commonly used values, i.e., the values which are in the point of operation/execution at that time. So, for this purpose, there are several different classes of CPU registers which works in coordination with the computer memory to run operations efficiently.
These are classified as given below.
This is the most frequently used register used to store data taken from memory. It is in different numbers in different microprocessors.
- Memory Address Registers (MAR):
It holds the address of the location to be accessed from memory. MAR and MDR (Memory Data Register) together facilitate the communication of the CPU and the main memory.
- Memory Data Registers (MDR):
It contains data to be written into or to be read out from the addressed location.
- General Purpose Registers:
These are numbered as R0, R1, R2….Rn, and used to store temporary data during any ongoing operation. Its content can be accessed by assembly programming.
- Program Counter (PC):
Program Counter (PC) is used to keep the track of execution of the program. It contains the memory address of the next instruction to be fetched. PC points to the address of the next instruction to be fetched from the main memory when the previous instruction has been successfully completed. Program Counter (PC) also functions to count the number of instructions.
- Instruction Register (IR):
It is the register which holds the instruction which is currently been executed.
So, these are the different registers which are operating for a specific purpose.
- Registers of 8085 microprocessor
- Digital logic | Shift Registers
- General purpose registers in 8086 microprocessor
- 8085 program to add three 16 bit numbers stored in registers
- Classes of Routing Protocols
- Mathematics | Classes (Injective, surjective, Bijective) of Functions
- Total Recursive Functions and Partial Recursive Functions in Automata
- Introduction of Shortest Remaining Time First (SRTF) algorithm
- IIT Kanpur M. Tech Interview Experience
- Process Scheduler : PCBs and Queueing
- Process Scheduler : Job and Process Status
- IIT Madras M.S. Interview Experience
- Difference between Serial Port and Parallel Ports
- Difference between Direct and Indirect Addressing Modes
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.