SlideShare a Scribd company logo
1 of 61
Overview of Register Transfer,
Micro Operations and Basic
Computer Organization and Design
Course: MCA-I
Subject: Computer Organization
And Architecture
Unit-2
1
SIMPLE DIGITAL SYSTEMS
• Combinational and sequential circuits 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.
• Typically,
– What operations are performed on the data in the registers
– What information is passed between registers
2
MICROOPERATIONS (1)
• The operations on the data in registers are called microoperations.
• The functions built into registers are examples of microoperations
– Shift
– Load
– Clear
– Increment
3
MICROOPERATION (2)
An elementary operation performed (during
one clock pulse), on the information stored
in one or more registers
R ← f(R, R)
f: shift, load, clear, increment, add, subtract, complement,
and, or, xor, …
ALU
(f)
Registers
(R)
1 clock cycle
4
ORGANIZATION OF A DIGITAL SYSTEM
- Set of registers and their functions
- Microoperations set
Set of allowable microoperations provided
by the organization of the computer
- Control signals that initiate the sequence of
microoperations (to perform the functions)
• Definition of the (internal) organization of a computer
5
REGISTER TRANSFER LEVEL
• Viewing a computer, or any digital system, in this way is called
the register transfer level
• This is because we’re focusing on
– The system’s registers
– The data transformations in them, and
– The data transfers between them.
6
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) microoperations
• 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.
7
DESIGNATION OF REGISTERS
• 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
8
DESIGNATION OF REGISTERS
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
9
REGISTER TRANSFER
• 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 R1 are copied (loaded) into
register R2
– 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
10
REGISTER TRANSFER
• 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
11
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)
12
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
13
SIMULTANEOUS OPERATIONS
• If two or more operations are to occur simultaneously, they are
separated with commas
P: R3 ← R5, MAR ← IR
• Here, if the control function P = 1, load the contents of R5 into R3, and
at the same time (clock), load the contents of register IR into register
MAR
14
BASIC SYMBOLS FOR REGISTER TRANSFERS
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
15
CONNECTING REGISTRS
• In a digital system with many registers, it is impractical to have data
and control lines to directly allow each register to be loaded with the
contents of every possible other registers
• To completely connect n registers  n(n-1) lines
• O(n2
) cost
– This is not a realistic approach to use in a large digital system
• Instead, take a different approach
• Have one centralized set of circuits for data transfer – the bus
• Have control circuits to select which register is the source, and
which is the destination
16
Micro-Operations
A micro-operation is an elementary operation,
performed during one clock pulse, on the
information stored in one or more registers.
R1 ← R1 + R2
17
Computer Organization
The organization of a digital computer is best
defined by specifying:
– The set of registers it contains and their function
– The sequence of micro-operations performed on
the binary information stored in the registers
– The control functions that initiate the sequence
of micro-operations
18
Register Designation
• Whole register
• Portion of a register
• One bit in a register
19 /
Parallel Register Transfer
• Unconditional
R1 ← R2
• Conditional
P: R1 ← R2
• Simultaneous
R1 ← R2 , R3 ← R2
20 /
Basic Symbols for Reg. Transfer
21 /
Symbol Description Examples
Capital Letters
& Numerals
Denotes a register A , MBR , R3
Subscript Denotes a bit of a register A2 , B i
Parenthesis ( ) Denotes a portion of a register I(1– 5) , MBR(AD)
Arrow ← Denotes transfer of information A ← B
Colon : Denotes termination of control function P:
Comma , Separates two micro-operations A ← B , B ← A
Serial Register Transfer
S: A i ← A i–1 , A 0 ← 0 i = 1, 2, 3
22 /
Bus Transfer
23 /
Bus Transfer
24 /
Bus Transfer
25 /
Bus Transfer
26 /
Bus Transfer
27 /
Bus Transfer
28 /
Memory Transfer
MBR ← M
M ← MBR
29 /
Memory Transfer
MBR ← M
MBR ← M [ R1 ]
30 /
Micro-Operation Summary
31 /
Symbolic Description
A ← B Transfer content of register B into register A
MAR ← MBR(AD) Transfer content of AD portion of register MBR into MAR
A ← Constant Transfer binary (code) constant into register A
ABUS ← R1
R2 ← ABUS
Transfer content of R1 into bus A and at the same time transfer
content of bus A into R2
MAR Memory address register: holds the address of the memory unit
MBR
Memory buffer register: holds the data transferred in or out of the
memory
M [ R ]
Denotes the memory word specified by the address presently
available in register R
M
Denotes the memory word specified by the address in an implied
register MAR
MBR ← M Memory read operation
M ← MBR Memory write operation
Micro-Operation Types
• Data Transfer
• Arithmetic Operations
• Logic Operations
• Shift Operations
32 /
Micro-Operation Types
• Data Transfer
• Arithmetic Operations S = A + B
• Logic Operations
• Shift Operations
33 /
Addition
S = A + B
34 /
Time (Propagation) delay = ?Time (Propagation) delay = ?
Addition
S = A + B
t = 0
35 /
Time (Propagation) delay = ?Time (Propagation) delay = ?
Addition
S = A + B
t = τ
36 /
Time (Propagation) delay = ?Time (Propagation) delay = ?
Addition
S = A + B
t = 2τ
37 /
Time (Propagation) delay = ?Time (Propagation) delay = ?
Addition
S = A + B
t = 3τ
38 /
Time (Propagation) delay = ?Time (Propagation) delay = ?
Addition
S = A + B
t = 4τ
39 /
Time (Propagation) delay = 4Time (Propagation) delay = 4 ττ
Addition
EA ← A + B
40 /
FlagFlag
Subtraction
A ← A – B _
A ← A + ( B + 1 )
41 /
Increment
A ← A + 1
42 /
Decrement
A ← A – 1
43 /
Arithmetic
44 /
Arithmetic
45 /
C2 C1 C0 Function
0 0 0 Y = A + B
0 0 1 Y = A + B + 1
0 1 0 Y = A + B
0 1 1 Y = A – B
1 0 0 Y = A
1 0 1 Y = A + 1
1 1 0 Y = A – 1
1 1 1 Y = A
Arithmetic
46 /
C2 C1 C0 Function
0 0 0 S = A + B
0 0 1 S = A + B + 1
0 1 0 S = A + B
0 1 1 S = A – B
1 0 0 S = A
1 0 1 S = A + 1
1 1 0 S = A – 1
1 1 1 S = A
Micro-Operation Types
• Data Transfer
• Arithmetic Operations
• Logic Operations
• Shift Operations
47 /
AND:AND: SS == AA ΛΛ BB
OR:OR: SS == AA VV BB
XOR:XOR: SS == AA ⊕⊕ BB
AND:AND: SS == AA •• BB
OR:OR: SS == AA ++ BB
XOR:XOR: SS == AA ⊕⊕ BB
Logic
48 /
Logic
49 /
Logic
50 /
C1 C0 Function
0 0 Y = A Λ B
0 1 Y =A V B
1 0 Y = A ⊕ B
1 1 Y = A
Logic
51 /
C1 C0 Function
0 0 F = A Λ B
0 1 F = A V B
1 0 F = A ⊕ B
1 1 F = A
Micro-Operation Types
• Data Transfer
• Arithmetic Operations
• Logic Operations
• Shift Operations
– Logical Shift shl A
shr A
– Arithmetic Shift ashl A
ashr A
– Circular Shift cil A
cir A
52 /
Logical & Arithmetic Shift
53 /
C1 C0 Function
0 0 F = A
0 1 F = shr A
1 0 F = shl A
1 1 F = ashr A
Logical & Arithmetic Shift
54 /
C1 C0 Function
0 0 F = A
0 1 F = shr A
1 0 F = shl A
1 1 F = ashr A
Logical & Arithmetic Shift
55 /
C1 C0 Function
0 0 F = A
0 1 F = shr A
1 0 F = shl A
1 1 F = ashr A
Logical & Arithmetic Shift
56 /
C1 C0 Function
0 0 F = A
0 1 F = shr A
1 0 F = shl A
1 1 F = ashr A
Logical & Arithmetic Shift
57 /
C1 C0 Function
0 0 F = A
0 1 F = shr A
1 0 F = shl A
1 1 F = ashr A
Logical, Arithmetic, & Circular
Shift
58 /
C2 Shift
0 Regular
1 Circular
Logical, Arithmetic, & Circular
Shift
59 /
C2 C1 C0 Function
x 0 0 F = A
0 0 1 F = shr A
0 1 0 F = shl A
0 1 1 F = ashr A
1 0 1 F = cir A
1 1 0 F = cil A
Arithmetic and Logic Unit (ALU)
60 /
Reference
Reference Book
• Computer Organization & Architecture 7e By
Stallings
• Computer System Architecture By Mano

More Related Content

What's hot

What's hot (18)

Micro operations
Micro operationsMicro operations
Micro operations
 
Registers in coa
Registers in coaRegisters in coa
Registers in coa
 
RTL
RTLRTL
RTL
 
CO by Rakesh Roshan
CO by Rakesh RoshanCO by Rakesh Roshan
CO by Rakesh Roshan
 
Pipeline r014
Pipeline   r014Pipeline   r014
Pipeline r014
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
 
Register transfer language
Register  transfer languageRegister  transfer language
Register transfer language
 
Register Transfer Language
Register Transfer LanguageRegister Transfer Language
Register Transfer Language
 
Arm organization and implementation
Arm organization and implementationArm organization and implementation
Arm organization and implementation
 
4th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-74th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-7
 
Register transfer and microoperations
Register transfer and microoperationsRegister transfer and microoperations
Register transfer and microoperations
 
Lect2 organization 2
Lect2 organization 2Lect2 organization 2
Lect2 organization 2
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
REGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONSREGISTER TRANSFER AND MICRO OPERATIONS
REGISTER TRANSFER AND MICRO OPERATIONS
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013
 
Functional organization
Functional organizationFunctional organization
Functional organization
 

Viewers also liked

B.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and networkB.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and networkRai University
 
B.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer softwareB.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer softwareRai University
 
B.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimediaB.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimediaRai University
 
B.sc cs-ii -u-1.2 digital logic circuits, digital component
B.sc cs-ii -u-1.2 digital logic circuits, digital componentB.sc cs-ii -u-1.2 digital logic circuits, digital component
B.sc cs-ii -u-1.2 digital logic circuits, digital componentRai University
 
B.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareB.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareRai University
 
Bjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary systemBjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary systemRai University
 
Bsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networksBsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networksRai University
 
B.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and networkB.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and networkRai University
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineRai University
 
Mba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity aMba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity aRai University
 
Diploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for SuccessDiploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for SuccessRai University
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentRai University
 
Bsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and stringsBsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and stringsRai University
 
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handlingMca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handlingRai University
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureRai University
 
B.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricantsB.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricantsRai University
 
Bsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalizationBsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalizationRai University
 

Viewers also liked (20)

Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
B.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and networkB.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and network
 
B.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer softwareB.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer software
 
B.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimediaB.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimedia
 
B.sc cs-ii -u-1.2 digital logic circuits, digital component
B.sc cs-ii -u-1.2 digital logic circuits, digital componentB.sc cs-ii -u-1.2 digital logic circuits, digital component
B.sc cs-ii -u-1.2 digital logic circuits, digital component
 
B.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareB.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer software
 
Bjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary systemBjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary system
 
Bsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networksBsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networks
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
B.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and networkB.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and network
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipeline
 
Mba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity aMba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity a
 
Diploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for SuccessDiploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for Success
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
 
Bsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and stringsBsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and strings
 
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handlingMca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
 
B.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricantsB.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricants
 
Bsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalizationBsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalization
 
Conférence Social Media
Conférence Social MediaConférence Social Media
Conférence Social Media
 

Similar to Mca i-u-2-overview of register transfer, micro operations and basic computer organization and design

Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...Rai University
 
unit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architectureunit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and ArchitectureSwapnitaSrivastava1
 
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
 
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
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONSDr. Ajay Kumar Singh
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4Umang Gupta
 
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.pptmailmynew202
 
Register reference
Register referenceRegister reference
Register referenceNitesh Singh
 
Module 5 part1
Module 5 part1Module 5 part1
Module 5 part1cs19club
 
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
 
Regis&Microo_fgfhkgfvg microperation aee
Regis&Microo_fgfhkgfvg microperation aeeRegis&Microo_fgfhkgfvg microperation aee
Regis&Microo_fgfhkgfvg microperation aeeBala Anand
 
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 micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 

Similar to Mca i-u-2-overview of register transfer, micro operations and basic computer organization and design (20)

Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.1-overview of register transfer, micro operations and basic c...
 
unit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architectureunit1COA Computer Organisation and Architecture
unit1COA Computer Organisation and Architecture
 
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
 
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
 
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER  TRANSFER  AND  MICROOPERATIONSREGISTER  TRANSFER  AND  MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS
 
coa
coacoa
coa
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
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
 
Register reference
Register referenceRegister reference
Register reference
 
Module 5 part1
Module 5 part1Module 5 part1
Module 5 part1
 
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
 
Regis&Microo_fgfhkgfvg microperation aee
Regis&Microo_fgfhkgfvg microperation aeeRegis&Microo_fgfhkgfvg microperation aee
Regis&Microo_fgfhkgfvg microperation aee
 
COA LESSON.ppt
COA LESSON.pptCOA LESSON.ppt
COA LESSON.ppt
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
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
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Instruction types
Instruction typesInstruction types
Instruction types
 

More from Rai University

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University Rai University
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,Rai University
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02Rai University
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditureRai University
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public financeRai University
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introductionRai University
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflationRai University
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economicsRai University
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructureRai University
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competitionRai University
 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Mca i-u-2-overview of register transfer, micro operations and basic computer organization and design

  • 1. Overview of Register Transfer, Micro Operations and Basic Computer Organization and Design Course: MCA-I Subject: Computer Organization And Architecture Unit-2 1
  • 2. SIMPLE DIGITAL SYSTEMS • Combinational and sequential circuits 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. • Typically, – What operations are performed on the data in the registers – What information is passed between registers 2
  • 3. MICROOPERATIONS (1) • The operations on the data in registers are called microoperations. • The functions built into registers are examples of microoperations – Shift – Load – Clear – Increment 3
  • 4. MICROOPERATION (2) An elementary operation performed (during one clock pulse), on the information stored in one or more registers R ← f(R, R) f: shift, load, clear, increment, add, subtract, complement, and, or, xor, … ALU (f) Registers (R) 1 clock cycle 4
  • 5. ORGANIZATION OF A DIGITAL SYSTEM - Set of registers and their functions - Microoperations set Set of allowable microoperations provided by the organization of the computer - Control signals that initiate the sequence of microoperations (to perform the functions) • Definition of the (internal) organization of a computer 5
  • 6. REGISTER TRANSFER LEVEL • Viewing a computer, or any digital system, in this way is called the register transfer level • This is because we’re focusing on – The system’s registers – The data transformations in them, and – The data transfers between them. 6
  • 7. 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) microoperations • 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. 7
  • 8. DESIGNATION OF REGISTERS • 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 8
  • 9. DESIGNATION OF REGISTERS 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 9
  • 10. REGISTER TRANSFER • 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 R1 are copied (loaded) into register R2 – 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 10
  • 11. REGISTER TRANSFER • 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 11
  • 12. 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) 12
  • 13. 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 13
  • 14. SIMULTANEOUS OPERATIONS • If two or more operations are to occur simultaneously, they are separated with commas P: R3 ← R5, MAR ← IR • Here, if the control function P = 1, load the contents of R5 into R3, and at the same time (clock), load the contents of register IR into register MAR 14
  • 15. BASIC SYMBOLS FOR REGISTER TRANSFERS 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 15
  • 16. CONNECTING REGISTRS • In a digital system with many registers, it is impractical to have data and control lines to directly allow each register to be loaded with the contents of every possible other registers • To completely connect n registers  n(n-1) lines • O(n2 ) cost – This is not a realistic approach to use in a large digital system • Instead, take a different approach • Have one centralized set of circuits for data transfer – the bus • Have control circuits to select which register is the source, and which is the destination 16
  • 17. Micro-Operations A micro-operation is an elementary operation, performed during one clock pulse, on the information stored in one or more registers. R1 ← R1 + R2 17
  • 18. Computer Organization The organization of a digital computer is best defined by specifying: – The set of registers it contains and their function – The sequence of micro-operations performed on the binary information stored in the registers – The control functions that initiate the sequence of micro-operations 18
  • 19. Register Designation • Whole register • Portion of a register • One bit in a register 19 /
  • 20. Parallel Register Transfer • Unconditional R1 ← R2 • Conditional P: R1 ← R2 • Simultaneous R1 ← R2 , R3 ← R2 20 /
  • 21. Basic Symbols for Reg. Transfer 21 / Symbol Description Examples Capital Letters & Numerals Denotes a register A , MBR , R3 Subscript Denotes a bit of a register A2 , B i Parenthesis ( ) Denotes a portion of a register I(1– 5) , MBR(AD) Arrow ← Denotes transfer of information A ← B Colon : Denotes termination of control function P: Comma , Separates two micro-operations A ← B , B ← A
  • 22. Serial Register Transfer S: A i ← A i–1 , A 0 ← 0 i = 1, 2, 3 22 /
  • 29. Memory Transfer MBR ← M M ← MBR 29 /
  • 30. Memory Transfer MBR ← M MBR ← M [ R1 ] 30 /
  • 31. Micro-Operation Summary 31 / Symbolic Description A ← B Transfer content of register B into register A MAR ← MBR(AD) Transfer content of AD portion of register MBR into MAR A ← Constant Transfer binary (code) constant into register A ABUS ← R1 R2 ← ABUS Transfer content of R1 into bus A and at the same time transfer content of bus A into R2 MAR Memory address register: holds the address of the memory unit MBR Memory buffer register: holds the data transferred in or out of the memory M [ R ] Denotes the memory word specified by the address presently available in register R M Denotes the memory word specified by the address in an implied register MAR MBR ← M Memory read operation M ← MBR Memory write operation
  • 32. Micro-Operation Types • Data Transfer • Arithmetic Operations • Logic Operations • Shift Operations 32 /
  • 33. Micro-Operation Types • Data Transfer • Arithmetic Operations S = A + B • Logic Operations • Shift Operations 33 /
  • 34. Addition S = A + B 34 / Time (Propagation) delay = ?Time (Propagation) delay = ?
  • 35. Addition S = A + B t = 0 35 / Time (Propagation) delay = ?Time (Propagation) delay = ?
  • 36. Addition S = A + B t = τ 36 / Time (Propagation) delay = ?Time (Propagation) delay = ?
  • 37. Addition S = A + B t = 2τ 37 / Time (Propagation) delay = ?Time (Propagation) delay = ?
  • 38. Addition S = A + B t = 3τ 38 / Time (Propagation) delay = ?Time (Propagation) delay = ?
  • 39. Addition S = A + B t = 4τ 39 / Time (Propagation) delay = 4Time (Propagation) delay = 4 ττ
  • 40. Addition EA ← A + B 40 / FlagFlag
  • 41. Subtraction A ← A – B _ A ← A + ( B + 1 ) 41 /
  • 42. Increment A ← A + 1 42 /
  • 43. Decrement A ← A – 1 43 /
  • 45. Arithmetic 45 / C2 C1 C0 Function 0 0 0 Y = A + B 0 0 1 Y = A + B + 1 0 1 0 Y = A + B 0 1 1 Y = A – B 1 0 0 Y = A 1 0 1 Y = A + 1 1 1 0 Y = A – 1 1 1 1 Y = A
  • 46. Arithmetic 46 / C2 C1 C0 Function 0 0 0 S = A + B 0 0 1 S = A + B + 1 0 1 0 S = A + B 0 1 1 S = A – B 1 0 0 S = A 1 0 1 S = A + 1 1 1 0 S = A – 1 1 1 1 S = A
  • 47. Micro-Operation Types • Data Transfer • Arithmetic Operations • Logic Operations • Shift Operations 47 / AND:AND: SS == AA ΛΛ BB OR:OR: SS == AA VV BB XOR:XOR: SS == AA ⊕⊕ BB AND:AND: SS == AA •• BB OR:OR: SS == AA ++ BB XOR:XOR: SS == AA ⊕⊕ BB
  • 50. Logic 50 / C1 C0 Function 0 0 Y = A Λ B 0 1 Y =A V B 1 0 Y = A ⊕ B 1 1 Y = A
  • 51. Logic 51 / C1 C0 Function 0 0 F = A Λ B 0 1 F = A V B 1 0 F = A ⊕ B 1 1 F = A
  • 52. Micro-Operation Types • Data Transfer • Arithmetic Operations • Logic Operations • Shift Operations – Logical Shift shl A shr A – Arithmetic Shift ashl A ashr A – Circular Shift cil A cir A 52 /
  • 53. Logical & Arithmetic Shift 53 / C1 C0 Function 0 0 F = A 0 1 F = shr A 1 0 F = shl A 1 1 F = ashr A
  • 54. Logical & Arithmetic Shift 54 / C1 C0 Function 0 0 F = A 0 1 F = shr A 1 0 F = shl A 1 1 F = ashr A
  • 55. Logical & Arithmetic Shift 55 / C1 C0 Function 0 0 F = A 0 1 F = shr A 1 0 F = shl A 1 1 F = ashr A
  • 56. Logical & Arithmetic Shift 56 / C1 C0 Function 0 0 F = A 0 1 F = shr A 1 0 F = shl A 1 1 F = ashr A
  • 57. Logical & Arithmetic Shift 57 / C1 C0 Function 0 0 F = A 0 1 F = shr A 1 0 F = shl A 1 1 F = ashr A
  • 58. Logical, Arithmetic, & Circular Shift 58 / C2 Shift 0 Regular 1 Circular
  • 59. Logical, Arithmetic, & Circular Shift 59 / C2 C1 C0 Function x 0 0 F = A 0 0 1 F = shr A 0 1 0 F = shl A 0 1 1 F = ashr A 1 0 1 F = cir A 1 1 0 F = cil A
  • 60. Arithmetic and Logic Unit (ALU) 60 /
  • 61. Reference Reference Book • Computer Organization & Architecture 7e By Stallings • Computer System Architecture By Mano