SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)cs19club
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit DesignVinit Raut
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operationKamal Acharya
 
Floating point representation
Floating point representationFloating point representation
Floating point representationmissstevenson01
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formatsMazin Alwaaly
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference InstructionsRabin BK
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set ArchitectureDilum Bandara
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 
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
 
Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computersBảo Hoang
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registersSanjeev Patel
 
Register transfer & microoperations moris mano ch 04
Register transfer & microoperations    moris mano ch 04Register transfer & microoperations    moris mano ch 04
Register transfer & microoperations moris mano ch 04thearticlenow
 
Register transfer language & its micro operations
Register transfer language & its micro operationsRegister transfer language & its micro operations
Register transfer language & its micro operationsLakshya Sharma
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 

Was ist angesagt? (20)

Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit Design
 
Register transfer and micro operation
Register transfer and micro operationRegister transfer and micro operation
Register transfer and micro operation
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 
Stack organization
Stack organizationStack organization
Stack organization
 
Instruction code
Instruction codeInstruction code
Instruction code
 
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
 
Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computers
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registers
 
Register transfer & microoperations moris mano ch 04
Register transfer & microoperations    moris mano ch 04Register transfer & microoperations    moris mano ch 04
Register transfer & microoperations moris mano ch 04
 
Register transfer language & its micro operations
Register transfer language & its micro operationsRegister transfer language & its micro operations
Register transfer language & its micro operations
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 

Andere mochten auch

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
 
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
 
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
 
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
 
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
 

Andere mochten auch (19)

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
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
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
 
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
 
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
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 

Ähnlich wie Logical and shift micro operations

Ähnlich wie Logical and shift micro operations (11)

Microoperations
MicrooperationsMicrooperations
Microoperations
 
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
 
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
 

Mehr von 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
 
Input output organisation
Input output organisationInput output organisation
Input output organisationSanjeev Patel
 

Mehr von 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 format
Instruction formatInstruction format
Instruction format
 
Input output organisation
Input output organisationInput output organisation
Input output organisation
 

Kürzlich hochgeladen

How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfChristalin Nelson
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineCeline George
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipKarl Donert
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroomSamsung Business USA
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxMadhavi Dharankar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...Nguyen Thanh Tu Collection
 

Kürzlich hochgeladen (20)

How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdf
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenship
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom6 ways Samsung’s Interactive Display powered by Android changes the classroom
6 ways Samsung’s Interactive Display powered by Android changes the classroom
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
CARNAVAL COM MAGIA E EUFORIA _
CARNAVAL COM MAGIA E EUFORIA            _CARNAVAL COM MAGIA E EUFORIA            _
CARNAVAL COM MAGIA E EUFORIA _
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 

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.