SlideShare uma empresa Scribd logo
1 de 33
Register Transfer and Micro- 
Operation 
Register and Register Transfer Language 
Bus and Memory Transfer 
Arithmetic, Logic and Shift μ-operation 
Arithmetic Logic Shift Unit
Register 
 Group of flip-flops capable of storing one bit of 
information. 
 They may have combinational gates to perform 
certain data processing. 
 Are at the top of memory hierarchy and provide 
fastest way of data access.
Register Transfer Language 
 Digital System is interconnection of modules. 
 Modules are constructed using digital components 
and interconnected using common data and control 
paths. 
 They are best defined by the operation they perform 
on the stored data(μ-operation). 
 Example of μ-operations are shift, clear , load etc.
 The internal hardware of the computer is best 
defined by specifying: 
 Set of register it contains and their functions 
 μ-operations that can be performed on the stored binary data 
 Control that initiates the sequence of μ-operation. 
 It is possible to specify the μ-operations in words but 
that will be lengthy. 
 Special symbolic notation is used to describe the μ- 
operation among the register called Register 
Transfer Language(RTL).
Register Transfer 
 Computer registers are denoted by capital 
letters(sometimes followed by numerals) to denote 
the function of the register. 
 Examples: 
 MAR: Memory Address Register 
 PC: Program Counter 
 R1: Processor Register
 Information transfer from one register to another is 
designated as: R2 R1. 
 Normally we want the transfer to occur under a 
predetermined condition as 
 If(P=1) then (R2 R1. ) 
 P is the control signal. Generally control function in 
included in the statement as follows: 
 P: R2 R1 
 Every statement in RTL need hardware for above 
RTL hardware will be as:
Bus and Memory Transfers 
 Digital computer have many registers and paths 
must be provided to transfer information. 
 No. of wires will be excessive if we connect each 
register with the other one. 
 A more efficient scheme for transferring information 
in multiple register system is by the use of the 
common bus system. 
 Control signals are used to select the register.
 One way of constructing a common bus system is by 
the use of multiplexer. 
 Figure below show the 4 register common bus 
system. 
 It consist of Multiplexer and selection lines
 In general, a bus system will multiplex k registers of 
n bits each to produce an n-line common bus. 
 Common bus for 8 registers of 16 bits requires, 16 
multiplexer having 8 data input lines. 
 The transfer of information from bus to one of many 
register can be accomplished by connecting bus lines 
to the inputs of all register and activating the load 
signal of required one.
 If we need to transfer the content of register C to 
register R1, it can be represented as: 
 It is convenient to show the direct transfer as:
Three State Bus Buffer 
 A bus system can also be constructed using three 
state gate. 
 Three state gate has 3 outputs one low and other 
high as like other gates. 
 The third output is the high impedance state which 
behave like the open circuit and does not have any 
logic significance. 
 The most commonly used gate in bus design is the is 
3 state buffer gate.
Memory Transfer 
 Transfer of information from memory word to 
outside environment is read operation. 
 Transfer of new information to be stored into the 
memory is called write operation. 
 Memory word is symbolized by M and address by 
enclosing in the square bracket. 
 Read and write operation can be stated as: 
 Read: DR M[AR] 
 Write: M[AR] R1
Micro operations 
 μ-operation is an elementary operation performed 
with the data stored in register. They can be 
classified as: 
 Register transfer micro-operations 
 Arithmetic micro-operations 
 Logic micro-operations 
 Shift micro-operations
 Arithmetic operation divide and multiply are not 
listed in table as they are not included in the basic set 
of micro-operations. 
 Multiplication is implemented by addition and shift 
operations. 
 Division is implemented by subtraction and shift 
operation.
Logic Micro-operations 
 These operation consider each bit of register 
separately and treat them as binary variables. 
 Example exclusive-OR between R1 and R2 can be 
symbolized as:
 Special symbol are used for logical operations. 
 ˆ denote AND operation and ˇ denote OR operation. 
 When + symbol occur in micro-operation it denote 
arithmetic addition but in control signals it denote 
the OR.
Shift Micro-Operations 
 These are used for serial data transfer. 
 The information transferred through the serial input 
determines the type of shift. 
 There are three types of shift: 
 Logical 
 Circular 
 Arithmetic
Logical Shift 
 It is the one that transfer 0 through the serial input. 
 Symbol shl and shr are used to represent left logical 
shift and right logical shift respectively.
Circular Shift 
 It circulates the bits of the register around the two 
ends without loss of information. 
 It is represented as cil or cir for left and right circular 
shift.
Arithmetic Shift 
 It shift the signed binary number to left or right. 
 Arithmetic shift left multiply the signed binary 
number by 2. 
 Arithmetic shift right divide the signed binary 
number by 2. 
 It must leave the sign bit unchanged. 
 It is represented by ashl and ashr.
Arithmetic Logic Shift Unit 
 Computer systems employ number of storage 
register connected to common operational unit 
called ALU(Arithmetic Logic Unit) to perform micro-operation. 
 ALU is combinational circuit so transfer from source 
to ALU and ALU to destination is done only in one 
clock cycle. 
 Shift micro-operation is performed in separate unit 
or can be made part of overall ALU.
Register transfer and micro operation
Register transfer and micro operation

Mais conteúdo relacionado

Mais procurados

Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
Ruchi Maurya
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
Nikhil Sharma
 
Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computers
Bảo Hoang
 
Input output organization
Input output organizationInput output organization
Input output organization
abdulugc
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
Anuj Modi
 

Mais procurados (20)

Logical micro-operations
Logical micro-operationsLogical micro-operations
Logical micro-operations
 
Stack organization
Stack organizationStack organization
Stack organization
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Direct linking loaders
Direct linking loadersDirect linking loaders
Direct linking loaders
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
 
Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computers
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Lecture 3 instruction set
Lecture 3  instruction setLecture 3  instruction set
Lecture 3 instruction set
 
Input output organization
Input output organizationInput output organization
Input output organization
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
mano.ppt
mano.pptmano.ppt
mano.ppt
 
Log based and Recovery with concurrent transaction
Log based and Recovery with concurrent transactionLog based and Recovery with concurrent transaction
Log based and Recovery with concurrent transaction
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
 
LR Parsing
LR ParsingLR Parsing
LR Parsing
 

Destaque

Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
Nitesh Singh
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
Umang Gupta
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
mekind
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
GIKI
 
Register Organization and Instruction cycle
Register Organization and Instruction cycleRegister Organization and Instruction cycle
Register Organization and Instruction cycle
Muhammad Ameer Mohavia
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
Anuj Modi
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
Anuj Modi
 

Destaque (20)

bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
 
Arithmetic micro operations
Arithmetic micro operationsArithmetic micro operations
Arithmetic micro operations
 
overview of register transfer, micro operations and basic computer organizati...
overview of register transfer, micro operations and basic computer organizati...overview of register transfer, micro operations and basic computer organizati...
overview of register transfer, micro operations and basic computer organizati...
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
Ch4
Ch4Ch4
Ch4
 
Register transfer language
Register  transfer languageRegister  transfer language
Register transfer language
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.What is CPU Register? Type of CPU Register.
What is CPU Register? Type of CPU Register.
 
Co ppt
Co pptCo ppt
Co ppt
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Register Organization and Instruction cycle
Register Organization and Instruction cycleRegister Organization and Instruction cycle
Register Organization and Instruction cycle
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Registers
RegistersRegisters
Registers
 
Chapter 6 register
Chapter 6 registerChapter 6 register
Chapter 6 register
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 

Semelhante a Register transfer and micro operation

Register transfer and microoperations
Register transfer and microoperationsRegister transfer and microoperations
Register transfer and microoperations
SURBHI SAROHA
 
LEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.pptLEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.ppt
mailmynew202
 
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdftemp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
BhureVedika
 
Register reference
Register referenceRegister reference
Register reference
Nitesh Singh
 

Semelhante a Register transfer and micro operation (20)

RTL
RTLRTL
RTL
 
Computer Organization & Architecture.ppt
Computer Organization & Architecture.pptComputer Organization & Architecture.ppt
Computer Organization & Architecture.ppt
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csa
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Register transfer and microoperations
Register transfer and microoperationsRegister transfer and microoperations
Register transfer and microoperations
 
LEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.pptLEC 2-register transfer and register transfer language.ppt
LEC 2-register transfer and register transfer language.ppt
 
Module 5 part1
Module 5 part1Module 5 part1
Module 5 part1
 
CS304PC:Computer Organization and Architecture Session 2 Registers .pptx
CS304PC:Computer Organization and Architecture Session 2 Registers .pptxCS304PC:Computer Organization and Architecture Session 2 Registers .pptx
CS304PC:Computer Organization and Architecture Session 2 Registers .pptx
 
Bt0068
Bt0068Bt0068
Bt0068
 
REGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSREGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONS
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
coa
coacoa
coa
 
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdftemp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
temp-1e80a1dc-6041-493a-af5a-e9ac6efabc65.pdf
 
Register reference
Register referenceRegister reference
Register reference
 
student important knowledge on computer data .pptx
student important knowledge on computer data .pptxstudent important knowledge on computer data .pptx
student important knowledge on computer data .pptx
 
unit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architectureunit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architecture
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS
 
Bus and Memory transfer
Bus and Memory transferBus and Memory transfer
Bus and Memory transfer
 

Mais de Kamal Acharya

Mais de Kamal Acharya (20)

Programming the basic computer
Programming the basic computerProgramming the basic computer
Programming the basic computer
 
Computer Arithmetic
Computer ArithmeticComputer Arithmetic
Computer Arithmetic
 
Introduction to Computer Security
Introduction to Computer SecurityIntroduction to Computer Security
Introduction to Computer Security
 
Session and Cookies
Session and CookiesSession and Cookies
Session and Cookies
 
Functions in php
Functions in phpFunctions in php
Functions in php
 
Web forms in php
Web forms in phpWeb forms in php
Web forms in php
 
Making decision and repeating in PHP
Making decision and repeating  in PHPMaking decision and repeating  in PHP
Making decision and repeating in PHP
 
Working with arrays in php
Working with arrays in phpWorking with arrays in php
Working with arrays in php
 
Text and Numbers (Data Types)in PHP
Text and Numbers (Data Types)in PHPText and Numbers (Data Types)in PHP
Text and Numbers (Data Types)in PHP
 
Introduction to PHP
Introduction to PHPIntroduction to PHP
Introduction to PHP
 
Capacity Planning of Data Warehousing
Capacity Planning of Data WarehousingCapacity Planning of Data Warehousing
Capacity Planning of Data Warehousing
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Search Engines
Search EnginesSearch Engines
Search Engines
 
Web Mining
Web MiningWeb Mining
Web Mining
 
Information Privacy and Data Mining
Information Privacy and Data MiningInformation Privacy and Data Mining
Information Privacy and Data Mining
 
Cluster Analysis
Cluster AnalysisCluster Analysis
Cluster Analysis
 
Association Analysis in Data Mining
Association Analysis in Data MiningAssociation Analysis in Data Mining
Association Analysis in Data Mining
 
Classification techniques in data mining
Classification techniques in data miningClassification techniques in data mining
Classification techniques in data mining
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
 
Introduction to Data Mining and Data Warehousing
Introduction to Data Mining and Data WarehousingIntroduction to Data Mining and Data Warehousing
Introduction to Data Mining and Data Warehousing
 

Último

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 

Último (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 

Register transfer and micro operation

  • 1. Register Transfer and Micro- Operation Register and Register Transfer Language Bus and Memory Transfer Arithmetic, Logic and Shift μ-operation Arithmetic Logic Shift Unit
  • 2. Register  Group of flip-flops capable of storing one bit of information.  They may have combinational gates to perform certain data processing.  Are at the top of memory hierarchy and provide fastest way of data access.
  • 3. Register Transfer Language  Digital System is interconnection of modules.  Modules are constructed using digital components and interconnected using common data and control paths.  They are best defined by the operation they perform on the stored data(μ-operation).  Example of μ-operations are shift, clear , load etc.
  • 4.  The internal hardware of the computer is best defined by specifying:  Set of register it contains and their functions  μ-operations that can be performed on the stored binary data  Control that initiates the sequence of μ-operation.  It is possible to specify the μ-operations in words but that will be lengthy.  Special symbolic notation is used to describe the μ- operation among the register called Register Transfer Language(RTL).
  • 5. Register Transfer  Computer registers are denoted by capital letters(sometimes followed by numerals) to denote the function of the register.  Examples:  MAR: Memory Address Register  PC: Program Counter  R1: Processor Register
  • 6.
  • 7.  Information transfer from one register to another is designated as: R2 R1.  Normally we want the transfer to occur under a predetermined condition as  If(P=1) then (R2 R1. )  P is the control signal. Generally control function in included in the statement as follows:  P: R2 R1  Every statement in RTL need hardware for above RTL hardware will be as:
  • 8.
  • 9.
  • 10. Bus and Memory Transfers  Digital computer have many registers and paths must be provided to transfer information.  No. of wires will be excessive if we connect each register with the other one.  A more efficient scheme for transferring information in multiple register system is by the use of the common bus system.  Control signals are used to select the register.
  • 11.  One way of constructing a common bus system is by the use of multiplexer.  Figure below show the 4 register common bus system.  It consist of Multiplexer and selection lines
  • 12.
  • 13.
  • 14.  In general, a bus system will multiplex k registers of n bits each to produce an n-line common bus.  Common bus for 8 registers of 16 bits requires, 16 multiplexer having 8 data input lines.  The transfer of information from bus to one of many register can be accomplished by connecting bus lines to the inputs of all register and activating the load signal of required one.
  • 15.  If we need to transfer the content of register C to register R1, it can be represented as:  It is convenient to show the direct transfer as:
  • 16. Three State Bus Buffer  A bus system can also be constructed using three state gate.  Three state gate has 3 outputs one low and other high as like other gates.  The third output is the high impedance state which behave like the open circuit and does not have any logic significance.  The most commonly used gate in bus design is the is 3 state buffer gate.
  • 17.
  • 18.
  • 19. Memory Transfer  Transfer of information from memory word to outside environment is read operation.  Transfer of new information to be stored into the memory is called write operation.  Memory word is symbolized by M and address by enclosing in the square bracket.  Read and write operation can be stated as:  Read: DR M[AR]  Write: M[AR] R1
  • 20. Micro operations  μ-operation is an elementary operation performed with the data stored in register. They can be classified as:  Register transfer micro-operations  Arithmetic micro-operations  Logic micro-operations  Shift micro-operations
  • 21.
  • 22.  Arithmetic operation divide and multiply are not listed in table as they are not included in the basic set of micro-operations.  Multiplication is implemented by addition and shift operations.  Division is implemented by subtraction and shift operation.
  • 23. Logic Micro-operations  These operation consider each bit of register separately and treat them as binary variables.  Example exclusive-OR between R1 and R2 can be symbolized as:
  • 24.  Special symbol are used for logical operations.  ˆ denote AND operation and ˇ denote OR operation.  When + symbol occur in micro-operation it denote arithmetic addition but in control signals it denote the OR.
  • 25.
  • 26. Shift Micro-Operations  These are used for serial data transfer.  The information transferred through the serial input determines the type of shift.  There are three types of shift:  Logical  Circular  Arithmetic
  • 27. Logical Shift  It is the one that transfer 0 through the serial input.  Symbol shl and shr are used to represent left logical shift and right logical shift respectively.
  • 28. Circular Shift  It circulates the bits of the register around the two ends without loss of information.  It is represented as cil or cir for left and right circular shift.
  • 29. Arithmetic Shift  It shift the signed binary number to left or right.  Arithmetic shift left multiply the signed binary number by 2.  Arithmetic shift right divide the signed binary number by 2.  It must leave the sign bit unchanged.  It is represented by ashl and ashr.
  • 30.
  • 31. Arithmetic Logic Shift Unit  Computer systems employ number of storage register connected to common operational unit called ALU(Arithmetic Logic Unit) to perform micro-operation.  ALU is combinational circuit so transfer from source to ALU and ALU to destination is done only in one clock cycle.  Shift micro-operation is performed in separate unit or can be made part of overall ALU.