What are Types Of Computer Register? A computer register is basically a small set of data that has a very fast memory built into the central processing unit. It helps to accelerate its operations with the help of rendering a fast access to the generally used values. The computer registers are considered to be the leading memory hierarchy and are the quickest way to manipulate, store and transfer data. Typically, the registers are utilized to stock various types of data temporarily throughout the performance of any program. There are different types of computer registers that vary in size, names and functions. MAR or memory address register is the type of computer register whish stores the memory addresses of different instructions and data.
Generally, the MAR is used to approach data and commands from the memory in the execution stage of any instruction. For instance, when the CPU needs to store or read any data from the memory then it keeps the required addresses in the memory address register. Another type of computer register is of program counter which is also named instruction pointer or IP. This is considered to be an advanced register and is capable of chasing the next memory address of the data that is to be executed. Another type of computer register is of accumulator register that is actually used for stocking the results created by the system. When the results are generated by the CPU after processing, then finally all of them are stored in the AC or accumulator register.
Memory data register or MDR is the type of computer register which consists of the data that had to be stored in the storage of the computer i.e. RAM. Typically, the MDR register behaves as a buffer and can hold everything which is copied from the memory and is prepared for the processor’s usage. In addition, this computer register actually holds the data before it goes to the decoder. The MDR is essentially a two way registering, when the information is brought from the memory and laid in the MDR, it is written in a single direction. On the other hand, the written data is placed in the MDR from another CPU register that puts the information into the memory. Another type of computer register is of index register, which is also named as base register. This type of register is actually utilized for changing the quantity of addresses when a program runs.
Memory buffer register or MBR is the type of computer registers that holds the subject of information written or read in the memory. In short, we can say that the MBR is utilized to store different type of data or instructions either coming or going from the memory. The data register is the type of computer register that is used basically in microcomputers in order to store the information temporarily that has been carried to or from any peripheral device. Besides these, some other computer registers are flag register, stack control register, instruction register, and program counter.