CPU Registers and Their Functions
Legacy signals
Archived popularity: 45,929 legacy viewsImported historical SelfGrowth signal; not blended with current reader activity.
Reader rating
Not enough ratings yet
Aggregate average appears after enough eligible reader ratings.
Rate this resource
Sign in to rate this resource.
Registers are the most important components of CPU. Each register performs a specific function. A brief description of most important CPU's registers and their functions are given below:
1. Memory Address Register (MAR):
This register holds the address of memory where CPU wants to read or write data. When CPU wants to store some data in the memory or reads the data from the memory, it places the address of the required memory location in the MAR.
2. Memory Buffer Register (MBR):
This register holds the contents of data or instruction read from, or written in memory. The contents of instruction placed in this register are transferred to the Instruction Register, while the contents of data are transferred to the accumulator or I/O register.
In other words you can say that this register is used to store data/instruction coming from the memory or going to the memory.
3. I/O Address Register (I/O AR):
I/O Address register is used to specify the address of a particular I/O device.
4. I/O Buffer Register (I/O I3R):
I/O Buffer Register is used for exchanging data between the I/O module and the processor.
5. Program Counter (PC)
Program Counter register is also known as Instruction Pointer Register. This register is used to store the address of the next instruction to be fetched for execution. When the instruction is fetched, the value of IP is incremented. Thus this register always points or holds the address of next instruction to be fetched.
6. Instruction Register (IR):
Once an instruction is fetched from main memory, it is stored in the Instruction Register. The control unit takes instruction from this register, decodes and executes it by sending signals to the appropriate component of computer to carry out the task.
7. Accumulator Register:
The accumulator register is located inside the ALU, It is used during arithmetic & logical operations of ALU. The control unit stores data values fetched from main memory in the accumulator for arithmetic or logical operation. This register holds the initial data to be operated upon, the intermediate results, and the final result of operation. The final result is transferred to main memory through MBR.
8. Stack Control Register:
A stack represents a set of memory blocks; the data is stored in and retrieved from these blocks in an order, i.e. First In and Last Out (FILO). The Stack Control Register is used to manage the stacks in memory. The size of this register is 2 or 4 bytes.
9. Flag Register:
The Flag register is used to indicate occurrence of a certain condition during an operation of the CPU. It is a special purpose register with size one byte or two bytes. Each bit of the flag register constitutes a flag (or alarm), such that the bit value indicates if a specified condition was encountered while executing an instruction.
For example, if zero value is put into an arithmetic register (accumulator) as a result of an arithmetic operation or a comparison, then the zero flag will be raised by the CPU. Thus, the subsequent instruction can check this flag and when a zero flag is "ON" it can take, an appropriate route in the algorithm.
Article author
About the Author
Further reading
Further Reading
Article
Visual Communication Design vs Graphic Design: Key Differences Between the Two Disciplines
Design has been at the centre of our perception of information, brands and entertainment in the world that is now digital first. Whether you browse social media, watch YouTube videos, or pass a billboard, you probably have encountered both visual communication design and graphic design, yet most likely, you were not aware of the distinction between the two. Although these two fields are closely related and in many instances overlap, they have different purposes and require di
July 21, 2025
Article
Dr. Ann Marie Egloff Provides A Step-by-Step Guide for Starting Your Philanthropic Journey
Dr. Ann Marie Egloff understands that engaging in philanthropy isnât about just donating funds; itâs about the values and intention behind that action. Whether youâre donating money, volunteering time, or sharing your skills, giving back can take many forms and fit into any lifestyle. According to Dr. Ann Marie Egloff, the most rewarding experiences often come from aligning your efforts with causes that resonate personally. By clarifying your motivations, setting though
May 27, 2025
Article
Why Guitar Lessons Are the Key to Mastering the Instrument
Learning to play the guitar is an exciting and rewarding experience. Whether you’re a complete beginner or have been playing for years, guitar lessons can help you unlock your full musical potential and take your skills to the next level. But what exactly do guitar lessons offer, and how can they benefit you? Let’s dive in! 1. A Structured Learning Path One of the biggest advantages of taking guitar lessons is the structure they provide. While it’s easy to get lost in the s
February 1, 2025
Article
Why Choose a CBSE School? Key Insights for Parents
SVPT Saraswati School is widely regarded as one of the Best CBSE Schools in Thane, offering a holistic and well-rounded education that goes beyond academics. Situated in a peaceful and conducive learning environment, this institution provides a blend of modern infrastructure, dedicated faculty, and extracurricular activities, ensuring that students develop both academically and personally. A Legacy of Excellence in Education:rnSVP Saraswati School has built a reputation over
November 26, 2024