Registers
General purpose registers
The registers you see in the ALU are general purpose registers. General purpose registers are very fast small storage areas onboard the processor. General purpose registers are also known as accumulators as they can be used
to perform mathematical operations. They can also be used to hold interim values during calculations.
Dedicated registers
There are a number of dedicated registers in a processor that are used to run the processor such as:
Register |
Description |
The program counter (PC) |
This holds the address of the location in memory of the next instruction |
The current instruction register (CIR) |
This holds the current instruction being executed |
The memory address register (MAR) |
This holds the address in memory to read or write instructions or data |
The memory buffer register (MBR) |
This temporarily stores data and instructions |
Status register (SR) |
This is used to indicate an overflow or a negative number |