SlideShare a Scribd company logo
1 of 6
Download to read offline
10/26/2014
1
Computer Organization
Instructors :
Dr. Abdul Raouf Khan
Mr.Marwan El-Haj
Logic Microoperations
Logic Microoperations specify binary
operations for strings of bits stored in
registers. Each bit is considered separately .
For example EX-OR operation is symbolized
by P : R1 R1 R2
it means, if P=1, EXOR operation of
individual bits of R1 and R2 are executed
and the result is placed in R1
10/26/2014
2
List of Logic Microoperations
Hardware implementation of
Logic Microoperations
10/26/2014
3
Applications
Logic Microoperations are very useful for
manipulating individual bits or portions of
word stored in a register.
1) Selective Set
The selective set operation sets to 1 the bits
in register A, where there are corresponding
1’s in register B
1 0 1 0 A (before)
1 1 0 0 B (logic operand)
-------------------
1 1 1 0 A ( after )
( Logic OR)
10/26/2014
4
2) Selective Complement
The selective Complement operation
complements bits in register A, where there
are corresponding 1’s in register B
1 0 1 0 A (before)
1 1 0 0 B (logic operand)
-------------------
0 1 1 0 A ( after )
( Logic XOR)
3) Selective Clear
The selective Clear operation clears to 0 the
bits in register A, only where there are
corresponding 1’s in register B
1 0 1 0 A (before)
1 1 0 0 B (logic operand)
-------------------
0 0 1 0 A ( after )
( Logic AB”)
10/26/2014
5
4) Mask operation
The bits in register A are cleared only
where there are corresponding 0’s in register
B
1 0 1 0 A (before)
1 1 0 0 B (logic operand)
-------------------
1 0 0 0 A ( after )
( Logic AND)
5) Insert operation
Inserts a new value into a group of bits
This is done by first masking the bits then
ORing them with the required value
0 1 1 0 1 0 1 0 A (before)
0 0 0 0 1 1 1 1 B (mask unwanted bits)
-------------------
0 0 0 0 1 0 1 0 A ( after masking)
10/26/2014
6
5) Insert operation (contd )
And Insert a new value
0 0 0 0 1 0 1 0 A ( after masking)
1 0 0 1 0 0 0 0 B (insert bits)
-------------------
1 0 0 1 1 0 1 0 A ( after insertion)
The clear operation compares the results
1 0 1 0 A
1 0 1 0 B
-------------------
0 0 0 0 A A B
Assignment
1. Design a digital circuit that performs the four logic
operations of EXOR, EXNOR, NOR and NAND. Use
two selection lines. Show the logic diagram of two
stages. ( for two bit word)
2. Register A holds the 8 – bit binary 11011001.
Determine the B operand and logic microoperation to
be performed in order to change the value in A to
a) 01101101
b) 11111101

More Related Content

What's hot

FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator
FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator
FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator cscpconf
 
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPEREC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPERVISHNUPRABHANKAIMAL
 
VLSI Design Final Project - 32 bit ALU
VLSI Design Final Project - 32 bit ALUVLSI Design Final Project - 32 bit ALU
VLSI Design Final Project - 32 bit ALUSachin Kumar Asokan
 
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...Hsien-Hsin Sean Lee, Ph.D.
 
FPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A RetrospectiveFPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A RetrospectiveIJORCS
 
Dsd lab internal q.paper
Dsd lab internal q.paperDsd lab internal q.paper
Dsd lab internal q.paperArun Dasa
 
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Hsien-Hsin Sean Lee, Ph.D.
 
Digital logic design DLD Logic gates
Digital logic design DLD Logic gatesDigital logic design DLD Logic gates
Digital logic design DLD Logic gatesSalman Khan
 

What's hot (11)

8 Bit ALU
8 Bit ALU8 Bit ALU
8 Bit ALU
 
FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator
FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator
FPGA Implementation of Pipelined CORDIC Sine Cosine Digital Wave Generator
 
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPEREC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
 
Logic gates verification
Logic gates verificationLogic gates verification
Logic gates verification
 
VLSI Design Final Project - 32 bit ALU
VLSI Design Final Project - 32 bit ALUVLSI Design Final Project - 32 bit ALU
VLSI Design Final Project - 32 bit ALU
 
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
 
FPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A RetrospectiveFPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
FPGA Implementation of FIR Filter using Various Algorithms: A Retrospective
 
Dsd lab internal q.paper
Dsd lab internal q.paperDsd lab internal q.paper
Dsd lab internal q.paper
 
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
Lec7 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Kar...
 
C046051216
C046051216C046051216
C046051216
 
Digital logic design DLD Logic gates
Digital logic design DLD Logic gatesDigital logic design DLD Logic gates
Digital logic design DLD Logic gates
 

Viewers also liked (20)

Lect2 organization 2
Lect2 organization 2Lect2 organization 2
Lect2 organization 2
 
Lect4 organization
Lect4 organizationLect4 organization
Lect4 organization
 
Lect1 organization 2
Lect1 organization 2Lect1 organization 2
Lect1 organization 2
 
Cis cvs risc
Cis cvs riscCis cvs risc
Cis cvs risc
 
Dfs 3
Dfs 3Dfs 3
Dfs 3
 
Chain matrix multiplication
Chain matrix multiplicationChain matrix multiplication
Chain matrix multiplication
 
Mst 2
Mst 2Mst 2
Mst 2
 
Activity selection 2
Activity selection 2Activity selection 2
Activity selection 2
 
Lect9 organization
Lect9 organizationLect9 organization
Lect9 organization
 
Lect14 organization
Lect14 organizationLect14 organization
Lect14 organization
 
Lect8 organization
Lect8 organizationLect8 organization
Lect8 organization
 
Lect5 organization
Lect5 organizationLect5 organization
Lect5 organization
 
Strongly connected components
Strongly connected componentsStrongly connected components
Strongly connected components
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Complexity theory 2
Complexity theory 2Complexity theory 2
Complexity theory 2
 
Lect13 organization
Lect13 organizationLect13 organization
Lect13 organization
 
Lect11 organization
Lect11 organizationLect11 organization
Lect11 organization
 
Topological sort
Topological sortTopological sort
Topological sort
 
Bfs and dfs
Bfs and dfsBfs and dfs
Bfs and dfs
 
Complexity theory 3
Complexity theory 3Complexity theory 3
Complexity theory 3
 

Similar to Lect3 organization 2 (20)

Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Logical micro-operations
Logical micro-operationsLogical micro-operations
Logical micro-operations
 
Logic Micro Operation
Logic Micro OperationLogic Micro Operation
Logic Micro Operation
 
Components logic gates
Components   logic gatesComponents   logic gates
Components logic gates
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
 
Tta uo
Tta uoTta uo
Tta uo
 
Pe 5421 plc aftermid week 10 onwards
Pe 5421 plc aftermid week 10 onwardsPe 5421 plc aftermid week 10 onwards
Pe 5421 plc aftermid week 10 onwards
 
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
 
C bitwise operators
C bitwise operatorsC bitwise operators
C bitwise operators
 
Co ppt
Co pptCo ppt
Co ppt
 
Bca i sem de lab
Bca i sem  de labBca i sem  de lab
Bca i sem de lab
 
8051 Instruction Set
8051 Instruction Set8051 Instruction Set
8051 Instruction Set
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
REGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.pptREGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.ppt
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
 
system software 16 marks
system software 16 markssystem software 16 marks
system software 16 marks
 
Computer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notesComputer Organization and 8085 microprocessor notes
Computer Organization and 8085 microprocessor notes
 
LOC_LOS.pdf
LOC_LOS.pdfLOC_LOS.pdf
LOC_LOS.pdf
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Microoperations
MicrooperationsMicrooperations
Microoperations
 
8051 Programming Instruction Set
 8051 Programming Instruction Set 8051 Programming Instruction Set
8051 Programming Instruction Set
 

More from Maher Alshammari (16)

Lect10 organization
Lect10 organizationLect10 organization
Lect10 organization
 
Lect12 organization
Lect12 organizationLect12 organization
Lect12 organization
 
Lect7 organization
Lect7 organizationLect7 organization
Lect7 organization
 
Lect15 organization
Lect15 organizationLect15 organization
Lect15 organization
 
Lect6 organization
Lect6 organizationLect6 organization
Lect6 organization
 
Greedy algorithm
Greedy algorithmGreedy algorithm
Greedy algorithm
 
Minimum spanning trees
Minimum spanning treesMinimum spanning trees
Minimum spanning trees
 
Matrix chain multiplication 2
Matrix chain multiplication 2Matrix chain multiplication 2
Matrix chain multiplication 2
 
Edit distance problem
Edit distance problemEdit distance problem
Edit distance problem
 
Merge sort
Merge sortMerge sort
Merge sort
 
Lecture01
Lecture01Lecture01
Lecture01
 
Matrix chain multiplication
Matrix chain multiplicationMatrix chain multiplication
Matrix chain multiplication
 
Bellman ford and floyd warshal
Bellman ford and floyd warshalBellman ford and floyd warshal
Bellman ford and floyd warshal
 
Dijekstra algorithm
Dijekstra algorithmDijekstra algorithm
Dijekstra algorithm
 
Greedy algorithm huffman encoding
Greedy algorithm huffman encodingGreedy algorithm huffman encoding
Greedy algorithm huffman encoding
 
Lecture02
Lecture02Lecture02
Lecture02
 

Recently uploaded

Kishangarh Call Girls : ☎ 8527673949, Low rate Call Girls
Kishangarh Call Girls : ☎ 8527673949, Low rate Call GirlsKishangarh Call Girls : ☎ 8527673949, Low rate Call Girls
Kishangarh Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Greater Noida Call Girls : ☎ 8527673949, Low rate Call Girls
Greater Noida Call Girls : ☎ 8527673949, Low rate Call GirlsGreater Noida Call Girls : ☎ 8527673949, Low rate Call Girls
Greater Noida Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad EscortsIslamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escortswdefrd
 
Karachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiKarachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiAyesha Khan
 
Strip Zagor Extra 322 - Dva ortaka.pdf
Strip   Zagor Extra 322 - Dva ortaka.pdfStrip   Zagor Extra 322 - Dva ortaka.pdf
Strip Zagor Extra 322 - Dva ortaka.pdfStripovizijacom
 
The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)thephillipta
 
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call GirlsJagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnsonthephillipta
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comthephillipta
 
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...akbard9823
 
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call GirlsGovindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
FULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | DelhiMalviyaNagarCallGirl
 
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 60009654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000Sapana Sha
 
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts ServiceRussian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Servicedoor45step
 
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?kexey39068
 
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call GirlsBurari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | DelhiMalviyaNagarCallGirl
 
Call Girls in Islamabad | 03274100048 | Call Girl Service
Call Girls in Islamabad | 03274100048 | Call Girl ServiceCall Girls in Islamabad | 03274100048 | Call Girl Service
Call Girls in Islamabad | 03274100048 | Call Girl ServiceAyesha Khan
 

Recently uploaded (20)

Kishangarh Call Girls : ☎ 8527673949, Low rate Call Girls
Kishangarh Call Girls : ☎ 8527673949, Low rate Call GirlsKishangarh Call Girls : ☎ 8527673949, Low rate Call Girls
Kishangarh Call Girls : ☎ 8527673949, Low rate Call Girls
 
Greater Noida Call Girls : ☎ 8527673949, Low rate Call Girls
Greater Noida Call Girls : ☎ 8527673949, Low rate Call GirlsGreater Noida Call Girls : ☎ 8527673949, Low rate Call Girls
Greater Noida Call Girls : ☎ 8527673949, Low rate Call Girls
 
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad EscortsIslamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
 
Karachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiKarachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in Karachi
 
Strip Zagor Extra 322 - Dva ortaka.pdf
Strip   Zagor Extra 322 - Dva ortaka.pdfStrip   Zagor Extra 322 - Dva ortaka.pdf
Strip Zagor Extra 322 - Dva ortaka.pdf
 
The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)
 
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call GirlsJagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnson
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
 
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...Patrakarpuram ) Cheap Call Girls In Lucknow  (Adult Only) 🧈 8923113531 𓀓 Esco...
Patrakarpuram ) Cheap Call Girls In Lucknow (Adult Only) 🧈 8923113531 𓀓 Esco...
 
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call GirlsGovindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
 
FULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gandhi Vihar | Delhi
 
Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)
Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)
Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)
 
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
 
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 60009654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
 
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts ServiceRussian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
 
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
 
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call GirlsBurari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
 
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
 
Call Girls in Islamabad | 03274100048 | Call Girl Service
Call Girls in Islamabad | 03274100048 | Call Girl ServiceCall Girls in Islamabad | 03274100048 | Call Girl Service
Call Girls in Islamabad | 03274100048 | Call Girl Service
 

Lect3 organization 2

  • 1. 10/26/2014 1 Computer Organization Instructors : Dr. Abdul Raouf Khan Mr.Marwan El-Haj Logic Microoperations Logic Microoperations specify binary operations for strings of bits stored in registers. Each bit is considered separately . For example EX-OR operation is symbolized by P : R1 R1 R2 it means, if P=1, EXOR operation of individual bits of R1 and R2 are executed and the result is placed in R1
  • 2. 10/26/2014 2 List of Logic Microoperations Hardware implementation of Logic Microoperations
  • 3. 10/26/2014 3 Applications Logic Microoperations are very useful for manipulating individual bits or portions of word stored in a register. 1) Selective Set The selective set operation sets to 1 the bits in register A, where there are corresponding 1’s in register B 1 0 1 0 A (before) 1 1 0 0 B (logic operand) ------------------- 1 1 1 0 A ( after ) ( Logic OR)
  • 4. 10/26/2014 4 2) Selective Complement The selective Complement operation complements bits in register A, where there are corresponding 1’s in register B 1 0 1 0 A (before) 1 1 0 0 B (logic operand) ------------------- 0 1 1 0 A ( after ) ( Logic XOR) 3) Selective Clear The selective Clear operation clears to 0 the bits in register A, only where there are corresponding 1’s in register B 1 0 1 0 A (before) 1 1 0 0 B (logic operand) ------------------- 0 0 1 0 A ( after ) ( Logic AB”)
  • 5. 10/26/2014 5 4) Mask operation The bits in register A are cleared only where there are corresponding 0’s in register B 1 0 1 0 A (before) 1 1 0 0 B (logic operand) ------------------- 1 0 0 0 A ( after ) ( Logic AND) 5) Insert operation Inserts a new value into a group of bits This is done by first masking the bits then ORing them with the required value 0 1 1 0 1 0 1 0 A (before) 0 0 0 0 1 1 1 1 B (mask unwanted bits) ------------------- 0 0 0 0 1 0 1 0 A ( after masking)
  • 6. 10/26/2014 6 5) Insert operation (contd ) And Insert a new value 0 0 0 0 1 0 1 0 A ( after masking) 1 0 0 1 0 0 0 0 B (insert bits) ------------------- 1 0 0 1 1 0 1 0 A ( after insertion) The clear operation compares the results 1 0 1 0 A 1 0 1 0 B ------------------- 0 0 0 0 A A B Assignment 1. Design a digital circuit that performs the four logic operations of EXOR, EXNOR, NOR and NAND. Use two selection lines. Show the logic diagram of two stages. ( for two bit word) 2. Register A holds the 8 – bit binary 11011001. Determine the B operand and logic microoperation to be performed in order to change the value in A to a) 01101101 b) 11111101