SlideShare a Scribd company logo
9
Most read
12
Most read
14
Most read
COMPUTER REGISTERS
        1




        MANINDER KAUR
            professormaninder@gmail.com



                       www.eazynotes.com
What is a Register?
                                2
 A register is a very small amount of very fast memory that is
   built into the CPU (central processing unit).

 Contents can be accessed at extremely high speeds.

 Registers are used to store data temporarily during the
   execution of a program.

 Different processors have different register sizes.

 Registers are normally measured by the number of bits they
   can hold, for example, an 8-bit register means it can store 8
   bits of data or a 32-bit register means it can store 32 bit of
   data.

Maninder Kaur                                           www.eazynotes.com
The basic computer has 8 registers. The registers with their names, size
                     and functions are listed below:
                                          3

 Register Symbol     Register Name            Number of Bits       Description
        AC         Accumulator                    16           Processor Register
          DR       Data Register                    16         Hold memory data
          TR       Temporary Register               16         Holds         temporary
                                                               Data
           IR      Instruction Register             16         Holds       Instruction
                                                               Code
          AR       Address Register                 12         Holds          memory
                                                               address
          PC       Program Counter                  12         Holds address of next
                                                               instruction
         INPR      Input Register                   8          Holds Input data
        OUTR       Output Register                  8          Holds Output data

Maninder Kaur                                                            www.eazynotes.com
COMPUTER REGISTERS
                                   4

    ACCUMULATOR (AC):

        The processor register AC consists of 16-bits. It is used to
   hold the results or partial results of arithmetic and logical
   operations. An accumulator is a register in which intermediate
   arithmetic and logic results are stored.



   DATA REGISTER (DR):

        The register DR consists of 16-bits and it is used to hold
   memory operands (data). This register contains the data to be
   written into memory or receives the data read from memory.

Maninder Kaur                                                www.eazynotes.com
COMPUTER REGISTERS
                                   5



   TEMPORARY REGISTER (TR):

        Temporary register have 16-bits and it provides temporary
   storage of variables or results.


   INSTRUCTION REGISTER (IR):

         The instruction register consists of 16-bits. The purpose of
   the instruction register is to hold a copy of the instruction which
   the processor is to execute. In our basic computer, instruction
   register (IR) holds instruction code which is read from memory.

Maninder Kaur                                                www.eazynotes.com
COMPUTER REGISTERS
                                6



   ADDRESS REGISTER (AR):
        This register specifies the address in memory for next
   read or writes operations. The address register consists of
   12-bits.

   PROGRAM COUNTER (PC):
        Program counter has 12-bits and it holds the address
   of the next instruction to be read from memory after the
   current execution is executed. The instructions are read
   sequentially because the program counter automatically
   increments after fetching the current instruction.

Maninder Kaur                                         www.eazynotes.com
COMPUTER REGISTERS
                                7



   INPUT REGISTER (INPR):

       Input register has 8-bits. INPR register receives a
   character from an input device and delivers it to the AC.



   OUTPUT REGISTER (OUTR):

        Output register has 8-bits. The output register receives
   information from AC and transfer it to the output device.


Maninder Kaur                                          www.eazynotes.com
COMMON BUS SYSTEM
                                      8

BUS:
   A wire or a collection of wires that carry some multi-bit information is
   known as bus. Main purpose of bus is to transfer information form one
   system to another.

DESCRIPTION:
 The basic computer has eight registers (AC, PC, DR, AC, IR, TR, INPR,
  OUTR), a memory unit and a control unit. Path must be provided to
  transfer information from one register to another and between memory
  and registers.
 The number of wires will be excessive if connections are made between
  the output of each register and input of other registers. A more efficient
  scheme is to use a common bus.
 Thus common bus provides a path between memory unit and registers.

Maninder Kaur                                                    www.eazynotes.com
Figure : Basic
Computer
Registers
Connected to a
Common Bus

Maninder Kaur    9   www.eazynotes.com
Five registers have three control inputs: LD (load), INR (increment) and
              CLR (clear). Two registers have only a LD input.
                                    10



 Load (LD):
      The lines from the common bus are connected to the
       inputs of each register and the data inputs of the
       memory. The particular register whose LD input is
       enabled receives the data from the bus.

 Increment (INR)) and Clear (CLR):
      The contents of the particular register are incremented
       when its INR signal is enabled and cleared when its CLR
       signal is enabled.

Maninder Kaur                                                  www.eazynotes.com
CIRCUIT OPERATION DESCRIPTION
                                      11



Memory Unit:
      The memory receives the 16-bit information from the bus when its
       write input is enabled and the memory places its 16-bit information
       onto the bus when its read input is activated and S 2S1S0 = 111.

Address Register (AR):
      This register specifies the address in memory for next read or writes
       operations. The address register consists of 12 bits.

      When selection inputs S2S1S0 =001 is applied to the bus, the address
       register AR receives or transfers address from or to the bus when its
       LD input is enable. The address is incremented or clear by the inputs
       INR or CLR.


Maninder Kaur                                                    www.eazynotes.com
CIRCUIT OPERATION DESCRIPTION
                                            12


 Program Counter (PC):
   Program counter has 12 bits and it holds the address of the next instruction to be
    read from memory after the current execution is executed.

      When selection inputs S2S1S0 = 010 is applied to the bus, the program counter
       (PC) receives or transfers address from or to the bus when its LD input is enable.
       The address is incremented or clear by the inputs INR or CLR.

 Data Register (DR):
   The register DR consists of 16-bits and memory operands (data). This register
    contains the data to be written into memory or receives the data read from
    memory.

      When selection inputs S2S1S0 = 011 is applied to the bus, the data register DR
       receives or transfers data from or to the bus when its LD input is enable. The data
       is incremented or clear by the inputs INR or CLR.



Maninder Kaur                                                                www.eazynotes.com
CIRCUIT OPERATION DESCRIPTION
                                     13
 Accumulator (AC):

 The processor register AC consists of 16 bits. The 16-bit inputs to the
   Adder / logic circuit come from the outputs of AC. They are used to
   implement register micro operation such as complement and shift the
   contents of AC.

 The results of these micro operations are again transferred to AC. So an
   accumulator is a register in which intermediate arithmetic and logic
   results are stored.

 When selection inputs S2S1S0 = 100 is applied to the bus, the processor
   register AC receives or transfers its data to the bus by enabling the LD
   input of DR, it transfers the contents of DR through the adder / logic
   circuit into AC when its LD input is enable. The data of AC is
   incremented or clear by the inputs INR or CLR.


Maninder Kaur                                                   www.eazynotes.com
CIRCUIT OPERATION DESCRIPTION
                                          14
 Instruction Register (IR):

 The instruction register consists of 16-bits. The purpose of the instruction
   register is to hold a copy of the instruction which the processor is to execute.
   The instruction read from memory is placed in the IR.

 When selection inputs S2S1S0 = 101 is applied to the bus, the instruction register
   IR receives or transfers instruction code from or to the bus when its LD input is
   enable.

 Temporary Register (TR):

 Temporary registers have 16 bits. It provides temporary storage of variables or
   results.

 When selection inputs S2S1S0 = 111 is applied to the bus, the temporary register
   TR receives or transfers temporary data from or to the bus when its LD input is
   enable. The data is incremented or clear by the inputs INR or CLR.

Maninder Kaur                                                             www.eazynotes.com
CIRCUIT OPERATION DESCRIPTION
                                   15

 Input Register (INPR):

 The Input Register INPR consists of 8-bits and hold
   alphanumeric input information. The serial information from the
   input device is shifted into input of 8-bit register INPR.

 When LD input of AC is enable, the 8-bit information of INPR is
   transferred to the AC via Adder/logic circuit.

 Output Register (OUTR):

 The output OUTR receives information from AC and transfers it
   to the output device.


Maninder Kaur                                             www.eazynotes.com

More Related Content

What's hot (20)

PPT
Computer Organization and Architecture.
CS_GDRCST
 
PPTX
Floating point arithmetic operations (1)
cs19club
 
PPTX
Computer instruction
Sanjeev Patel
 
PPTX
Instruction Set Architecture
Dilum Bandara
 
PPTX
Part I:Introduction to assembly language
Ahmed M. Abed
 
PPTX
Assembly language
shashank puthran
 
PPTX
Instruction codes
pradeepa velmurugan
 
PPTX
register
Taimoor Ashraf
 
PPTX
Timing and control
chauhankapil
 
PPTX
Instruction Cycle in Computer Organization.pptx
Yash346903
 
PPTX
Memory organization (Computer architecture)
Sandesh Jonchhe
 
PPT
Architecture of 8086 Microprocessor
Mustapha Fatty
 
PPTX
Computer registers
DeepikaT13
 
PPT
Types of instructions
ihsanjamil
 
PDF
Bus structure in Computer Organization.pdf
mvpk14486
 
PPTX
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
PPT
Assembly Language Basics
Education Front
 
PPT
Instruction cycle
shweta-sharma99
 
PPTX
Data transfer and manipulation
rajshreemuthiah
 
PPT
Instruction Set Architecture (ISA)
Gaditek
 
Computer Organization and Architecture.
CS_GDRCST
 
Floating point arithmetic operations (1)
cs19club
 
Computer instruction
Sanjeev Patel
 
Instruction Set Architecture
Dilum Bandara
 
Part I:Introduction to assembly language
Ahmed M. Abed
 
Assembly language
shashank puthran
 
Instruction codes
pradeepa velmurugan
 
register
Taimoor Ashraf
 
Timing and control
chauhankapil
 
Instruction Cycle in Computer Organization.pptx
Yash346903
 
Memory organization (Computer architecture)
Sandesh Jonchhe
 
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Computer registers
DeepikaT13
 
Types of instructions
ihsanjamil
 
Bus structure in Computer Organization.pdf
mvpk14486
 
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
Assembly Language Basics
Education Front
 
Instruction cycle
shweta-sharma99
 
Data transfer and manipulation
rajshreemuthiah
 
Instruction Set Architecture (ISA)
Gaditek
 

Similar to Registers and-common-bus (20)

PDF
computerregisters during data and address communication.pdf
bhargavi804095
 
DOC
Instruction codes
jyoti_lakhani
 
PPTX
Module 2- Basic Computer Organization and Design.pptx
axscad5
 
PPTX
Computer Registers.pptx
NancyBeaulah_R
 
PPTX
Common Bus System.pptx
NancyBeaulah_R
 
PPT
Instruction codes and computer registers
mahesh kumar prajapat
 
PDF
computer organization.pdf
VishnupriyaKashyap
 
PPTX
Lecture 12
RahulRathi94
 
PPTX
Unit_2 (4).pptx
AyushiBhatla
 
PPT
CH-2 BASIC COMPUTER ORG AND DESIGN.ppt
ssuser127433
 
PPT
CH-2 BASIC COMPUTER ORG AND DESIGN.ppt
ssuser127433
 
PDF
Ca basic computer organization
Prof. Dr. K. Adisesha
 
PPT
unit2 (1).ppt
rajkb821112
 
PPTX
The Basic Organization of Computers
Tallat Satti
 
PPT
COA-Unit-2.pptycvygygygtftdddthffhgfghrhhbb
harshavardhank2003
 
PPT
Instruction codes and computer registers
mahesh kumar prajapat
 
PDF
BASIC COMPUTER ORGANIZATION AND DESIGN
Anonymous Red
 
PPTX
Computer architecture chapter 5 bca.pptx
amulyaverma038
 
PPTX
Microprocessor 8085 architecture ppt. april 2013
harshalata
 
PDF
13402lecture3 111204134846-phpapp02
raj kumar
 
computerregisters during data and address communication.pdf
bhargavi804095
 
Instruction codes
jyoti_lakhani
 
Module 2- Basic Computer Organization and Design.pptx
axscad5
 
Computer Registers.pptx
NancyBeaulah_R
 
Common Bus System.pptx
NancyBeaulah_R
 
Instruction codes and computer registers
mahesh kumar prajapat
 
computer organization.pdf
VishnupriyaKashyap
 
Lecture 12
RahulRathi94
 
Unit_2 (4).pptx
AyushiBhatla
 
CH-2 BASIC COMPUTER ORG AND DESIGN.ppt
ssuser127433
 
CH-2 BASIC COMPUTER ORG AND DESIGN.ppt
ssuser127433
 
Ca basic computer organization
Prof. Dr. K. Adisesha
 
unit2 (1).ppt
rajkb821112
 
The Basic Organization of Computers
Tallat Satti
 
COA-Unit-2.pptycvygygygtftdddthffhgfghrhhbb
harshavardhank2003
 
Instruction codes and computer registers
mahesh kumar prajapat
 
BASIC COMPUTER ORGANIZATION AND DESIGN
Anonymous Red
 
Computer architecture chapter 5 bca.pptx
amulyaverma038
 
Microprocessor 8085 architecture ppt. april 2013
harshalata
 
13402lecture3 111204134846-phpapp02
raj kumar
 
Ad

More from Anuj Modi (20)

PPTX
Android Technology
Anuj Modi
 
PPS
Virtual memory
Anuj Modi
 
PPS
Timing and-control-unit
Anuj Modi
 
PPS
Synchronous and-asynchronous-data-transfer
Anuj Modi
 
PPS
Ram and-rom-chips
Anuj Modi
 
PPS
Memory
Anuj Modi
 
PPS
Computer instructions
Anuj Modi
 
PPS
Cache memory
Anuj Modi
 
PDF
HTML Lesson 5-insert-and-align-graphics
Anuj Modi
 
PDF
HTML Lesson 2-format-pages-and-text
Anuj Modi
 
PDF
HTML Lesson 1-create-a-home-page
Anuj Modi
 
PPS
Introduction to-dbms
Anuj Modi
 
PPS
DBA
Anuj Modi
 
PPS
Data models
Anuj Modi
 
PPS
Architecture of-dbms-and-data-independence
Anuj Modi
 
PPT
Central Processing Unit User View
Anuj Modi
 
PPT
Microprogram Control
Anuj Modi
 
PPT
Graphs In Data Structure
Anuj Modi
 
PPT
Graphs In Data Structure
Anuj Modi
 
PPT
B trees in Data Structure
Anuj Modi
 
Android Technology
Anuj Modi
 
Virtual memory
Anuj Modi
 
Timing and-control-unit
Anuj Modi
 
Synchronous and-asynchronous-data-transfer
Anuj Modi
 
Ram and-rom-chips
Anuj Modi
 
Memory
Anuj Modi
 
Computer instructions
Anuj Modi
 
Cache memory
Anuj Modi
 
HTML Lesson 5-insert-and-align-graphics
Anuj Modi
 
HTML Lesson 2-format-pages-and-text
Anuj Modi
 
HTML Lesson 1-create-a-home-page
Anuj Modi
 
Introduction to-dbms
Anuj Modi
 
Data models
Anuj Modi
 
Architecture of-dbms-and-data-independence
Anuj Modi
 
Central Processing Unit User View
Anuj Modi
 
Microprogram Control
Anuj Modi
 
Graphs In Data Structure
Anuj Modi
 
Graphs In Data Structure
Anuj Modi
 
B trees in Data Structure
Anuj Modi
 
Ad

Registers and-common-bus

  • 1. COMPUTER REGISTERS 1 MANINDER KAUR [email protected] www.eazynotes.com
  • 2. What is a Register? 2  A register is a very small amount of very fast memory that is built into the CPU (central processing unit).  Contents can be accessed at extremely high speeds.  Registers are used to store data temporarily during the execution of a program.  Different processors have different register sizes.  Registers are normally measured by the number of bits they can hold, for example, an 8-bit register means it can store 8 bits of data or a 32-bit register means it can store 32 bit of data. Maninder Kaur www.eazynotes.com
  • 3. The basic computer has 8 registers. The registers with their names, size and functions are listed below: 3 Register Symbol Register Name Number of Bits Description AC Accumulator 16 Processor Register DR Data Register 16 Hold memory data TR Temporary Register 16 Holds temporary Data IR Instruction Register 16 Holds Instruction Code AR Address Register 12 Holds memory address PC Program Counter 12 Holds address of next instruction INPR Input Register 8 Holds Input data OUTR Output Register 8 Holds Output data Maninder Kaur www.eazynotes.com
  • 4. COMPUTER REGISTERS 4 ACCUMULATOR (AC): The processor register AC consists of 16-bits. It is used to hold the results or partial results of arithmetic and logical operations. An accumulator is a register in which intermediate arithmetic and logic results are stored. DATA REGISTER (DR): The register DR consists of 16-bits and it is used to hold memory operands (data). This register contains the data to be written into memory or receives the data read from memory. Maninder Kaur www.eazynotes.com
  • 5. COMPUTER REGISTERS 5 TEMPORARY REGISTER (TR): Temporary register have 16-bits and it provides temporary storage of variables or results. INSTRUCTION REGISTER (IR): The instruction register consists of 16-bits. The purpose of the instruction register is to hold a copy of the instruction which the processor is to execute. In our basic computer, instruction register (IR) holds instruction code which is read from memory. Maninder Kaur www.eazynotes.com
  • 6. COMPUTER REGISTERS 6 ADDRESS REGISTER (AR): This register specifies the address in memory for next read or writes operations. The address register consists of 12-bits. PROGRAM COUNTER (PC): Program counter has 12-bits and it holds the address of the next instruction to be read from memory after the current execution is executed. The instructions are read sequentially because the program counter automatically increments after fetching the current instruction. Maninder Kaur www.eazynotes.com
  • 7. COMPUTER REGISTERS 7 INPUT REGISTER (INPR): Input register has 8-bits. INPR register receives a character from an input device and delivers it to the AC. OUTPUT REGISTER (OUTR): Output register has 8-bits. The output register receives information from AC and transfer it to the output device. Maninder Kaur www.eazynotes.com
  • 8. COMMON BUS SYSTEM 8 BUS: A wire or a collection of wires that carry some multi-bit information is known as bus. Main purpose of bus is to transfer information form one system to another. DESCRIPTION:  The basic computer has eight registers (AC, PC, DR, AC, IR, TR, INPR, OUTR), a memory unit and a control unit. Path must be provided to transfer information from one register to another and between memory and registers.  The number of wires will be excessive if connections are made between the output of each register and input of other registers. A more efficient scheme is to use a common bus.  Thus common bus provides a path between memory unit and registers. Maninder Kaur www.eazynotes.com
  • 9. Figure : Basic Computer Registers Connected to a Common Bus Maninder Kaur 9 www.eazynotes.com
  • 10. Five registers have three control inputs: LD (load), INR (increment) and CLR (clear). Two registers have only a LD input. 10  Load (LD):  The lines from the common bus are connected to the inputs of each register and the data inputs of the memory. The particular register whose LD input is enabled receives the data from the bus.  Increment (INR)) and Clear (CLR):  The contents of the particular register are incremented when its INR signal is enabled and cleared when its CLR signal is enabled. Maninder Kaur www.eazynotes.com
  • 11. CIRCUIT OPERATION DESCRIPTION 11 Memory Unit:  The memory receives the 16-bit information from the bus when its write input is enabled and the memory places its 16-bit information onto the bus when its read input is activated and S 2S1S0 = 111. Address Register (AR):  This register specifies the address in memory for next read or writes operations. The address register consists of 12 bits.  When selection inputs S2S1S0 =001 is applied to the bus, the address register AR receives or transfers address from or to the bus when its LD input is enable. The address is incremented or clear by the inputs INR or CLR. Maninder Kaur www.eazynotes.com
  • 12. CIRCUIT OPERATION DESCRIPTION 12  Program Counter (PC):  Program counter has 12 bits and it holds the address of the next instruction to be read from memory after the current execution is executed.  When selection inputs S2S1S0 = 010 is applied to the bus, the program counter (PC) receives or transfers address from or to the bus when its LD input is enable. The address is incremented or clear by the inputs INR or CLR.  Data Register (DR):  The register DR consists of 16-bits and memory operands (data). This register contains the data to be written into memory or receives the data read from memory.  When selection inputs S2S1S0 = 011 is applied to the bus, the data register DR receives or transfers data from or to the bus when its LD input is enable. The data is incremented or clear by the inputs INR or CLR. Maninder Kaur www.eazynotes.com
  • 13. CIRCUIT OPERATION DESCRIPTION 13  Accumulator (AC):  The processor register AC consists of 16 bits. The 16-bit inputs to the Adder / logic circuit come from the outputs of AC. They are used to implement register micro operation such as complement and shift the contents of AC.  The results of these micro operations are again transferred to AC. So an accumulator is a register in which intermediate arithmetic and logic results are stored.  When selection inputs S2S1S0 = 100 is applied to the bus, the processor register AC receives or transfers its data to the bus by enabling the LD input of DR, it transfers the contents of DR through the adder / logic circuit into AC when its LD input is enable. The data of AC is incremented or clear by the inputs INR or CLR. Maninder Kaur www.eazynotes.com
  • 14. CIRCUIT OPERATION DESCRIPTION 14  Instruction Register (IR):  The instruction register consists of 16-bits. The purpose of the instruction register is to hold a copy of the instruction which the processor is to execute. The instruction read from memory is placed in the IR.  When selection inputs S2S1S0 = 101 is applied to the bus, the instruction register IR receives or transfers instruction code from or to the bus when its LD input is enable.  Temporary Register (TR):  Temporary registers have 16 bits. It provides temporary storage of variables or results.  When selection inputs S2S1S0 = 111 is applied to the bus, the temporary register TR receives or transfers temporary data from or to the bus when its LD input is enable. The data is incremented or clear by the inputs INR or CLR. Maninder Kaur www.eazynotes.com
  • 15. CIRCUIT OPERATION DESCRIPTION 15  Input Register (INPR):  The Input Register INPR consists of 8-bits and hold alphanumeric input information. The serial information from the input device is shifted into input of 8-bit register INPR.  When LD input of AC is enable, the 8-bit information of INPR is transferred to the AC via Adder/logic circuit.  Output Register (OUTR):  The output OUTR receives information from AC and transfers it to the output device. Maninder Kaur www.eazynotes.com