SlideShare une entreprise Scribd logo
1  sur  14
PRESENTED BY:                              ASHISH SIKKA LOGICAL 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
[object Object],                                     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 ,[object Object],                                        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 Some 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 shift Circular shift Arithmetic 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-2 If  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

Contenu connexe

Tendances

Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperationsNitesh Singh
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)Siddhi Viradiya
 
Timing and control
Timing and controlTiming and control
Timing and controlchauhankapil
 
Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceTransweb Global Inc
 
Computer registers
Computer registersComputer registers
Computer registersDeepikaT13
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction FormatDhrumil Panchal
 
Logical micro-operations
Logical micro-operationsLogical micro-operations
Logical micro-operationsVATSAL TRIVEDI
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationSanjeev Patel
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...NimeshSingh27
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)cs19club
 
Computer instruction
Computer instructionComputer instruction
Computer instructionSanjeev Patel
 

Tendances (20)

Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer Science
 
Computer registers
Computer registersComputer registers
Computer registers
 
Instruction code
Instruction codeInstruction code
Instruction code
 
Basic Computer Organization and Design
Basic  Computer  Organization  and  DesignBasic  Computer  Organization  and  Design
Basic Computer Organization and Design
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction Format
 
Logical micro-operations
Logical micro-operationsLogical micro-operations
Logical micro-operations
 
Registers
RegistersRegisters
Registers
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
 

En vedette

Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operationKamal Acharya
 
Arithmetic micro operations
Arithmetic micro operationsArithmetic micro operations
Arithmetic micro operationsNitesh Bichwani
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer languageSanjeev Patel
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4Umang Gupta
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control UnitKamal Acharya
 
Micro operation control of processor
Micro operation control of processorMicro operation control of processor
Micro operation control of processorMuhammad Ishaq
 
Lecture 2
Lecture 2Lecture 2
Lecture 2GIKI
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
Shift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkanaShift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkanaPir Sarfraz Ahmed
 
Arithmetic and logical instructions set
Arithmetic and logical instructions setArithmetic and logical instructions set
Arithmetic and logical instructions setRobert Almazan
 
Logic, shift and rotate instruction
Logic, shift and rotate instructionLogic, shift and rotate instruction
Logic, shift and rotate instructionkashif Shafqat
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
Mca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineMca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineRai University
 
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...Rai University
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4wajanga
 

En vedette (20)

Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operation
 
Arithmetic micro operations
Arithmetic micro operationsArithmetic micro operations
Arithmetic micro operations
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 
Ch4
Ch4Ch4
Ch4
 
Micro operation control of processor
Micro operation control of processorMicro operation control of processor
Micro operation control of processor
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
Shift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkanaShift Microoperations by Pir Sarfraz RSDT larkana
Shift Microoperations by Pir Sarfraz RSDT larkana
 
Arithmetic and logical instructions set
Arithmetic and logical instructions setArithmetic and logical instructions set
Arithmetic and logical instructions set
 
Shift rotate
Shift rotateShift rotate
Shift rotate
 
Logic, shift and rotate instruction
Logic, shift and rotate instructionLogic, shift and rotate instruction
Logic, shift and rotate instruction
 
Control unit
Control unitControl unit
Control unit
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Al2ed chapter18
Al2ed chapter18Al2ed chapter18
Al2ed chapter18
 
Mca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineMca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipeline
 
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
Bca 2nd sem-u-2.2-overview of register transfer, micro operations and basic c...
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
Lec20
Lec20Lec20
Lec20
 

Similaire à Logical and shift micro operations

Similaire à Logical and shift micro operations (11)

Logic Micro Operation
Logic Micro OperationLogic Micro Operation
Logic Micro Operation
 
Shift register
Shift registerShift register
Shift register
 
C bitwise operators
C bitwise operatorsC bitwise operators
C bitwise operators
 
Data Representation.pptx
Data Representation.pptxData Representation.pptx
Data Representation.pptx
 
Bit shift operators
Bit shift operatorsBit shift operators
Bit shift operators
 
12 Logic Microoperations.pptertryrtytrgrtgtrgtrgtrgtr
12 Logic Microoperations.pptertryrtytrgrtgtrgtrgtrgtr12 Logic Microoperations.pptertryrtytrgrtgtrgtrgtrgtr
12 Logic Microoperations.pptertryrtytrgrtgtrgtrgtrgtr
 
Digital notes
Digital notesDigital notes
Digital notes
 
Hemanth143
Hemanth143 Hemanth143
Hemanth143
 
Plc 2
Plc 2Plc 2
Plc 2
 
Booth multiplication
Booth multiplicationBooth multiplication
Booth multiplication
 
Computer Programming- Lecture 11
Computer Programming- Lecture 11Computer Programming- Lecture 11
Computer Programming- Lecture 11
 

Plus de Sanjeev Patel

Unit v export incentives
Unit v export incentivesUnit v export incentives
Unit v export incentivesSanjeev Patel
 
Types of letter of credits on 11 09 2012
Types of letter of credits  on 11 09 2012Types of letter of credits  on 11 09 2012
Types of letter of credits on 11 09 2012Sanjeev Patel
 
Risks involved in imports
Risks involved in importsRisks involved in imports
Risks involved in importsSanjeev Patel
 
Processing of export order on 4 09 12
Processing of export order on 4 09 12Processing of export order on 4 09 12
Processing of export order on 4 09 12Sanjeev Patel
 
Mib 3.6 unit ii on 10 09 12
Mib 3.6 unit ii  on 10 09 12Mib 3.6 unit ii  on 10 09 12
Mib 3.6 unit ii on 10 09 12Sanjeev Patel
 
Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012Sanjeev Patel
 
Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012Sanjeev Patel
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Mib 3.6 on 13 th aug 2012  charac and types of exim docsMib 3.6 on 13 th aug 2012  charac and types of exim docs
Mib 3.6 on 13 th aug 2012 charac and types of exim docsSanjeev Patel
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Mib 3.6 on 13 th aug 2012  charac and types of exim docs   copyMib 3.6 on 13 th aug 2012  charac and types of exim docs   copy
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copySanjeev Patel
 
Mib 3.6 marine insurance on 09 10 12 copy
Mib 3.6 marine insurance  on 09 10 12   copyMib 3.6 marine insurance  on 09 10 12   copy
Mib 3.6 marine insurance on 09 10 12 copySanjeev Patel
 
Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12Sanjeev Patel
 
Incoterms on 27th august 2012
Incoterms on 27th august 2012Incoterms on 27th august 2012
Incoterms on 27th august 2012Sanjeev Patel
 
Export import control main
Export import control   mainExport import control   main
Export import control mainSanjeev Patel
 
Mib 3.6 on 14th aug 2012
Mib 3.6  on 14th aug 2012Mib 3.6  on 14th aug 2012
Mib 3.6 on 14th aug 2012Sanjeev Patel
 
Teachers day _Sanjeev_Patel
Teachers day  _Sanjeev_PatelTeachers day  _Sanjeev_Patel
Teachers day _Sanjeev_PatelSanjeev Patel
 
Memory reference instruction
Memory reference instructionMemory reference instruction
Memory reference instructionSanjeev Patel
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registersSanjeev Patel
 
Input output organisation
Input output organisationInput output organisation
Input output organisationSanjeev Patel
 

Plus de Sanjeev Patel (20)

Unit v export incentives
Unit v export incentivesUnit v export incentives
Unit v export incentives
 
Types of letter of credits on 11 09 2012
Types of letter of credits  on 11 09 2012Types of letter of credits  on 11 09 2012
Types of letter of credits on 11 09 2012
 
Risks involved in imports
Risks involved in importsRisks involved in imports
Risks involved in imports
 
Processing of export order on 4 09 12
Processing of export order on 4 09 12Processing of export order on 4 09 12
Processing of export order on 4 09 12
 
North america ppt
North america pptNorth america ppt
North america ppt
 
Mib 3.6 unit ii on 10 09 12
Mib 3.6 unit ii  on 10 09 12Mib 3.6 unit ii  on 10 09 12
Mib 3.6 unit ii on 10 09 12
 
Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012Mib 3.6 unit 2 on 17 09 2012
Mib 3.6 unit 2 on 17 09 2012
 
Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012Mib 3.6 on august 6 th 2012
Mib 3.6 on august 6 th 2012
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
Mib 3.6 on 13 th aug 2012  charac and types of exim docsMib 3.6 on 13 th aug 2012  charac and types of exim docs
Mib 3.6 on 13 th aug 2012 charac and types of exim docs
 
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
Mib 3.6 on 13 th aug 2012  charac and types of exim docs   copyMib 3.6 on 13 th aug 2012  charac and types of exim docs   copy
Mib 3.6 on 13 th aug 2012 charac and types of exim docs copy
 
Mib 3.6 marine insurance on 09 10 12 copy
Mib 3.6 marine insurance  on 09 10 12   copyMib 3.6 marine insurance  on 09 10 12   copy
Mib 3.6 marine insurance on 09 10 12 copy
 
Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12Mib 3.6 export financing on 1 10 12
Mib 3.6 export financing on 1 10 12
 
Incoterms on 27th august 2012
Incoterms on 27th august 2012Incoterms on 27th august 2012
Incoterms on 27th august 2012
 
Export import control main
Export import control   mainExport import control   main
Export import control main
 
Mib 3.6 on 14th aug 2012
Mib 3.6  on 14th aug 2012Mib 3.6  on 14th aug 2012
Mib 3.6 on 14th aug 2012
 
Teachers day _Sanjeev_Patel
Teachers day  _Sanjeev_PatelTeachers day  _Sanjeev_Patel
Teachers day _Sanjeev_Patel
 
Memory reference instruction
Memory reference instructionMemory reference instruction
Memory reference instruction
 
Introduction
IntroductionIntroduction
Introduction
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registers
 
Input output organisation
Input output organisationInput output organisation
Input output organisation
 

Dernier

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 

Dernier (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

Logical and shift micro operations

  • 1. PRESENTED BY: ASHISH SIKKA LOGICAL 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.
  • 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 shift Circular shift Arithmetic 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-2 If 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.