SlideShare a Scribd company logo
What is CPU Register? Explain Types of Register.
Register are used to quickly accept, store, and transfer data and instructions that are
being used immediately by the CPU. These registers are the top of the memory hierarchy,
and are the fastest way for the system to manipulate data. In a very simple
microprocessor, it consists of a single memory location, usually called an accumulator.
Registers are built from fast multi-ported memory cell. There are various types of
Registers those are used for various purpose. Some Mostly used Registers are
Accumulator(AC), Data Register(DR), Address Register(AR), Program Counter(PC),
Memory Data Register (MDR), Index Register(IR), Memory Buffer Register(MBR).
Registers are used for performing the various operations.
While we are working on the system then these Registers are
used by the CPU for Performing the Operations. When we
gives some input to the system then the input will be stored
into the Registers and When the system will gives us the
results after processing then the result will also be from the
Registers. So that they are used by the CPU for processing
the data which is given by the user. Registers Perform:-
1) Fetch: The Fetch Operation is used for taking the
instructions those are given by the user and the Instructions
those are stored into the Main Memory will be fetch by using
Registers.
2) Decode: The Decode Operation is used for interpreting the Instructions means the
Instructions are decoded means the CPU will find out which Operation is to be performed
on the Instructions.
3) Execute: The Execute Operation is performed by the CPU. And Results those are
produced by the CPU are then Stored into the Memory and after that they are displayed
on the user Screen.
------------------------------------------------------.--------------------------------------------------------------
Registers are the most important components of CPU. Each register performs a
specific function. A brief description of most important CPU 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 BR): 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(AC): 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(SCR): 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(FR): 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.
10. Data Register(DR): A register used in microcomputers to temporarily store data being
transmitted to or from a peripheral device.

More Related Content

What's hot

memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
sreelakshmikv
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
AJAL A J
 
Von-Neumann machine and IAS architecture
Von-Neumann machine and  IAS architectureVon-Neumann machine and  IAS architecture
Von-Neumann machine and IAS architecture
Shishir Aryal
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
Tushar B Kute
 
Computer registers
Computer registersComputer registers
Computer registers
Jatin Grover
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
Mazin Alwaaly
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
Stack organization
Stack organizationStack organization
Stack organization
chauhankapil
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
Siddique Ibrahim
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
Zuhaib Zaroon
 
Computer registers
Computer registersComputer registers
Computer registers
DeepikaT13
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
hardwired control unit ppt
hardwired control unit ppthardwired control unit ppt
hardwired control unit ppt
SushmithaAcharya7
 
Registers
RegistersRegisters
Registers
Sahil Bansal
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
Andhra University
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
Ruchi Maurya
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
Tipu Sultan
 

What's hot (20)

register
registerregister
register
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
Von-Neumann machine and IAS architecture
Von-Neumann machine and  IAS architectureVon-Neumann machine and  IAS architecture
Von-Neumann machine and IAS architecture
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
 
Computer registers
Computer registersComputer registers
Computer registers
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Lecture 3 instruction set
Lecture 3  instruction setLecture 3  instruction set
Lecture 3 instruction set
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
Stack organization
Stack organizationStack organization
Stack organization
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Computer registers
Computer registersComputer registers
Computer registers
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
hardwired control unit ppt
hardwired control unit ppthardwired control unit ppt
hardwired control unit ppt
 
Registers
RegistersRegisters
Registers
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 

Viewers also liked

Registers
RegistersRegisters
Registers
Sanjeev Patel
 
Unit v export incentives
Unit v export incentivesUnit v export incentives
Unit v export incentivesSanjeev Patel
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
Education Front
 
Printers And Its Types
Printers And Its TypesPrinters And Its Types
Printers And Its Types
Aasim Mushtaq
 
Introducing a presentation
Introducing a presentationIntroducing a presentation
Introducing a presentationNicholas Allen
 
Types and components of computer system
Types and components of computer systemTypes and components of computer system
Types and components of computer system
mkhisalg
 
About Me PowerPoint Presentation
About Me PowerPoint PresentationAbout Me PowerPoint Presentation
About Me PowerPoint PresentationLeah Stensland
 

Viewers also liked (9)

Registers
RegistersRegisters
Registers
 
Chapter 6 register
Chapter 6 registerChapter 6 register
Chapter 6 register
 
Unit v export incentives
Unit v export incentivesUnit v export incentives
Unit v export incentives
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
 
Printers And Its Types
Printers And Its TypesPrinters And Its Types
Printers And Its Types
 
Introducing a presentation
Introducing a presentationIntroducing a presentation
Introducing a presentation
 
Types and components of computer system
Types and components of computer systemTypes and components of computer system
Types and components of computer system
 
PPT ON Self introduction
PPT ON Self introductionPPT ON Self introduction
PPT ON Self introduction
 
About Me PowerPoint Presentation
About Me PowerPoint PresentationAbout Me PowerPoint Presentation
About Me PowerPoint Presentation
 

Similar to What is CPU Register? Type of CPU Register.

Presentation1
Presentation1Presentation1
Presentation1
Haya Saani
 
the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1
Basel Mansour
 
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvfRegisters.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
kashafishfaq21
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
Ghanshyam Patel
 
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdfPlease send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
ebrahimbadushata00
 
cpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdfcpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdf
BittuBaBa1
 
Components of-computer-2-1226486763942707-9
Components of-computer-2-1226486763942707-9Components of-computer-2-1226486763942707-9
Components of-computer-2-1226486763942707-9
virendra kumar
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
Er Sangita Vishwakarma
 
Control unit
Control  unitControl  unit
Control unit
Sameer Patil
 
Hardware
HardwareHardware
Hardware
Muuluu
 
Microcontroller part 1
Microcontroller part 1Microcontroller part 1
Microcontroller part 1
Keroles karam khalil
 
computer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfcomputer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdf
shubhangisonawane6
 
Chapter 8
Chapter 8Chapter 8
Microprocessors - 80386DX
Microprocessors - 80386DXMicroprocessors - 80386DX
Microprocessors - 80386DX
PriyaDYP
 
Components Of Computer unit-2
Components Of Computer  unit-2Components Of Computer  unit-2
Components Of Computer unit-2
Amit Chandra
 
COMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptxCOMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptx
nodov66591
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
Tallat Satti
 
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
aniyathikitchen
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
Brit4
 

Similar to What is CPU Register? Type of CPU Register. (20)

Presentation1
Presentation1Presentation1
Presentation1
 
the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1the-cpu-design-central-processing-unit-design-1
the-cpu-design-central-processing-unit-design-1
 
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvfRegisters.pptxmjgfdgjbgghjghjjfyujgftujbvf
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
 
Cpu
CpuCpu
Cpu
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
 
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdfPlease send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
 
cpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdfcpuorganisation-140723043011-phpapp02.pdf
cpuorganisation-140723043011-phpapp02.pdf
 
Components of-computer-2-1226486763942707-9
Components of-computer-2-1226486763942707-9Components of-computer-2-1226486763942707-9
Components of-computer-2-1226486763942707-9
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Control unit
Control  unitControl  unit
Control unit
 
Hardware
HardwareHardware
Hardware
 
Microcontroller part 1
Microcontroller part 1Microcontroller part 1
Microcontroller part 1
 
computer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdfcomputer devices and memory unit 2 notes.pdf
computer devices and memory unit 2 notes.pdf
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Microprocessors - 80386DX
Microprocessors - 80386DXMicroprocessors - 80386DX
Microprocessors - 80386DX
 
Components Of Computer unit-2
Components Of Computer  unit-2Components Of Computer  unit-2
Components Of Computer unit-2
 
COMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptxCOMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptx
 
The Basic Organization of Computers
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
 
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
1.CPU INSTRUCTION AND EXECUTION CYCLEThe primary function of the .pdf
 
U proc ovw
U proc ovwU proc ovw
U proc ovw
 

What is CPU Register? Type of CPU Register.

  • 1. What is CPU Register? Explain Types of Register. Register are used to quickly accept, store, and transfer data and instructions that are being used immediately by the CPU. These registers are the top of the memory hierarchy, and are the fastest way for the system to manipulate data. In a very simple microprocessor, it consists of a single memory location, usually called an accumulator. Registers are built from fast multi-ported memory cell. There are various types of Registers those are used for various purpose. Some Mostly used Registers are Accumulator(AC), Data Register(DR), Address Register(AR), Program Counter(PC), Memory Data Register (MDR), Index Register(IR), Memory Buffer Register(MBR). Registers are used for performing the various operations. While we are working on the system then these Registers are used by the CPU for Performing the Operations. When we gives some input to the system then the input will be stored into the Registers and When the system will gives us the results after processing then the result will also be from the Registers. So that they are used by the CPU for processing the data which is given by the user. Registers Perform:- 1) Fetch: The Fetch Operation is used for taking the instructions those are given by the user and the Instructions those are stored into the Main Memory will be fetch by using Registers. 2) Decode: The Decode Operation is used for interpreting the Instructions means the Instructions are decoded means the CPU will find out which Operation is to be performed on the Instructions. 3) Execute: The Execute Operation is performed by the CPU. And Results those are produced by the CPU are then Stored into the Memory and after that they are displayed on the user Screen. ------------------------------------------------------.-------------------------------------------------------------- Registers are the most important components of CPU. Each register performs a specific function. A brief description of most important CPU 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 BR): I/O Buffer Register is used for exchanging data between the I/O module and the processor.
  • 2. 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(AC): 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(SCR): 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(FR): 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. 10. Data Register(DR): A register used in microcomputers to temporarily store data being transmitted to or from a peripheral device.