These are various registers required for execution of instruction : Program Counter (PC), Instruction Register (IR), Memory Buffer (or Data) Register (MBR or MDR), and Memory Address Register (MAR).
These are explained as follows below.
- Program Counter (PC) :
It contains the address of an instruction to be executed next. The PC is updated by the CPU after each instruction executed so that it always points to the next instruction to be executed. A branch or skip instruction will also modify the content of the PC.
- Instruction Register (IR) :
it contains the instruction most recently fetched or executed. The fetched instruction is loaded into an IR, where the opcode and operand specifier are analysed.
- Memory Buffer (or Data) Register (MBR or MDR) :
it contains a word of data to be written to memory are the words most recently read. Contents of MBR are directly connected to the data bus.
- Memory Address Register (MAR) :
It contains the address of a location of main memory from where information has to be fetched for information has to be stored. Contents of MAR is directly connected to the address bus.
Apart from these registers, we may use other registers which may be invisible to the user, e.g., temporary Buffering registers.
Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.
- Computer Organization | Instruction Formats (Zero, One, Two and Three Address Instruction)
- Difference between 3-address instruction and 1-address instruction
- Difference between 3-address instruction and 0-address instruction
- Different Classes of CPU Registers
- Internal Registers of DMA Controller
- Registers of 8085 microprocessor
- Shift Registers in Digital Logic
- General purpose registers in 8086 microprocessor
- 8085 program to add three 16 bit numbers stored in registers
- Essential Activities of Risk Management
- Instruction Set used in SIC/XE
- Microarchitecture and Instruction Set Architecture
- Vector instruction types
- Timing diagram of MVI instruction
- Computer Organization | Different Instruction Cycles
- Instruction cycle in 8085 microprocessor
- Instruction Set used in simplified instructional Computer (SIC)
- Timing diagram of MOV Instruction in Microprocessor
- Instruction Word Size in Microprocessor
- Program Execution in the CPU
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.