SlideShare a Scribd company logo
1 of 21
Computer Organization
and Architecture
Topic: Registers
by
Upendra Mishra
(M. Tech., Ph.D.*)
KIET Group of Institutions
Quick recap to Memory Hierarchy
Secondary Memory
Main Memory
Cache
Register
Smaller in size,
Faster in operation
and
costlier
Larger in size,
Slower in operation
and
cheaper
Flip
flops
Introduction to Register
 Register is a digital device that is very fast memory unit that
may accept, store and transfer data or instruction.
 Registers is a group of flip-flops.
 Question: What is flip-flop?:
 Flip flop is able to store 1 bit of
data/information.
 This means n-bit register have n-flip flops
Two broad categories of Register
Special Purpose Registers
 Users do not access Special Purpose
registers. These registers are for
processor internal processing.
 Examples: Program Counter,
Memory Address Register,
Memory Data Register ,
Instruction Register, Flag register
General purpose register
 General purpose register is used to
store data intermediate results
during program execution. It can be
accessed via assembly
programming.
 Examples: Accumulator, Data Register
Computer components:
Top-Level View
Brief Description of Important Register
 PC(Program Counter): Contains the address of the next instruction to be
fetched from memory.
 MBR(Memory Buffer Register): Contains a word to be stored in memory or sent to
the I/O unit, or is used to receive a word from memory or from the I/O unit.
 MAR(Memory Address Register): Specifies the address in memory of the
word to be written from or read into the MBR.
 MDR(Memory Data Register ): It contains the data to be stored in the computer
storage (e.g. RAM), or the data after a fetch from the
computer storage.
Brief Description(contd.)
 IR(Instruction Register): Contains the instruction most recently fetched.
 Flag register: Depending upon the value of result after any arithmetic and logical
operation the flag bits become set (1) or reset (0).
 AC(Accumulator): Employed to hold temporarily operands and results of ALU operations.
 Data Register: A register used in microcomputers to temporarily store data being
transmitted to or from a peripheral device.
 Index Register: These are used for indexed addressing and may be
auto indexed
Topic: Register Transfer and
Memory Transfer
Register Recap
Register is a digital device that is very fast memory unit that may
accept, store and transfer data or instruction.
It is made of Flip flops.
Microoperations
The operations executed on data stored in registers are called
MICROOPERATIONS.
 A Microoperations is an elementary operation performed on the information
stored in one or more registers.
 The result of the operation may replace the previous binary information of a
register or may be transferred to another register.
Example, Counter, increment and load, bidirectional shift
Register Transfer
Register Transfer Language
Register Transfer Language
Register Transfer Language
implies the availability of hardware logic
circuits that can perform a stated
microoperation and transfer the result of
the operation to the same or another
register.
is borrowed from programmers, who
apply this term to programming
languages.
Expresses the symbolic form the
microoperation sequences among the
registers of a digital module.
Block representation of Register
Computer registers are designated by capital letters.
PC: Program Counter IR: Instruction Register
R1: Processor Register MAR: Memory Address Register
N – bit Register -> n number of flip flops
For Example: 8 - bit Register
For Example: 16 - bit Register
7 6 5 4 3 2 1 0
R1
PC PC(H) PC(L)
15 0 15 8 7 0
Information Transfer
• R2  R1 : denotes a transfer of the content of register R1 into register R2.
• Normally, we want the transfer to occur only under a predetermined control condition. This
can be shown by means of an if-then statement.
If (P = 1) then (R2  R1)
where, P is a control signal which results in Boolean value 0 or 1.
P: R2  R1
• It symbolizes the requirement that the transfer operation be
executed by the hardware only if P = 1 .
Block Diagram
Timing Diagram
P: R2  R1
Clock pulse is
a time varying
voltage signal
applied to
control
operation of a
flip flop.
Memory Transfer
The transfer of information from a memory word to the outside environment is called a
READ
operation.
Read: DR  M[AR]
The transfer of new information to be stored into the memory is called a WRITE operation.
Write: M[AR]  DR
A memory word will be symbolized by the letter M.
M[AR]: to specify the address of M when writing memory transfer
operations, address is enclosed in square brackets.(here, AR is
address register)
Arithmetic Microoperations
Symbolic Representation Description
R3 ← R1 + R2 The contents of R1 plus R2 are transferred to R3.
R3 ← R1 - R2 The contents of R1 minus R2 are transferred to R3.
R2 ← R2' Complement the contents of R2 (1's complement)
R2 ← R2' + 1 2's complement the contents of R2 (negate)
R3 ← R1 + R2' + 1 R1 plus the 2's complement of R2 (subtraction)
R1 ← R1 + 1 Increment the contents of R1 by one
R1 ← R1 - 1 Decrement the contents of R1 by one
Thank
You
MCQ
 A register is defined as ___________
A. The group of latches for storing one bit of information
B. The group of latches for storing n-bit of information
C. The group of flip-flops suitable for storing one bit of information
D. The group of flip-flops suitable for storing binary information
 Answer: D
Thank
You

More Related Content

What's hot

instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and ArchitectureVinit Raut
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 80869840596838
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration AKHIL MADANKAR
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt Arpita Naik
 
Types of instructions
Types of instructionsTypes of instructions
Types of instructionsihsanjamil
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitabdosaidgkv
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description Vijay Kumar
 
Binary parallel adder
Binary parallel adderBinary parallel adder
Binary parallel adderanu surya
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram descriptionAkhil Singal
 

What's hot (20)

instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Timing diagram 8085 microprocessor
Timing diagram 8085 microprocessorTiming diagram 8085 microprocessor
Timing diagram 8085 microprocessor
 
DRAM
DRAMDRAM
DRAM
 
MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration MICROCONTROLLER 8051- Architecture & Pin Configuration
MICROCONTROLLER 8051- Architecture & Pin Configuration
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
Types of instructions
Types of instructionsTypes of instructions
Types of instructions
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
 
8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware
 
8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description 8085 microprocessor Architecture and Pin description
8085 microprocessor Architecture and Pin description
 
Binary parallel adder
Binary parallel adderBinary parallel adder
Binary parallel adder
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram description
 

Similar to 3_Register in COA.ppt

Similar to 3_Register in COA.ppt (20)

Registers in coa
Registers in coaRegisters in coa
Registers in coa
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Register Transfer Language
Register Transfer LanguageRegister Transfer Language
Register Transfer Language
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csa
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
Functional organization
Functional organizationFunctional organization
Functional organization
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS
 
PPT in register and micro operations in electronic
PPT in register and micro operations in electronicPPT in register and micro operations in electronic
PPT in register and micro operations in electronic
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer Architecture
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
unit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architectureunit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architecture
 
1 lecture csa
1 lecture csa1 lecture csa
1 lecture csa
 
Register transfer and microoperations
Register transfer and microoperationsRegister transfer and microoperations
Register transfer and microoperations
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
instruction
instruction instruction
instruction
 
Computer organization
Computer organizationComputer organization
Computer organization
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 
COA LESSON.ppt
COA LESSON.pptCOA LESSON.ppt
COA LESSON.ppt
 

Recently uploaded

WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 

Recently uploaded (20)

WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 

3_Register in COA.ppt

  • 1. Computer Organization and Architecture Topic: Registers by Upendra Mishra (M. Tech., Ph.D.*) KIET Group of Institutions
  • 2. Quick recap to Memory Hierarchy Secondary Memory Main Memory Cache Register Smaller in size, Faster in operation and costlier Larger in size, Slower in operation and cheaper Flip flops
  • 3. Introduction to Register  Register is a digital device that is very fast memory unit that may accept, store and transfer data or instruction.  Registers is a group of flip-flops.  Question: What is flip-flop?:  Flip flop is able to store 1 bit of data/information.  This means n-bit register have n-flip flops
  • 4. Two broad categories of Register Special Purpose Registers  Users do not access Special Purpose registers. These registers are for processor internal processing.  Examples: Program Counter, Memory Address Register, Memory Data Register , Instruction Register, Flag register General purpose register  General purpose register is used to store data intermediate results during program execution. It can be accessed via assembly programming.  Examples: Accumulator, Data Register
  • 5.
  • 7. Brief Description of Important Register  PC(Program Counter): Contains the address of the next instruction to be fetched from memory.  MBR(Memory Buffer Register): Contains a word to be stored in memory or sent to the I/O unit, or is used to receive a word from memory or from the I/O unit.  MAR(Memory Address Register): Specifies the address in memory of the word to be written from or read into the MBR.  MDR(Memory Data Register ): It contains the data to be stored in the computer storage (e.g. RAM), or the data after a fetch from the computer storage.
  • 8. Brief Description(contd.)  IR(Instruction Register): Contains the instruction most recently fetched.  Flag register: Depending upon the value of result after any arithmetic and logical operation the flag bits become set (1) or reset (0).  AC(Accumulator): Employed to hold temporarily operands and results of ALU operations.  Data Register: A register used in microcomputers to temporarily store data being transmitted to or from a peripheral device.  Index Register: These are used for indexed addressing and may be auto indexed
  • 9. Topic: Register Transfer and Memory Transfer
  • 10. Register Recap Register is a digital device that is very fast memory unit that may accept, store and transfer data or instruction. It is made of Flip flops.
  • 11. Microoperations The operations executed on data stored in registers are called MICROOPERATIONS.  A Microoperations is an elementary operation performed on the information stored in one or more registers.  The result of the operation may replace the previous binary information of a register or may be transferred to another register. Example, Counter, increment and load, bidirectional shift
  • 13. Register Transfer Language Register Transfer Language Register Transfer Language implies the availability of hardware logic circuits that can perform a stated microoperation and transfer the result of the operation to the same or another register. is borrowed from programmers, who apply this term to programming languages. Expresses the symbolic form the microoperation sequences among the registers of a digital module.
  • 14. Block representation of Register Computer registers are designated by capital letters. PC: Program Counter IR: Instruction Register R1: Processor Register MAR: Memory Address Register N – bit Register -> n number of flip flops For Example: 8 - bit Register For Example: 16 - bit Register 7 6 5 4 3 2 1 0 R1 PC PC(H) PC(L) 15 0 15 8 7 0
  • 15. Information Transfer • R2  R1 : denotes a transfer of the content of register R1 into register R2. • Normally, we want the transfer to occur only under a predetermined control condition. This can be shown by means of an if-then statement. If (P = 1) then (R2  R1) where, P is a control signal which results in Boolean value 0 or 1. P: R2  R1 • It symbolizes the requirement that the transfer operation be executed by the hardware only if P = 1 .
  • 16. Block Diagram Timing Diagram P: R2  R1 Clock pulse is a time varying voltage signal applied to control operation of a flip flop.
  • 17. Memory Transfer The transfer of information from a memory word to the outside environment is called a READ operation. Read: DR  M[AR] The transfer of new information to be stored into the memory is called a WRITE operation. Write: M[AR]  DR A memory word will be symbolized by the letter M. M[AR]: to specify the address of M when writing memory transfer operations, address is enclosed in square brackets.(here, AR is address register)
  • 18. Arithmetic Microoperations Symbolic Representation Description R3 ← R1 + R2 The contents of R1 plus R2 are transferred to R3. R3 ← R1 - R2 The contents of R1 minus R2 are transferred to R3. R2 ← R2' Complement the contents of R2 (1's complement) R2 ← R2' + 1 2's complement the contents of R2 (negate) R3 ← R1 + R2' + 1 R1 plus the 2's complement of R2 (subtraction) R1 ← R1 + 1 Increment the contents of R1 by one R1 ← R1 - 1 Decrement the contents of R1 by one
  • 20. MCQ  A register is defined as ___________ A. The group of latches for storing one bit of information B. The group of latches for storing n-bit of information C. The group of flip-flops suitable for storing one bit of information D. The group of flip-flops suitable for storing binary information  Answer: D