Computer Registers
Registers are a form of computer memory designed to rapidly accept, store, and transfer data and instructions that the CPU needs to access immediately. These registers, commonly referred to as processor registers, are integral to the CPU's operations.
A processor register can store an instruction, a memory address, or any type of data, such as a sequence of bits or individual characters.
The computer requires processor registers for data manipulation and a register to hold memory addresses. The register containing the memory location is used to calculate the address of the next instruction once the current instruction has been executed.
Here is a list of some of the most commonly used registers in a basic computer:
Here is a list of some of the most commonly used registers in a basic computer:
The Data Register (DR) holds 16 bits, which store the operand retrieved from the memory location.
The Memory Address Register (MAR) holds 12 bits that store the address of the memory location.
The Program Counter (PC) holds 12 bits that contain the address of the next instruction to be fetched from memory after the current instruction is executed.
The Accumulator (AC) is a general-purpose processing register.
The instruction fetched from memory is stored in the Instruction Register (IR).
The Input Registers (IR) store the characters entered by the user.
The Output Registers (OR) store the output generated after processing the input data.