SlideShare a Scribd company logo
Presented by:
Rakesh R Pillai
 Micro operations are the basic operations that can
be performed by a system on data stored in registers.
Each micro operation describes a
simple operation performed on data in one or more
registers.
 Topics to be understood through this presentation:
 Arithmetic Micro operation
 Logic Micro operation
 Shift Micro operation
 Arithmetic micro operations transfers arithmetic
operations on numeric data stored in registers
Arithmetic Micro operations
Symbolic designation Description
R3 ← R1 + R2 Contents of R1 plus R2 transferred to R3
R3 ← R1 – R2 Contents of R1 minus R2 transferred to R3
R2 ← R2 Complement the contents of R2 (1’s complement)
R2 ← R2 + 1 2’s Complement the contents of R2 (negate)
R3 ← R1 + R2 + 1 R1 plus the 2’s complement of R2 (subtract)
R1 ← R1 + 1 Increment the contents of R1 by one
R1 ← R1 – 1 Decrement the contents of R1 by one
Microoperations
Microoperations
 The digital circuit that generates the arithmetic sum of
two binary numbers of any length is called a Binary
Adder.
 Logic micro operation specify binary operation for
strings of bit stored in registers.
 These operation consider each bit of the register
separately and treat them as binary variables. For
example,
P:R1 R1 R2
1010 Content of R1
1100 Content of R2
0110 Content of R1 after P=1
Microoperations
Microoperations
Microoperations
• SELECTIVE SET:
it sets the bit’s to 1 in register A where there
are 1,s in register B. Example
1010 A before
1100 B(logic operant)
1110 A after
• SELECTIVE COMPLEMENT :
it complements bits in A where there are
corresponding 1’s in B. Example
1010 A before
1100 B
0110 A after
it can be seen selective complement can be done by Exclusive –OR
 SELECTIVE CLEAR:
It clear the bit to 0 in A where there
are corresponding 1’s in B . Example
1010 A before
1100 B
0010 A after
(it can be obtained by micro operation AB’)
 MASKING:
It is similar to selective clear except that the
bit of A is cleared where there corresponding 0’s.
1010 A before
1100 B
1000 A after
 INSERT :
It inserts a new value into a group of bits.
This is done by first masking and then O ring with the
value. Example
0110 1010 A before
0000 1111 B
0000 1010 A after
then insert a new value
0000 1010 A before
1001 0000 B(insert)
1001 1010 A after
 Shift micro operation are used for serial transfer of
data . The content of the register can be shifted to left
or the right. At the same time the the bits are shifted to
the first flip flop receive its binary information from
the serial input. The information transferred through
the serial input determines the type of shift.
 There are three types of shift:
I. Logical shift
II. Circular shift
III. Arithmetic shift
Microoperations
 A logical shift is one that transfer 0 through the serial
input. The bit transferred to the end position through
the serial input is assumed to be zero.
 Example:
R1 shl R1 (1 bit shift to the left)
R2 shr R2(1 bit shift to the right)
Microoperations
 The circular shift(also known as rotate operation)
circulates the bits of the register around the ends
without the loss of information.
 This is accomplished by the connecting the serial
output of the register to the serial input.
 Example:
R1 cil R1(shifts left)
R2 cir R2(shifts right)
Microoperations
 An arithmetic shift is a microoperation that shifts
signed binary number to the left or right.
 An arithmetic shift left multiplies a signed binary no.
by 2 and shift right divides by 2.
 The signed bit remains unchanged whether it is
divided or multiplied by 2.
 The arithmetic shift right leaves the sign bit unchanged
and shift the no.(including the sign bit) to the right the bit
Rn-1 remain unchanged and R0 is lost.
 The arithmetic shift left insert a 0 into R0 and shifts all the
other bits to the left. The initial bit of Rn-1 is lost and
replaced by the bit from Rn-2.A sign reversal occurs if the
bit in Rn-1 changes in the value after shift. This happens if
the multiplication by 2 causes an overflow.
 An over-flow flip-flop Vs can be used to detect an
arithmetic shift left overflow.
Vs=Rn-1 Rn-2
 If Vs=0,there is no overflow, if Vs=1 there is overflow and a
sign reversal takes place. Vs must be transferred into the
over flow with the same clock pulse that shifts the register.
Microoperations
Microoperations
Microoperations
Microoperations

More Related Content

What's hot (20)

PPTX
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
PPTX
Unit 4-booth algorithm
vishal choudhary
 
PPTX
Computer arithmetic
Balakrishna Chowdary
 
PPTX
Logical and shift micro operations
Sanjeev Patel
 
PPT
Computer Organization and Architecture.
CS_GDRCST
 
PPTX
Register transfer language
Sanjeev Patel
 
PPTX
Logical micro-operations
VATSAL TRIVEDI
 
PPTX
Floating point arithmetic operations (1)
cs19club
 
PPTX
Arithmetic micro operations
lavanya marichamy
 
PPTX
Register transfer and micro-operation
Nikhil Pandit
 
PPTX
Multiplication algorithm
Gaurav Subham
 
PPTX
Bus and memory transfer
Anil Pokhrel
 
PPTX
Basic Computer Organization and Design
Aksum Institute of Technology(AIT, @Letsgo)
 
PPT
Instruction Set Architecture (ISA)
Gaditek
 
PPTX
Three Address code
Pooja Dixit
 
PPTX
Computer Organization and Architecture.pptx
AshokRachapalli1
 
PPTX
pipeline in computer architecture design
ssuser87fa0c1
 
PPT
Memory reference instruction
Sanjeev Patel
 
PPTX
Computer Arithmetic
Kamal Acharya
 
PPT
Modes Of Transfer in Input/Output Organization
MOHIT AGARWAL
 
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
Unit 4-booth algorithm
vishal choudhary
 
Computer arithmetic
Balakrishna Chowdary
 
Logical and shift micro operations
Sanjeev Patel
 
Computer Organization and Architecture.
CS_GDRCST
 
Register transfer language
Sanjeev Patel
 
Logical micro-operations
VATSAL TRIVEDI
 
Floating point arithmetic operations (1)
cs19club
 
Arithmetic micro operations
lavanya marichamy
 
Register transfer and micro-operation
Nikhil Pandit
 
Multiplication algorithm
Gaurav Subham
 
Bus and memory transfer
Anil Pokhrel
 
Basic Computer Organization and Design
Aksum Institute of Technology(AIT, @Letsgo)
 
Instruction Set Architecture (ISA)
Gaditek
 
Three Address code
Pooja Dixit
 
Computer Organization and Architecture.pptx
AshokRachapalli1
 
pipeline in computer architecture design
ssuser87fa0c1
 
Memory reference instruction
Sanjeev Patel
 
Computer Arithmetic
Kamal Acharya
 
Modes Of Transfer in Input/Output Organization
MOHIT AGARWAL
 

Viewers also liked (6)

PPT
ALU project(segma team)
Mohamed Seif
 
PPTX
Arithmetic Logic Unit .
Deyaa Ahmed
 
PPT
ALU arithmetic logic unit
Karthik Prof.
 
PPTX
arithmetic logic unit
Shimak Sharook
 
PPT
ALU
Ramasubbu .P
 
PPT
Arithmetic Logic Unit (ALU)
Student
 
ALU project(segma team)
Mohamed Seif
 
Arithmetic Logic Unit .
Deyaa Ahmed
 
ALU arithmetic logic unit
Karthik Prof.
 
arithmetic logic unit
Shimak Sharook
 
Arithmetic Logic Unit (ALU)
Student
 
Ad

Similar to Microoperations (20)

PPT
RTL,Instruction set _
SwatiHans10
 
PPT
Logic Micro Operation
mahesh kumar prajapat
 
PPTX
Register transfer language & its micro operations
Lakshya Sharma
 
PPT
CAO 3 Unit 1 best of one presentation.ppt
AnuradhaGupta789099
 
PPTX
Shift Microoperations by Pir Sarfraz RSDT larkana
Pir Sarfraz Ahmed
 
PDF
Shift register
Ashwini Yadav
 
PDF
Arithmetic Microoperation.pdf
HarshitJ4
 
PPTX
Micro operations ,arithemetic ,logic ,shift and Register Transefer Operations
lokeshkumaar3421
 
PDF
Shift micro operations & 4 bit combinational circuit shifter
Monika Chauhan
 
PDF
Lect4 organization
Maher Alshammari
 
PPTX
Cse lecture-4.2-c bit wise operators and expression
FarshidKhan
 
PPTX
co-unit4.pptx mca computer organizaiton ist sem
jayarellirs
 
PPTX
Register transfer and microoperations part 2
Prasenjit Dey
 
PPT
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
gunjanvidyasagar
 
PDF
Unit-8-Computer-Arithmetic.pdf
GafryMahmoud
 
PPTX
Register transfer and microoperations
Dr. SURBHI SAROHA
 
PPT
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
NARENDRAKUMARCHAURAS1
 
PPTX
CS304PC:Computer Organization and Architecture Session 4 Arithmetic shift log...
Guru Nanak Technical Institutions
 
RTL,Instruction set _
SwatiHans10
 
Logic Micro Operation
mahesh kumar prajapat
 
Register transfer language & its micro operations
Lakshya Sharma
 
CAO 3 Unit 1 best of one presentation.ppt
AnuradhaGupta789099
 
Shift Microoperations by Pir Sarfraz RSDT larkana
Pir Sarfraz Ahmed
 
Shift register
Ashwini Yadav
 
Arithmetic Microoperation.pdf
HarshitJ4
 
Micro operations ,arithemetic ,logic ,shift and Register Transefer Operations
lokeshkumaar3421
 
Shift micro operations & 4 bit combinational circuit shifter
Monika Chauhan
 
Lect4 organization
Maher Alshammari
 
Cse lecture-4.2-c bit wise operators and expression
FarshidKhan
 
co-unit4.pptx mca computer organizaiton ist sem
jayarellirs
 
Register transfer and microoperations part 2
Prasenjit Dey
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
gunjanvidyasagar
 
Unit-8-Computer-Arithmetic.pdf
GafryMahmoud
 
Register transfer and microoperations
Dr. SURBHI SAROHA
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
NARENDRAKUMARCHAURAS1
 
CS304PC:Computer Organization and Architecture Session 4 Arithmetic shift log...
Guru Nanak Technical Institutions
 
Ad

Recently uploaded (20)

PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
Virus sequence retrieval from NCBI database
yamunaK13
 
PPTX
Introduction to Probability(basic) .pptx
purohitanuj034
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
PPTX
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
PPTX
Various Psychological tests: challenges and contemporary trends in psychologi...
santoshmohalik1
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
PDF
Stepwise procedure (Manually Submitted & Un Attended) Medical Devices Cases
MUHAMMAD SOHAIL
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
PPTX
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
PPTX
IDEAS AND EARLY STATES Social science pptx
NIRANJANASSURESH
 
PDF
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
PPTX
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
PPTX
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
Virus sequence retrieval from NCBI database
yamunaK13
 
Introduction to Probability(basic) .pptx
purohitanuj034
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 7-20-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Various Psychological tests: challenges and contemporary trends in psychologi...
santoshmohalik1
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
Stepwise procedure (Manually Submitted & Un Attended) Medical Devices Cases
MUHAMMAD SOHAIL
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Basics and rules of probability with real-life uses
ravatkaran694
 
Command Palatte in Odoo 18.1 Spreadsheet - Odoo Slides
Celine George
 
Electrophysiology_of_Heart. Electrophysiology studies in Cardiovascular syste...
Rajshri Ghogare
 
IDEAS AND EARLY STATES Social science pptx
NIRANJANASSURESH
 
My Thoughts On Q&A- A Novel By Vikas Swarup
Niharika
 
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 

Microoperations

  • 2.  Micro operations are the basic operations that can be performed by a system on data stored in registers. Each micro operation describes a simple operation performed on data in one or more registers.  Topics to be understood through this presentation:  Arithmetic Micro operation  Logic Micro operation  Shift Micro operation
  • 3.  Arithmetic micro operations transfers arithmetic operations on numeric data stored in registers Arithmetic Micro operations Symbolic designation Description R3 ← R1 + R2 Contents of R1 plus R2 transferred to R3 R3 ← R1 – R2 Contents of R1 minus R2 transferred to R3 R2 ← R2 Complement the contents of R2 (1’s complement) R2 ← R2 + 1 2’s Complement the contents of R2 (negate) R3 ← R1 + R2 + 1 R1 plus the 2’s complement of R2 (subtract) R1 ← R1 + 1 Increment the contents of R1 by one R1 ← R1 – 1 Decrement the contents of R1 by one
  • 6.  The digital circuit that generates the arithmetic sum of two binary numbers of any length is called a Binary Adder.
  • 7.  Logic micro operation specify binary operation for strings of bit stored in registers.  These operation consider each bit of the register separately and treat them as binary variables. For example, P:R1 R1 R2 1010 Content of R1 1100 Content of R2 0110 Content of R1 after P=1
  • 11. • SELECTIVE SET: it sets the bit’s to 1 in register A where there are 1,s in register B. Example 1010 A before 1100 B(logic operant) 1110 A after • SELECTIVE COMPLEMENT : it complements bits in A where there are corresponding 1’s in B. Example 1010 A before 1100 B 0110 A after it can be seen selective complement can be done by Exclusive –OR
  • 12.  SELECTIVE CLEAR: It clear the bit to 0 in A where there are corresponding 1’s in B . Example 1010 A before 1100 B 0010 A after (it can be obtained by micro operation AB’)  MASKING: It is similar to selective clear except that the bit of A is cleared where there corresponding 0’s. 1010 A before 1100 B 1000 A after
  • 13.  INSERT : It inserts a new value into a group of bits. This is done by first masking and then O ring with the value. Example 0110 1010 A before 0000 1111 B 0000 1010 A after then insert a new value 0000 1010 A before 1001 0000 B(insert) 1001 1010 A after
  • 14.  Shift micro operation are used for serial transfer of data . The content of the register can be shifted to left or the right. At the same time the the bits are shifted to the first flip flop receive its binary information from the serial input. The information transferred through the serial input determines the type of shift.  There are three types of shift: I. Logical shift II. Circular shift III. Arithmetic shift
  • 16.  A logical shift is one that transfer 0 through the serial input. The bit transferred to the end position through the serial input is assumed to be zero.  Example: R1 shl R1 (1 bit shift to the left) R2 shr R2(1 bit shift to the right)
  • 18.  The circular shift(also known as rotate operation) circulates the bits of the register around the ends without the loss of information.  This is accomplished by the connecting the serial output of the register to the serial input.  Example: R1 cil R1(shifts left) R2 cir R2(shifts right)
  • 20.  An arithmetic shift is a microoperation that shifts signed binary number to the left or right.  An arithmetic shift left multiplies a signed binary no. by 2 and shift right divides by 2.  The signed bit remains unchanged whether it is divided or multiplied by 2.
  • 21.  The arithmetic shift right leaves the sign bit unchanged and shift the no.(including the sign bit) to the right the bit Rn-1 remain unchanged and R0 is lost.  The arithmetic shift left insert a 0 into R0 and shifts all the other bits to the left. The initial bit of Rn-1 is lost and replaced by the bit from Rn-2.A sign reversal occurs if the bit in Rn-1 changes in the value after shift. This happens if the multiplication by 2 causes an overflow.  An over-flow flip-flop Vs can be used to detect an arithmetic shift left overflow. Vs=Rn-1 Rn-2  If Vs=0,there is no overflow, if Vs=1 there is overflow and a sign reversal takes place. Vs must be transferred into the over flow with the same clock pulse that shifts the register.