SlideShare a Scribd company logo
1 of 24
CS307PC:Computer Organization
and Architecture (R18 II(I sem))
Department of computer science and engineering
(AI/ML)
Session 2
by
Asst.Prof.M.Gokilavani
VITS
TEXT BOOK:
• 1. Computer System Architecture – M. Moris Mano, Third Edition,
Pearson/PHI.
REFERENCES:
• Computer Organization – Car Hamacher, Zvonks Vranesic, Safea
Zaky, Vth Edition, McGraw Hill.
• Computer Organization and Architecture – William Stallings Sixth
Edition, Pearson/PHI.
• Structured Computer Organization – Andrew S. Tanenbaum, 4th
Edition, PHI/Pearson.
11/22/2022 Department of CSE (AI/ML) 2
UNIT - I
11/22/2022 Department of CSE (AI/ML) 3
Digital Computers: Introduction, Block diagram of Digital Computer,
Definition of Computer Organization, Computer Design and Computer
Architecture.
Register Transfer Language and Micro operations: Register Transfer
language, Register Transfer, Bus and memory transfers, Arithmetic
Micro operations, logic micro operations, shift micro operations,
Arithmetic logic shift unit.
Basic Computer Organization and Design: Instruction codes,
Computer Registers Computer instructions, Timing and Control,
Instruction cycle, Memory Reference Instructions, Input – Output and
Interrupt.
Topics covered in session 2
• Register Transfer Language and Micro operations
• Register Transfer language
• Register Transfer
• Bus and memory transfers
• Arithmetic Micro operations
• logic micro operations
• shift micro operations
• Arithmetic logic shift unit
11/22/2022 Department of CSE (AI/ML) 4
11/22/2022 Department of CSE (AI/ML) 5
Recap
Registers
• Used store information temporarily for CPU unit. 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.
11/22/2022 Department of CSE (AI/ML) 6
11/22/2022 Department of CSE (AI/ML) 7
Types of Registers
Register transfer
• Digital system is a collection of digital hardware modules.
• Modules are registers, counters, arithmetic elements, etc.
• Register
• a collection of binary storage elements
• included a set of flip-flop
• n-bit register store n-bit binary information
• Frequently used to perform simple data storage and data movement
and processing operations
• Data paths routes on which information is moved
• Control paths routes on which control signals are moved
11/22/2022 Department of CSE (AI/ML) 8
Data path and control path
• Data-path module comprises processing logic and collection of
registers that perform data processing.
• Control unit module is made up of logic that determines the sequence
of data processing operations carried out in the data-path.
11/22/2022 Department of CSE (AI/ML) 9
Register transfer
• The registers are assumed to be basic components of the digital
system.
• Three basic components
• The set of registers it contains and their functions.
• The sequence of micro operations performed on the binary information
stored.
• The control that initiates the sequence of micro operations.
11/22/2022 Department of CSE (AI/ML) 10
Register Transfer Operations
• Registers: denoted by upper case letters, and optionally followed by digits or letters.
• Register transfer operations: the movement of data stored in registers and the processing
performed on the data.
11/22/2022 Department of CSE (AI/ML) 11
• The individual flip-flops in an n-bit register are numbered i sequence from 0 through n - 1, starting
from 0 i the rightmost position and increasing the numbers toward the left.
Register Transfer Operations
• Information transferred from one register to another is designated in symbolic
form by means of replacement operator.
• It denotes the transfer of the data from register R1 into R2.
• Normally we want the transfer to occur only in predetermined control condition.
This can be shown by following if-then statement:
• Where P is a Control function generated in control section.
• A control function is a Boolean variable that is equal to 1 or 0. The control
function is shown as:
P: R2 ← R1
• The control condition is terminated with a colon. It shows that transfer operation
can be executed only if P=1.
11/22/2022 Department of CSE (AI/ML) 12
Register Transfer Operations
11/22/2022 Department of CSE (AI/ML) 13
Register Transfer Operations
• A comma is used to separate two or more operations that are executed at the same
time.
• The statement denotes an operation that exchange the contents of two register
during one common clock pulse provide that T=1.
11/22/2022 Department of CSE (AI/ML) 14
Bus and Memory Transfer
• A digital system composed of many registers, and paths must be
provided to transfer information from one register to another. The
number of wires connecting all of the registers will be excessive if
separate lines are used between each register and all other registers in
the system.
• A bus structure, on the other hand, is more efficient for transferring
information between registers in a multi-register configuration system.
• A bus consists of a set of common lines, one for each bit of register,
through which binary information is transferred one at a time. Control
signals determine which register is selected by the bus during a
particular register transfer.
11/22/2022 Department of CSE (AI/ML) 15
Bus Transfer
11/22/2022 Department of CSE (AI/ML) 16
• The following block diagram shows a Bus system for four registers. It is constructed with the
help of four 4 * 1 Multiplexers each having four data inputs (0 through 3) and two selection
inputs (S1 and S2).
• We have used labels to make it more convenient for you to understand the input-output
configuration of a Bus system for four registers. For instance, output 1 of register A is
connected to input 0 of MUX1.
11/22/2022 Department of CSE (AI/ML) 17
Bus transfer
• The two selection lines S1 and S2 are connected to the selection inputs
of all four multiplexers. The selection lines choose the four bits of one
register and transfer them into the four-line common bus.
• When both of the select lines are at low logic, i.e. S1S0 = 00, the 0
data inputs of all four multiplexers are selected and applied to the
outputs that forms the bus.
• This, in turn, causes the bus lines to receive the content of register A
since the outputs of this register are connected to the 0 data inputs of
the multiplexers.
11/22/2022 Department of CSE (AI/ML) 18
Bus transfer
11/22/2022 Department of CSE (AI/ML) 19
• Similarly, when S1S0 = 01, register B is selected, and the bus lines will receive the content
provided by register B.
• The following function table shows the register that is selected by the bus for each of the four
possible binary values of the Selection lines.
Three-state Gates
11/22/2022 Department of CSE (AI/ML) 20
• A bus system can also be constructed using three-state gates instead of multiplexers.
• The three state gates can be considered as a digital circuit that has three gates, two of which
are signals equivalent to logic 1 and 0 as in a conventional gate. However, the third gate
exhibits a high-impedance state.
• The most commonly used three state gates in case of the bus system is a buffer gate.
• The graphical symbol of a three-state buffer gate can be represented as:
Bus line with three state buffers
11/22/2022 Department of CSE (AI/ML) 21
• The outputs generated by the four buffers are connected to form a single bus line.
• Only one buffer can be in active state at a given point of time.
• The control inputs to the buffers determine which of the four normal inputs will communicate
with the bus line.
• A 2 * 4 decoder ensures that no more than one control input is active at any given point of
time.
Memory Transfer
Most of the standard notations used for specifying operations on memory transfer
are stated below.
• The transfer of information from a memory unit to the user end is called
a Read operation.
• The transfer of new information to be stored in the memory is called
a Write operation.
• A memory word is designated by the letter M.
• We must specify the address of memory word while writing the memory transfer
operations.
• The address register is designated by AR and the data register by DR.
• Thus, a read operation can be stated as:
11/22/2022 Department of CSE (AI/ML) 22
Memory Transfer
• The Read statement causes a transfer of information into the data register (DR)
from the memory word (M) selected by the address register (AR).
• And the corresponding write operation can be stated as:
• The Write statement causes a transfer of information from register R1 into the
memory word (M) selected by address register (AR).
11/22/2022 Department of CSE (AI/ML) 23
Topics to be covered in next session 3
• Micro operations
11/22/2022 Department of CSE (AI/ML) 24
Thank you!!!

More Related Content

Similar to CS304PC:Computer Organization and Architecture Session 2 Registers .pptx

Computer organization prashant odhavani- 160920107003
Computer organization   prashant odhavani- 160920107003Computer organization   prashant odhavani- 160920107003
Computer organization prashant odhavani- 160920107003Prashant odhavani
 
REGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSREGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSAnonymous Red
 
jekdndnenejidjrjenenjejejejjejriririiriri
jekdndnenejidjrjenenjejejejjejriririiririjekdndnenejidjrjenenjejejejjejriririiriri
jekdndnenejidjrjenenjejejejjejriririiririMitShah72
 
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 Organization & Architecture.ppt
Computer Organization & Architecture.pptComputer Organization & Architecture.ppt
Computer Organization & Architecture.pptGauravSharmaIAHAP
 
CS304PC:Computer Organization and Architecture Session 10 design of control ...
CS304PC:Computer Organization and Architecture  Session 10 design of control ...CS304PC:Computer Organization and Architecture  Session 10 design of control ...
CS304PC:Computer Organization and Architecture Session 10 design of control ...Asst.prof M.Gokilavani
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONSDr. Ajay Kumar Singh
 
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.pdfBhureVedika
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4Umang Gupta
 
Register Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.pptRegister Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.pptAldrianSisican
 

Similar to CS304PC:Computer Organization and Architecture Session 2 Registers .pptx (20)

Computer organization prashant odhavani- 160920107003
Computer organization   prashant odhavani- 160920107003Computer organization   prashant odhavani- 160920107003
Computer organization prashant odhavani- 160920107003
 
RTL
RTLRTL
RTL
 
REGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSREGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONS
 
jekdndnenejidjrjenenjejejejjejriririiriri
jekdndnenejidjrjenenjejejejjejriririiririjekdndnenejidjrjenenjejejejjejriririiriri
jekdndnenejidjrjenenjejejejjejriririiriri
 
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
 
Bus and Memory transfer
Bus and Memory transferBus and Memory transfer
Bus and Memory transfer
 
Bt0068
Bt0068Bt0068
Bt0068
 
Computer Organization & Architecture.ppt
Computer Organization & Architecture.pptComputer Organization & Architecture.ppt
Computer Organization & Architecture.ppt
 
CS304PC:Computer Organization and Architecture Session 10 design of control ...
CS304PC:Computer Organization and Architecture  Session 10 design of control ...CS304PC:Computer Organization and Architecture  Session 10 design of control ...
CS304PC:Computer Organization and Architecture Session 10 design of control ...
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
THE PROCESSOR
THE PROCESSORTHE PROCESSOR
THE PROCESSOR
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Unit 3 The processor
Unit 3 The processorUnit 3 The processor
Unit 3 The processor
 
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
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
COA LESSON.ppt
COA LESSON.pptCOA LESSON.ppt
COA LESSON.ppt
 
Register Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.pptRegister Transfer Language & Microoperations.ppt
Register Transfer Language & Microoperations.ppt
 

More from Asst.prof M.Gokilavani

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
IT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdfIT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdfAsst.prof M.Gokilavani
 
IT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notesIT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notesAsst.prof M.Gokilavani
 
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdfGE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdfAsst.prof M.Gokilavani
 
GE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdfGE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdfAsst.prof M.Gokilavani
 
GE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfGE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdfAI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdfAI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdfAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAsst.prof M.Gokilavani
 
AI3391 Artificial intelligence session 27 inference and unification.pptx
AI3391 Artificial intelligence session 27 inference and unification.pptxAI3391 Artificial intelligence session 27 inference and unification.pptx
AI3391 Artificial intelligence session 27 inference and unification.pptxAsst.prof M.Gokilavani
 
AI3391 Artificial Intelligence Session 26 First order logic.pptx
AI3391 Artificial Intelligence Session 26 First order logic.pptxAI3391 Artificial Intelligence Session 26 First order logic.pptx
AI3391 Artificial Intelligence Session 26 First order logic.pptxAsst.prof M.Gokilavani
 

More from Asst.prof M.Gokilavani (20)

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
IT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdfIT8073_Information Security_UNIT I _.pdf
IT8073_Information Security_UNIT I _.pdf
 
IT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notesIT8073 _Information Security _UNIT I Full notes
IT8073 _Information Security _UNIT I Full notes
 
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdfGE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
GE3151 PSPP UNIT IV QUESTION BANK.docx.pdf
 
GE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdfGE3151 PSPP UNIT III QUESTION BANK.docx.pdf
GE3151 PSPP UNIT III QUESTION BANK.docx.pdf
 
GE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdfGE3151 UNIT II Study material .pdf
GE3151 UNIT II Study material .pdf
 
GE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfGE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdf
 
GE3151_PSPP_All unit _Notes
GE3151_PSPP_All unit _NotesGE3151_PSPP_All unit _Notes
GE3151_PSPP_All unit _Notes
 
GE3151_PSPP_UNIT_5_Notes
GE3151_PSPP_UNIT_5_NotesGE3151_PSPP_UNIT_5_Notes
GE3151_PSPP_UNIT_5_Notes
 
GE3151_PSPP_UNIT_4_Notes
GE3151_PSPP_UNIT_4_NotesGE3151_PSPP_UNIT_4_Notes
GE3151_PSPP_UNIT_4_Notes
 
GE3151_PSPP_UNIT_3_Notes
GE3151_PSPP_UNIT_3_NotesGE3151_PSPP_UNIT_3_Notes
GE3151_PSPP_UNIT_3_Notes
 
GE3151_PSPP_UNIT_2_Notes
GE3151_PSPP_UNIT_2_NotesGE3151_PSPP_UNIT_2_Notes
GE3151_PSPP_UNIT_2_Notes
 
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdfAI3391 Artificial intelligence Unit IV Notes _ merged.pdf
AI3391 Artificial intelligence Unit IV Notes _ merged.pdf
 
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdfAI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
AI3391 Artificial intelligence Session 29 Forward and backward chaining.pdf
 
AI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptxAI3391 Artificial intelligence Session 28 Resolution.pptx
AI3391 Artificial intelligence Session 28 Resolution.pptx
 
AI3391 Artificial intelligence session 27 inference and unification.pptx
AI3391 Artificial intelligence session 27 inference and unification.pptxAI3391 Artificial intelligence session 27 inference and unification.pptx
AI3391 Artificial intelligence session 27 inference and unification.pptx
 
AI3391 Artificial Intelligence Session 26 First order logic.pptx
AI3391 Artificial Intelligence Session 26 First order logic.pptxAI3391 Artificial Intelligence Session 26 First order logic.pptx
AI3391 Artificial Intelligence Session 26 First order logic.pptx
 

Recently uploaded

ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 

Recently uploaded (20)

DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 

CS304PC:Computer Organization and Architecture Session 2 Registers .pptx

  • 1. CS307PC:Computer Organization and Architecture (R18 II(I sem)) Department of computer science and engineering (AI/ML) Session 2 by Asst.Prof.M.Gokilavani VITS
  • 2. TEXT BOOK: • 1. Computer System Architecture – M. Moris Mano, Third Edition, Pearson/PHI. REFERENCES: • Computer Organization – Car Hamacher, Zvonks Vranesic, Safea Zaky, Vth Edition, McGraw Hill. • Computer Organization and Architecture – William Stallings Sixth Edition, Pearson/PHI. • Structured Computer Organization – Andrew S. Tanenbaum, 4th Edition, PHI/Pearson. 11/22/2022 Department of CSE (AI/ML) 2
  • 3. UNIT - I 11/22/2022 Department of CSE (AI/ML) 3 Digital Computers: Introduction, Block diagram of Digital Computer, Definition of Computer Organization, Computer Design and Computer Architecture. Register Transfer Language and Micro operations: Register Transfer language, Register Transfer, Bus and memory transfers, Arithmetic Micro operations, logic micro operations, shift micro operations, Arithmetic logic shift unit. Basic Computer Organization and Design: Instruction codes, Computer Registers Computer instructions, Timing and Control, Instruction cycle, Memory Reference Instructions, Input – Output and Interrupt.
  • 4. Topics covered in session 2 • Register Transfer Language and Micro operations • Register Transfer language • Register Transfer • Bus and memory transfers • Arithmetic Micro operations • logic micro operations • shift micro operations • Arithmetic logic shift unit 11/22/2022 Department of CSE (AI/ML) 4
  • 5. 11/22/2022 Department of CSE (AI/ML) 5 Recap
  • 6. Registers • Used store information temporarily for CPU unit. 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. 11/22/2022 Department of CSE (AI/ML) 6
  • 7. 11/22/2022 Department of CSE (AI/ML) 7 Types of Registers
  • 8. Register transfer • Digital system is a collection of digital hardware modules. • Modules are registers, counters, arithmetic elements, etc. • Register • a collection of binary storage elements • included a set of flip-flop • n-bit register store n-bit binary information • Frequently used to perform simple data storage and data movement and processing operations • Data paths routes on which information is moved • Control paths routes on which control signals are moved 11/22/2022 Department of CSE (AI/ML) 8
  • 9. Data path and control path • Data-path module comprises processing logic and collection of registers that perform data processing. • Control unit module is made up of logic that determines the sequence of data processing operations carried out in the data-path. 11/22/2022 Department of CSE (AI/ML) 9
  • 10. Register transfer • The registers are assumed to be basic components of the digital system. • Three basic components • The set of registers it contains and their functions. • The sequence of micro operations performed on the binary information stored. • The control that initiates the sequence of micro operations. 11/22/2022 Department of CSE (AI/ML) 10
  • 11. Register Transfer Operations • Registers: denoted by upper case letters, and optionally followed by digits or letters. • Register transfer operations: the movement of data stored in registers and the processing performed on the data. 11/22/2022 Department of CSE (AI/ML) 11 • The individual flip-flops in an n-bit register are numbered i sequence from 0 through n - 1, starting from 0 i the rightmost position and increasing the numbers toward the left.
  • 12. Register Transfer Operations • Information transferred from one register to another is designated in symbolic form by means of replacement operator. • It denotes the transfer of the data from register R1 into R2. • Normally we want the transfer to occur only in predetermined control condition. This can be shown by following if-then statement: • Where P is a Control function generated in control section. • A control function is a Boolean variable that is equal to 1 or 0. The control function is shown as: P: R2 ← R1 • The control condition is terminated with a colon. It shows that transfer operation can be executed only if P=1. 11/22/2022 Department of CSE (AI/ML) 12
  • 13. Register Transfer Operations 11/22/2022 Department of CSE (AI/ML) 13
  • 14. Register Transfer Operations • A comma is used to separate two or more operations that are executed at the same time. • The statement denotes an operation that exchange the contents of two register during one common clock pulse provide that T=1. 11/22/2022 Department of CSE (AI/ML) 14
  • 15. Bus and Memory Transfer • A digital system composed of many registers, and paths must be provided to transfer information from one register to another. The number of wires connecting all of the registers will be excessive if separate lines are used between each register and all other registers in the system. • A bus structure, on the other hand, is more efficient for transferring information between registers in a multi-register configuration system. • A bus consists of a set of common lines, one for each bit of register, through which binary information is transferred one at a time. Control signals determine which register is selected by the bus during a particular register transfer. 11/22/2022 Department of CSE (AI/ML) 15
  • 16. Bus Transfer 11/22/2022 Department of CSE (AI/ML) 16 • The following block diagram shows a Bus system for four registers. It is constructed with the help of four 4 * 1 Multiplexers each having four data inputs (0 through 3) and two selection inputs (S1 and S2). • We have used labels to make it more convenient for you to understand the input-output configuration of a Bus system for four registers. For instance, output 1 of register A is connected to input 0 of MUX1.
  • 17. 11/22/2022 Department of CSE (AI/ML) 17
  • 18. Bus transfer • The two selection lines S1 and S2 are connected to the selection inputs of all four multiplexers. The selection lines choose the four bits of one register and transfer them into the four-line common bus. • When both of the select lines are at low logic, i.e. S1S0 = 00, the 0 data inputs of all four multiplexers are selected and applied to the outputs that forms the bus. • This, in turn, causes the bus lines to receive the content of register A since the outputs of this register are connected to the 0 data inputs of the multiplexers. 11/22/2022 Department of CSE (AI/ML) 18
  • 19. Bus transfer 11/22/2022 Department of CSE (AI/ML) 19 • Similarly, when S1S0 = 01, register B is selected, and the bus lines will receive the content provided by register B. • The following function table shows the register that is selected by the bus for each of the four possible binary values of the Selection lines.
  • 20. Three-state Gates 11/22/2022 Department of CSE (AI/ML) 20 • A bus system can also be constructed using three-state gates instead of multiplexers. • The three state gates can be considered as a digital circuit that has three gates, two of which are signals equivalent to logic 1 and 0 as in a conventional gate. However, the third gate exhibits a high-impedance state. • The most commonly used three state gates in case of the bus system is a buffer gate. • The graphical symbol of a three-state buffer gate can be represented as:
  • 21. Bus line with three state buffers 11/22/2022 Department of CSE (AI/ML) 21 • The outputs generated by the four buffers are connected to form a single bus line. • Only one buffer can be in active state at a given point of time. • The control inputs to the buffers determine which of the four normal inputs will communicate with the bus line. • A 2 * 4 decoder ensures that no more than one control input is active at any given point of time.
  • 22. Memory Transfer Most of the standard notations used for specifying operations on memory transfer are stated below. • The transfer of information from a memory unit to the user end is called a Read operation. • The transfer of new information to be stored in the memory is called a Write operation. • A memory word is designated by the letter M. • We must specify the address of memory word while writing the memory transfer operations. • The address register is designated by AR and the data register by DR. • Thus, a read operation can be stated as: 11/22/2022 Department of CSE (AI/ML) 22
  • 23. Memory Transfer • The Read statement causes a transfer of information into the data register (DR) from the memory word (M) selected by the address register (AR). • And the corresponding write operation can be stated as: • The Write statement causes a transfer of information from register R1 into the memory word (M) selected by address register (AR). 11/22/2022 Department of CSE (AI/ML) 23
  • 24. Topics to be covered in next session 3 • Micro operations 11/22/2022 Department of CSE (AI/ML) 24 Thank you!!!