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
- 8085 program to add three 16 bit numbers stored in registers
- General purpose registers in 8086 microprocessor
- Classes of Routing Protocols
- Mathematics | Classes (Injective, surjective, Bijective) of Functions
- Message Digest in Information security
- Difference between DDL and DML in DBMS
- Properties of Asymptotic Notations
- Difference between Impact and Non-Impact Printers
- Difference between Asymmetric and Symmetric Multiprocessing
- Regular Graph in Graph Theory
- Routing Tables in Computer Network
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. 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.