Home ยป Computer Registers

Computer Registers

Registers are a type of computer memory used to quickly accept, store, and transfer data and instructions that are being used immediately by the CPU. The registers used by the CPU are often termed as Processor registers.

A processor register may hold an instruction, a storage address, or any data (such as bit sequence or individual characters).

The computer needs processor registers for manipulating data and a register for holding a memory address. The register holding the memory location is used to calculate the address of the next instruction after the execution of the current instruction is completed.

Following is the list of some of the most common registers used in a basic computer:

RegisterSymbolNumber of bitsFunction
Data registerDR16Holds memory operand
Address registerAR12Holds address for the memory
AccumulatorAC16Processor register
Instruction registerIR16Holds instruction code
Program counterPC12Holds address of the instruction
Temporary registerTR16Holds temporary data
Input registerINPR8Carries input character
Output registerOUTR8Carries output character

The following image shows the register and memory configuration for a basic computer.

Computer Registers

  • The Memory unit has a capacity of 4096 words, and each word contains 16 bits.
  • The Data Register (DR) contains 16 bits which hold the operand read from the memory location.
  • The Memory Address Register (MAR) contains 12 bits which hold the address for the memory location.
  • The Program Counter (PC) also contains 12 bits which hold the address of the next instruction to be read from memory after the current instruction is executed.
  • The Accumulator (AC) register is a general purpose processing register.
  • The instruction read from memory is placed in the Instruction register (IR).
  • The Temporary Register (TR) is used for holding the temporary data during the processing.
  • The Input Registers (IR) holds the input characters given by the user.
  • The Output Registers (OR) holds the output after processing the input data.
Next TopicCOA Tutorial

You may also like