SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Register Transfer and Micro-operations 1 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Overview
 Register Transfer Language
 Register Transfer
 Bus and Memory Transfers
 Arithmetic Micro-operations
 Logic Micro-operations
 Shift Micro-operations
 Arithmetic Logic Shift Unit
Register Transfer and Micro-operations 2 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
 Combinational and sequential circuits (learned in Lecture 1 and 2)
can be used to create simple digital systems.
 These are the low-level building blocks of a digital computer.
 Simple digital systems are frequently characterized in terms of
 the registers they contain, and
 the operations that they perform.
 The operations on the data in registers are called micro-operations
Register Transfer and Micro-operations 3 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
Set of registers and their functions
Micro-operations set
Set of allowable micro-operations provided by the
organization of the computer
Control signals that initiate the sequence of micro-
operations (to perform the functions)
Definition of the (internal) organization of a computer
Register Transfer and Micro-operations 4 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
 Rather than specifying a digital system in words, a specific notation is
used, Register Transfer Language
 For any function of the computer, the register transfer language can be
used to describe the (sequence of) micro-operations
 Register transfer language
 A symbolic language
 A convenient tool for describing the internal organization of
digital computers
 Can also be used to facilitate the design process of digital
systems.
Register Transfer and Micro-operations 5 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
 Registers are designated by capital letters, sometimes followed by
numbers (e.g., A, R13, IR)
 Often the names indicate function:
 MAR - memory address register
 PC - program counter
 IR - instruction register
 Registers and their contents can be viewed and represented in various
ways
 A register can be viewed as a single entity:
 Registers may also be represented showing the bits of data they
contain
MAR
Register Transfer and Micro-operations 6 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
R1
Register
Numbering of bits
Showing individual bits
Subfields
PC(H) PC(L)
15 8 7 0
- a register
- portion of a register
- a bit of a register
• Common ways of drawing the block diagram of a register
7 6 5 4 3 2 1 0
R2
15 0
• Designation of a register
Register Transfer and Micro-operations 7 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
• Copying the contents of one register to another is a register transfer
• A register transfer is indicated as
R2  R1
 In this case the contents of register R2 are copied (loaded) into
register R1
 A simultaneous transfer of all bits from the source R1 to the
destination register R2, during one clock pulse
 Note that this is a non-destructive; i.e. the contents of R1 are not
altered by copying (loading) them to R2
Register Transfer and Micro-operations 8 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Register Transfer Language
• A register transfer such as
R3  R5
Implies that the digital system has
– the data lines from the source register (R5) to the destination
register (R3)
– Parallel load in the destination register (R3)
– Control lines to perform the action
Register Transfer and Micro-operations 9 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Control Functions
 Often actions need to only occur if a certain condition is true
 This is similar to an “if” statement in a programming language
 In digital systems, this is often done via a control signal, called a control
function
 If the signal is 1, the action takes place
 This is represented as:
P: R2  R1
Which means “if P = 1, then load the contents of register R1 into
register R2”, i.e., if (P = 1) then (R2  R1)
Register Transfer and Micro-operations 10 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Hardware Implementation of Controlled Transfers
Implementation of controlled transfer
P: R2 R1
Block diagram
Timing diagram
Clock
Transfer occurs here
R2
R1
Control
Circuit
LoadP
n
Clock
Load
t t+1
 The same clock controls the circuits that generate the control function and the
destination register
 Registers are assumed to use positive-edge-triggered flip-flops
Register Transfer and Micro-operations 11 Lecture 6
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Basic Symbols in Register Transfer
Capital letters Denotes a register MAR, R2
& numerals
Parentheses () Denotes a part of a register R2(0-7), R2(L)
Arrow  Denotes transfer of information R2  R1
Colon : Denotes termination of control function P:
Comma , Separates two micro-operations A  B, B  A
Symbols Description Examples

Weitere ähnliche Inhalte

Ähnlich wie Lecture 6

Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4Umang Gupta
 
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 electronicaaravjamela
 
computer-system-architecture-morris-mano-220720124304-fefd641d.pdf
computer-system-architecture-morris-mano-220720124304-fefd641d.pdfcomputer-system-architecture-morris-mano-220720124304-fefd641d.pdf
computer-system-architecture-morris-mano-220720124304-fefd641d.pdfKunalSahu180994
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONSDr. Ajay Kumar Singh
 
3_Register in COA.ppt
3_Register in COA.ppt3_Register in COA.ppt
3_Register in COA.ppttommychauhan
 
unit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architectureunit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and ArchitectureSwapnitaSrivastava1
 
Control unit-implementation
Control unit-implementationControl unit-implementation
Control unit-implementationWBUTTUTORIALS
 
Computer organization
Computer organizationComputer organization
Computer organizationishapadhy
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
REGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.pptREGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.ppt
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.pptNARENDRAKUMARCHAURAS1
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csaAnjaan Gajendra
 
Computer organisation Module 1.ppt
Computer organisation Module 1.pptComputer organisation Module 1.ppt
Computer organisation Module 1.pptSoulReaper21
 
Register Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.pptRegister Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.pptAldrianSisican
 
CO UNIT I PART I NOTES (1).ppt
CO UNIT I PART I NOTES (1).pptCO UNIT I PART I NOTES (1).ppt
CO UNIT I PART I NOTES (1).pptAyushiBhatlaITA001
 

Ähnlich wie Lecture 6 (20)

Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
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
 
mano.ppt
mano.pptmano.ppt
mano.ppt
 
computer-system-architecture-morris-mano-220720124304-fefd641d.pdf
computer-system-architecture-morris-mano-220720124304-fefd641d.pdfcomputer-system-architecture-morris-mano-220720124304-fefd641d.pdf
computer-system-architecture-morris-mano-220720124304-fefd641d.pdf
 
Functional organization
Functional organizationFunctional organization
Functional organization
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
3_Register in COA.ppt
3_Register in COA.ppt3_Register in COA.ppt
3_Register in COA.ppt
 
unit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architectureunit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architecture
 
Registers in coa
Registers in coaRegisters in coa
Registers in coa
 
Control unit-implementation
Control unit-implementationControl unit-implementation
Control unit-implementation
 
Computer organization
Computer organizationComputer organization
Computer organization
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
REGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.pptREGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.ppt
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
 
coa
coacoa
coa
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csa
 
Computer organisation Module 1.ppt
Computer organisation Module 1.pptComputer organisation Module 1.ppt
Computer organisation Module 1.ppt
 
Register Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.pptRegister Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.ppt
 
CO UNIT I PART I NOTES (1).ppt
CO UNIT I PART I NOTES (1).pptCO UNIT I PART I NOTES (1).ppt
CO UNIT I PART I NOTES (1).ppt
 

Mehr von RahulRathi94 (20)

Lecture 47
Lecture 47Lecture 47
Lecture 47
 
Lecture 46
Lecture 46Lecture 46
Lecture 46
 
Lecture 44
Lecture 44Lecture 44
Lecture 44
 
Lecture 43
Lecture 43Lecture 43
Lecture 43
 
Lecture 42
Lecture 42Lecture 42
Lecture 42
 
Lecture 41
Lecture 41Lecture 41
Lecture 41
 
Lecture 40
Lecture 40Lecture 40
Lecture 40
 
Lecture 39
Lecture 39Lecture 39
Lecture 39
 
Lecture 38
Lecture 38Lecture 38
Lecture 38
 
Lecture 37
Lecture 37Lecture 37
Lecture 37
 
Lecture 36
Lecture 36Lecture 36
Lecture 36
 
Lecture 35
Lecture 35Lecture 35
Lecture 35
 
Lecture 34
Lecture 34Lecture 34
Lecture 34
 
Lecture 28
Lecture 28Lecture 28
Lecture 28
 
Lecture 27
Lecture 27Lecture 27
Lecture 27
 
Lecture 25
Lecture 25Lecture 25
Lecture 25
 
Lecture 24
Lecture 24Lecture 24
Lecture 24
 
Lecture 23
Lecture 23Lecture 23
Lecture 23
 
Lecture 22
Lecture 22Lecture 22
Lecture 22
 
Lecture 21
Lecture 21Lecture 21
Lecture 21
 

Kürzlich hochgeladen

How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 

Kürzlich hochgeladen (20)

How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 

Lecture 6

  • 1. Register Transfer and Micro-operations 1 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Overview  Register Transfer Language  Register Transfer  Bus and Memory Transfers  Arithmetic Micro-operations  Logic Micro-operations  Shift Micro-operations  Arithmetic Logic Shift Unit
  • 2. Register Transfer and Micro-operations 2 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language  Combinational and sequential circuits (learned in Lecture 1 and 2) can be used to create simple digital systems.  These are the low-level building blocks of a digital computer.  Simple digital systems are frequently characterized in terms of  the registers they contain, and  the operations that they perform.  The operations on the data in registers are called micro-operations
  • 3. Register Transfer and Micro-operations 3 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language Set of registers and their functions Micro-operations set Set of allowable micro-operations provided by the organization of the computer Control signals that initiate the sequence of micro- operations (to perform the functions) Definition of the (internal) organization of a computer
  • 4. Register Transfer and Micro-operations 4 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language  Rather than specifying a digital system in words, a specific notation is used, Register Transfer Language  For any function of the computer, the register transfer language can be used to describe the (sequence of) micro-operations  Register transfer language  A symbolic language  A convenient tool for describing the internal organization of digital computers  Can also be used to facilitate the design process of digital systems.
  • 5. Register Transfer and Micro-operations 5 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language  Registers are designated by capital letters, sometimes followed by numbers (e.g., A, R13, IR)  Often the names indicate function:  MAR - memory address register  PC - program counter  IR - instruction register  Registers and their contents can be viewed and represented in various ways  A register can be viewed as a single entity:  Registers may also be represented showing the bits of data they contain MAR
  • 6. Register Transfer and Micro-operations 6 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language R1 Register Numbering of bits Showing individual bits Subfields PC(H) PC(L) 15 8 7 0 - a register - portion of a register - a bit of a register • Common ways of drawing the block diagram of a register 7 6 5 4 3 2 1 0 R2 15 0 • Designation of a register
  • 7. Register Transfer and Micro-operations 7 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language • Copying the contents of one register to another is a register transfer • A register transfer is indicated as R2  R1  In this case the contents of register R2 are copied (loaded) into register R1  A simultaneous transfer of all bits from the source R1 to the destination register R2, during one clock pulse  Note that this is a non-destructive; i.e. the contents of R1 are not altered by copying (loading) them to R2
  • 8. Register Transfer and Micro-operations 8 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Register Transfer Language • A register transfer such as R3  R5 Implies that the digital system has – the data lines from the source register (R5) to the destination register (R3) – Parallel load in the destination register (R3) – Control lines to perform the action
  • 9. Register Transfer and Micro-operations 9 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Control Functions  Often actions need to only occur if a certain condition is true  This is similar to an “if” statement in a programming language  In digital systems, this is often done via a control signal, called a control function  If the signal is 1, the action takes place  This is represented as: P: R2  R1 Which means “if P = 1, then load the contents of register R1 into register R2”, i.e., if (P = 1) then (R2  R1)
  • 10. Register Transfer and Micro-operations 10 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Hardware Implementation of Controlled Transfers Implementation of controlled transfer P: R2 R1 Block diagram Timing diagram Clock Transfer occurs here R2 R1 Control Circuit LoadP n Clock Load t t+1  The same clock controls the circuits that generate the control function and the destination register  Registers are assumed to use positive-edge-triggered flip-flops
  • 11. Register Transfer and Micro-operations 11 Lecture 6 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Basic Symbols in Register Transfer Capital letters Denotes a register MAR, R2 & numerals Parentheses () Denotes a part of a register R2(0-7), R2(L) Arrow  Denotes transfer of information R2  R1 Colon : Denotes termination of control function P: Comma , Separates two micro-operations A  B, B  A Symbols Description Examples