What are Computer Registers in Computer Architecture?

Computer ArchitectureComputer ScienceNetwork

Computer registers are high-speed memory storing units. It is an element of the computer processor. It can carry any type of information including a bit sequence or single data.

A register should be 32 bits in length for a 32-bit instruction computer. Registers can be numbered relies upon the processor design and language rules.

The instructions in a computer are saved in memory locations and implemented one after another at a time. The function of the control unit is to fetch the instruction from the memory and implement it. The control does the similar for all the instructions in the memory in sequential order.

A counter is needed to maintain a path of the next instruction to be implemented and evaluate its address. The figure shows the registers with their memories. The memory addresses are saved in multiple registers. These requirements certainly state the use for registers in a computer.

The following table shows the registers and their functions.

Register SymbolNumber of BitsRegister NameFunction
OUTR8Output registerOIt holds output character.
INPR8Input registerIt holds input character.
PC12Program CounterIt holds the address of the instruction.
AR12Address RegisterIt holds an address for memory.
DR16Data RegisterIt holds memory operand.
AC16AccumulatorIt’s a processor register.
IR16Instruction RegisterIt holds an instruction code.
TR16Temporary RegisterIt holds temporary data.

The description for each of the registers determined in the figure is as follows −

  • The data register holds the operand read from the memory.
  • The accumulator is a general-purpose register need for processing.
  • The instruction register holds the read memory.
  • The temporary data used while processing is stored in the temporary register.
  • The address register holds the address of the instruction that is to be implemented next from the memory.
  • The Program Counter (PC) controls the sequence of instructions to be read. In case a branch instruction is detected, the sequential execution does not arise. A branch execution calls for a transfer to an instruction that is not in sequence with the instructions in the PC.
  • The input register (INPR) and output register (OUTPR) are the registers used for the I/O operations. The INPR receives an 8-bit character from the input device. It is similar to the OUTPR.
raja
Published on 24-Jul-2021 09:20:17
Advertisements