What is register memory, This register memory is the smallest and fastest memory in a computer. It is not part of the main memory and is located in the CPU in the form of registers, which is the smallest to hold data. One is temporarily used data, holds instructions and memory addresses and is used by the CPU. they provide instructions that are currently processed by the CPU. All data has to pass through the registers before it is processed. The registers contain small amounts of data ranging from 32 bits to 64 bits. CPU speed depends on the number and size of registers (number of bits) built into the CPU.
What is register memory for computer
The functions of computer registers are as follows:-
o Data Register :- It is a 16-bit register, used to store the operands to be operated by the processor. It temporarily stores data.
o Program counter (PC) :- It holds the memory location of the next instruction, which is received from the current instruction. Therefore, it is used for execution of various programs, and thus programs are executed one by one upon completion of the previous instruction.
o Instructor register :- It is 16-bit register memory. Which stores the instruction and is derived from main memory. So, it is used to hold instruction code. The control unit takes instructions from the instructor register, then decodes and executes it.
o Accumulator Register :- It is a 16-bit register, which is used in storing the results produced by the system. As such the results generated after processing by the CPU are stored in the AC register.
o Address Register :- It is a 12-bit register that stores memory location addresses where instructions or data are stored in memory.
o I/O Address Register :- Its function is to specify the address of a particular I / O device.
o I/O Buffer Register :- Its function is the exchange of data between the I / O module and the CPU.