SlideShare a Scribd company logo
2
Most read
9
Most read
14
Most read
PRESENTED BY:                             ASHISH SIKKALOGICAL AND SHIFT MICROOPERATION
Logic microoperation 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 WHAT IS LOGIC MICROOPERATION
LIST OF logic microoperation
Sixteen logic microoperation
Hardware implementation
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 afterSELECTIVE COMPLEMENT :                                          it complements bits in A where there are corresponding  1’s in B.example                               1010  A before                               1100  B                               0110  A afterit can be seen selective complement can be done by Exclusive –ORSome other function
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 microoperation 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 Oring 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 microoperation are used for serial transfer of data.The content of the register can be shifted to left or the right.At the same time thet the bits are shifted the 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:Logical shiftCircular shiftArithmetic shift  SHIFT MICROOPERATION
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)Logical shift
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)Circular shift
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.arithmetic shift
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-2If  Vs=0,there is no over flow,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.
Hardware implementation

More Related Content

What's hot (20)

PPTX
Registers
Sanjeev Patel
 
PPTX
Computer architecture input output organization
Mazin Alwaaly
 
PPTX
1. Arithmetic Operations - Addition and subtraction of signed numbers.pptx
JEEVANANTHAMG6
 
PPTX
Timing and control
chauhankapil
 
PPTX
Register transfer language
Sanjeev Patel
 
PPTX
8086 microprocessor-architecture
prasadpawaskar
 
PPTX
Hardwired control
Siddique Ibrahim
 
PPTX
Interrupts and types of interrupts
Muhammad Sheharyar Asif
 
PPTX
Signed Addition And Subtraction
Keyur Vadodariya
 
PPTX
sequential circuits
Unsa Shakir
 
PPTX
Binary parallel adder
anu surya
 
PPTX
Interrupts
Albin Panakkal
 
PDF
Logic microoperations
Nitesh Singh
 
PPTX
Multiplication algorithm
Gaurav Subham
 
PPTX
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
PPS
Computer instructions
Anuj Modi
 
PPT
Instruction cycle
shweta-sharma99
 
PPTX
Addressing modes 8085
ShivamSood22
 
PPTX
Assembly Language
Ibrahimcommunication Al Ani
 
PPTX
Instruction set of 8086
9840596838
 
Registers
Sanjeev Patel
 
Computer architecture input output organization
Mazin Alwaaly
 
1. Arithmetic Operations - Addition and subtraction of signed numbers.pptx
JEEVANANTHAMG6
 
Timing and control
chauhankapil
 
Register transfer language
Sanjeev Patel
 
8086 microprocessor-architecture
prasadpawaskar
 
Hardwired control
Siddique Ibrahim
 
Interrupts and types of interrupts
Muhammad Sheharyar Asif
 
Signed Addition And Subtraction
Keyur Vadodariya
 
sequential circuits
Unsa Shakir
 
Binary parallel adder
anu surya
 
Interrupts
Albin Panakkal
 
Logic microoperations
Nitesh Singh
 
Multiplication algorithm
Gaurav Subham
 
Interrupts on 8086 microprocessor by vijay kumar.k
Vijay Kumar
 
Computer instructions
Anuj Modi
 
Instruction cycle
shweta-sharma99
 
Addressing modes 8085
ShivamSood22
 
Assembly Language
Ibrahimcommunication Al Ani
 
Instruction set of 8086
9840596838
 

Viewers also liked (20)

PPTX
Register transfer and micro-operation
Nikhil Pandit
 
PPTX
Register transfer and micro operation
Kamal Acharya
 
PDF
Computer organiztion4
Umang Gupta
 
PPTX
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
PPTX
Micro Programmed Control Unit
Kamal Acharya
 
PDF
Instruction code
Dr. Abhineet Anand
 
PPTX
Micro operation control of processor
Muhammad Ishaq
 
PDF
Lecture 2
GIKI
 
PPT
Microprogram Control
Anuj Modi
 
PPTX
Shift Microoperations by Pir Sarfraz RSDT larkana
Pir Sarfraz Ahmed
 
PPTX
Arithmetic and logical instructions set
Robert Almazan
 
PPT
Shift rotate
fika sweety
 
PPT
Logic, shift and rotate instruction
kashif Shafqat
 
PPTX
Control unit
Piyush Rochwani
 
PDF
Basic Computer Organization and Design
mekind
 
PPT
Al2ed chapter18
Abdullelah Al-Fahad
 
PPT
Mca i-u-4 central processing unit and pipeline
Rai University
 
PPTX
Logical micro-operations
VATSAL TRIVEDI
 
PPT
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Rai University
 
Register transfer and micro-operation
Nikhil Pandit
 
Register transfer and micro operation
Kamal Acharya
 
Computer organiztion4
Umang Gupta
 
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
Micro Programmed Control Unit
Kamal Acharya
 
Instruction code
Dr. Abhineet Anand
 
Micro operation control of processor
Muhammad Ishaq
 
Lecture 2
GIKI
 
Microprogram Control
Anuj Modi
 
Shift Microoperations by Pir Sarfraz RSDT larkana
Pir Sarfraz Ahmed
 
Arithmetic and logical instructions set
Robert Almazan
 
Shift rotate
fika sweety
 
Logic, shift and rotate instruction
kashif Shafqat
 
Control unit
Piyush Rochwani
 
Basic Computer Organization and Design
mekind
 
Al2ed chapter18
Abdullelah Al-Fahad
 
Mca i-u-4 central processing unit and pipeline
Rai University
 
Logical micro-operations
VATSAL TRIVEDI
 
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Rai University
 
Ad

Similar to Logical and shift micro operations (20)

PDF
Shift micro operations & 4 bit combinational circuit shifter
Monika Chauhan
 
PPTX
Register transfer and microoperations part 2
Prasenjit Dey
 
PPT
Logic Micro Operation
mahesh kumar prajapat
 
PPTX
Co ppt
8488918608
 
PPTX
Micro operations ,arithemetic ,logic ,shift and Register Transefer Operations
lokeshkumaar3421
 
PPT
RTL,Instruction set _
SwatiHans10
 
PPT
CAO 3 Unit 1 best of one presentation.ppt
AnuradhaGupta789099
 
PDF
Lect4 organization
Maher Alshammari
 
PPTX
Hemanth143
vijaydeepakg
 
PPTX
Computer Architecture
Ravi Kumar
 
PPTX
Computer Architecture
Ravi Kumar
 
PDF
Computer Architecture: ARITHMETIC FOR COMPUTERS
Gunasundari Selvaraj
 
PPTX
Register transfer language & its micro operations
Lakshya Sharma
 
PPTX
ARITHMETIC FOR COMPUTERS
Amirthavalli Senthil
 
PPTX
CA Unit ii
AmirthavalliR
 
PDF
Lecture2 binary multiplication
景文 饶
 
PPT
Counit2
Himanshu Dua
 
PPT
09 arithmetic 2
Sher Shah Merkhel
 
PPT
09 arithmetic
Sher Shah Merkhel
 
PPT
09 arithmetic
argiaggi
 
Shift micro operations & 4 bit combinational circuit shifter
Monika Chauhan
 
Register transfer and microoperations part 2
Prasenjit Dey
 
Logic Micro Operation
mahesh kumar prajapat
 
Co ppt
8488918608
 
Micro operations ,arithemetic ,logic ,shift and Register Transefer Operations
lokeshkumaar3421
 
RTL,Instruction set _
SwatiHans10
 
CAO 3 Unit 1 best of one presentation.ppt
AnuradhaGupta789099
 
Lect4 organization
Maher Alshammari
 
Hemanth143
vijaydeepakg
 
Computer Architecture
Ravi Kumar
 
Computer Architecture
Ravi Kumar
 
Computer Architecture: ARITHMETIC FOR COMPUTERS
Gunasundari Selvaraj
 
Register transfer language & its micro operations
Lakshya Sharma
 
ARITHMETIC FOR COMPUTERS
Amirthavalli Senthil
 
CA Unit ii
AmirthavalliR
 
Lecture2 binary multiplication
景文 饶
 
Counit2
Himanshu Dua
 
09 arithmetic 2
Sher Shah Merkhel
 
09 arithmetic
Sher Shah Merkhel
 
09 arithmetic
argiaggi
 
Ad

More from Sanjeev Patel (20)

PPT
Unit v export incentives
Sanjeev Patel
 
PPT
Types of letter of credits on 11 09 2012
Sanjeev Patel
 
PPT
Risks involved in imports
Sanjeev Patel
 
PPT
Processing of export order on 4 09 12
Sanjeev Patel
 
PPTX
North america ppt
Sanjeev Patel
 
PPT
Mib 3.6 unit ii on 10 09 12
Sanjeev Patel
 
PPT
Mib 3.6 unit 2 on 17 09 2012
Sanjeev Patel
 
PPT
Mib 3.6 on august 6 th 2012
Sanjeev Patel
 
PPT
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Sanjeev Patel
 
PPT
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Sanjeev Patel
 
PPT
Mib 3.6 marine insurance on 09 10 12 copy
Sanjeev Patel
 
PPT
Mib 3.6 export financing on 1 10 12
Sanjeev Patel
 
PPT
Incoterms on 27th august 2012
Sanjeev Patel
 
PPT
Export import control main
Sanjeev Patel
 
PPT
Mib 3.6 on 14th aug 2012
Sanjeev Patel
 
PPSX
Teachers day _Sanjeev_Patel
Sanjeev Patel
 
PPT
Memory reference instruction
Sanjeev Patel
 
PPT
Introduction
Sanjeev Patel
 
PPT
Instruction format
Sanjeev Patel
 
PPTX
Input output organisation
Sanjeev Patel
 
Unit v export incentives
Sanjeev Patel
 
Types of letter of credits on 11 09 2012
Sanjeev Patel
 
Risks involved in imports
Sanjeev Patel
 
Processing of export order on 4 09 12
Sanjeev Patel
 
North america ppt
Sanjeev Patel
 
Mib 3.6 unit ii on 10 09 12
Sanjeev Patel
 
Mib 3.6 unit 2 on 17 09 2012
Sanjeev Patel
 
Mib 3.6 on august 6 th 2012
Sanjeev Patel
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Sanjeev Patel
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Sanjeev Patel
 
Mib 3.6 marine insurance on 09 10 12 copy
Sanjeev Patel
 
Mib 3.6 export financing on 1 10 12
Sanjeev Patel
 
Incoterms on 27th august 2012
Sanjeev Patel
 
Export import control main
Sanjeev Patel
 
Mib 3.6 on 14th aug 2012
Sanjeev Patel
 
Teachers day _Sanjeev_Patel
Sanjeev Patel
 
Memory reference instruction
Sanjeev Patel
 
Introduction
Sanjeev Patel
 
Instruction format
Sanjeev Patel
 
Input output organisation
Sanjeev Patel
 

Recently uploaded (20)

PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
grade 5 lesson ENGLISH 5_Q1_PPT_WEEK3.pptx
SireQuinn
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
grade 5 lesson ENGLISH 5_Q1_PPT_WEEK3.pptx
SireQuinn
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 

Logical and shift micro operations

  • 1. PRESENTED BY: ASHISH SIKKALOGICAL AND SHIFT MICROOPERATION
  • 2. Logic microoperation 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 WHAT IS LOGIC MICROOPERATION
  • 3. LIST OF logic microoperation
  • 6. 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 afterSELECTIVE COMPLEMENT : it complements bits in A where there are corresponding 1’s in B.example 1010 A before 1100 B 0110 A afterit can be seen selective complement can be done by Exclusive –ORSome other function
  • 7. 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 microoperation 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
  • 8. INSERT : it inserts a new value into a group of bits. This is done by first masking and then Oring 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
  • 9. Shift microoperation are used for serial transfer of data.The content of the register can be shifted to left or the right.At the same time thet the bits are shifted the 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:Logical shiftCircular shiftArithmetic shift SHIFT MICROOPERATION
  • 10. 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)Logical shift
  • 11. 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)Circular shift
  • 12. 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.arithmetic shift
  • 13. 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-2If Vs=0,there is no over flow,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.