SlideShare a Scribd company logo
1 of 17
Computer Architecture And Organization Presentation
Presenting To
Sheikh Shah Mohammad Motiur Rahman
Lecturer , Department of Software Engineering
Daffodil International University
Presenting By
Ashraful Islam Sheiblu
Id:152-35-1129
Sec : B
TOPIC
Types of operations in
machine instruction
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 2
TYPES OF OPERATIONS
• Data transfer
• Arithmetic
• Logical
• Conversion
• I/O
• Transfer of control
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 3
DATA TRANSFER PROCESSOR ACTIONS
Transfer data from one location to another.
If memory is involved:
• Determine memory address
• Perform virtual-to-actual-memory
address transformation
• Check cache
• Initiate memory read/write
TYPES OF OPERATIONS IN MACHINE INSTRUCTION
4
DATA TRANSFER OPERATION NAME
• Move
• Store
• Load
• Exchange
• Clear
• Set
• Push
• Pop
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 5
DATA TRANSFER OPERATION
Operation Name Description
Move (transfer) Transfer word or block from source to destination
Store Transfer word from processor to memory
Load (fetch) Transfer word from memory to processor
Exchange Swap contents of source and destination
Set Transfer word of 1s to destination
Push Transfer word from source to top of stack
Pop Transfer word from top of stack to destination
Clear (reset) Transfer word of 0s to destination
TYPES OF OPERATIONS IN MACHINE INSTRUCTION
6
ARITHMETIC PROCESSOR ACTIONS
• May involve data transfer , before and/or after
• Arithmetic Perform function in ALU
• Set condition codes and flags
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 7
ARITHMETIC OPERATION NAME
• Add
• Subtract
• Multiply
• Divide
• Absolute
• Negate
• Increment
• Decrement
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 8
ARITHMETIC OPERATION
Operation Name Description
Add Compute sum of two operands
Subtract Compute difference of two operands
Multiply Compute product of two operands
Divide Compute quotient of two operands
Absolute Replace operand by its absolute value
Negate Change sign of operand
Increment Add 1 to operand
Decrement Subtract 1 from operand
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 9
LOGICAL OPERATION NAME
• And
• Or
• Not
• Exclusive
• Compare
• Set Control Variables
• Shift
• Rotate
LOGICAL PROCESS ACTION
Same as arithmetic
TYPES OF OPERATIONS IN MACHINE INSTRUCTION
10
LOGICAL OPERATION
Operation Name Description
AND Perform logical AND
OR Perform logical OR
NOT Perform logical NOT
Exclusive-OR Perform logical XOR
Test Test specified condition; set flag(s) based on
outcome
Shift Left (right) shift operand, introducing constants
at end
Rotate Left (right) shift operand, with wraparound end
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 11
CONVERSION OPERATION NAME
• Translate
• Convert
CONVERSION PROCESSOR ACTIONS
Similar to arithmetic and logical . May involve special
logic to perform conversion
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 12
INPUT / OUTPUT (I/O) OPERATION
NAME
• Input (read)
• Output(read)
• Start I/O
• Test I/O
INPUT / OUTPUT (I/O) PROCESSOR
ACTIONS
• Issue command to I/O module
• If memory-mapped I/O, determine memory-
mapped address
TYPES OF OPERATIONS IN MACHINE INSTRUCTION
13
INPUT / OUTPUT (I/O)
Operation Name Description
Input (read) Transfer data from specified I/O port or
device to destination.
Output (write) Transfer data from specified source to
I/O port or device.
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 14
TRANSFER OF CONTROL NAME
• Jump (branch)
• Jump Conditional
• Jump to Subroutine
• Return
• Execute
• Skip
• Skip Conditional
• No Operation
TRANSFER OF CONTROL PROCESSOR ACTIONS
Update program counter . For subroutine call/return , manage
parameter passing and linkage
TYPES OF OPERATIONS IN MACHINE INSTRUCTION
15
TRANSFER OF CONTROL OPERATION
Operation Name Description
Jump Unconditional transfer; load PC with
specified address .
Return Replace contents of PC and other register
from known location.
Execute Fetch operand from specified location and
execute as instruction; do not modify PC.
Skip Increment PC to skip next instruction .
No operation No operation is performed, but program
execution is continued.
TYPES OF OPERATIONS IN MACHINE INSTRUCTION
16
THANK YOU
TYPES OF OPERATIONS IN MACHINE INSTRUCTION 17

More Related Content

What's hot

Rs flipflop or SR flipFlop
Rs flipflop or SR flipFlop Rs flipflop or SR flipFlop
Rs flipflop or SR flipFlop Easy n Inspire L
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperationsNitesh Singh
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
Memory & the fetch decode-execute cycle
Memory & the fetch decode-execute cycleMemory & the fetch decode-execute cycle
Memory & the fetch decode-execute cyclechantellemallia
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formatsMazin Alwaaly
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptSIVALAKSHMIPANNEERSE
 
Computer organization and architecture.pptx
Computer organization and architecture.pptxComputer organization and architecture.pptx
Computer organization and architecture.pptxDIPTONILRAKSHIT
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machineShreyans Pathak
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationfoyez ahammad
 
Flip flop conversions
Flip flop conversionsFlip flop conversions
Flip flop conversionsuma jangaman
 

What's hot (20)

Rs flipflop or SR flipFlop
Rs flipflop or SR flipFlop Rs flipflop or SR flipFlop
Rs flipflop or SR flipFlop
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Memory & the fetch decode-execute cycle
Memory & the fetch decode-execute cycleMemory & the fetch decode-execute cycle
Memory & the fetch decode-execute cycle
 
Complements
ComplementsComplements
Complements
 
Instruction format
Instruction formatInstruction format
Instruction format
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
 
Computer organization and architecture.pptx
Computer organization and architecture.pptxComputer organization and architecture.pptx
Computer organization and architecture.pptx
 
Encoder
EncoderEncoder
Encoder
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
 
Flip flop conversions
Flip flop conversionsFlip flop conversions
Flip flop conversions
 
Counters
CountersCounters
Counters
 

Similar to Types of operations in machine instruction

Functional? Reactive? Why?
Functional? Reactive? Why?Functional? Reactive? Why?
Functional? Reactive? Why?Aleksandr Tavgen
 
Stored procedures
Stored proceduresStored procedures
Stored proceduresMuksNoor
 
Informatica overview
Informatica overviewInformatica overview
Informatica overviewkarthik kumar
 
Informatica overview
Informatica overviewInformatica overview
Informatica overviewkarthik kumar
 
Testing in the New World of Off-the-Shelf Software
Testing in the New World of Off-the-Shelf SoftwareTesting in the New World of Off-the-Shelf Software
Testing in the New World of Off-the-Shelf SoftwareJosiah Renaudin
 
Rdbms chapter 1 function
Rdbms chapter 1 functionRdbms chapter 1 function
Rdbms chapter 1 functiondipumaliy
 
05 Creating Stored Procedures
05 Creating Stored Procedures05 Creating Stored Procedures
05 Creating Stored Proceduresrehaniltifat
 
Intel x86 and ARM Data types
Intel x86 and ARM Data typesIntel x86 and ARM Data types
Intel x86 and ARM Data typesRowena Cornejo
 
CLEAN CODING AND DEVOPS Final.pptx
CLEAN CODING AND DEVOPS Final.pptxCLEAN CODING AND DEVOPS Final.pptx
CLEAN CODING AND DEVOPS Final.pptxJEEVANANTHAMG6
 
Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Chinmayee samal
 
Crating a Robust Performance Strategy
Crating a Robust Performance StrategyCrating a Robust Performance Strategy
Crating a Robust Performance StrategyGuatemala User Group
 
Alliance2014 pp sf_equationengine_eriksiradas
Alliance2014 pp sf_equationengine_eriksiradasAlliance2014 pp sf_equationengine_eriksiradas
Alliance2014 pp sf_equationengine_eriksiradasErik Siradas
 
Oracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxOracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxSatishbabu Gunukula
 
Meg bernal insight2014 4219
Meg bernal insight2014 4219Meg bernal insight2014 4219
Meg bernal insight2014 4219Peter Schouboe
 
PL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar PresentationPL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar PresentationEmbarcadero Technologies
 
Sql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ISql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ICarlos Oliveira
 

Similar to Types of operations in machine instruction (20)

Lecture 3 instruction set
Lecture 3  instruction setLecture 3  instruction set
Lecture 3 instruction set
 
Functional? Reactive? Why?
Functional? Reactive? Why?Functional? Reactive? Why?
Functional? Reactive? Why?
 
plsql les01
 plsql les01 plsql les01
plsql les01
 
SQL / PL
SQL / PLSQL / PL
SQL / PL
 
Stored procedures
Stored proceduresStored procedures
Stored procedures
 
Informatica overview
Informatica overviewInformatica overview
Informatica overview
 
Informatica overview
Informatica overviewInformatica overview
Informatica overview
 
Testing in the New World of Off-the-Shelf Software
Testing in the New World of Off-the-Shelf SoftwareTesting in the New World of Off-the-Shelf Software
Testing in the New World of Off-the-Shelf Software
 
Rdbms chapter 1 function
Rdbms chapter 1 functionRdbms chapter 1 function
Rdbms chapter 1 function
 
05 Creating Stored Procedures
05 Creating Stored Procedures05 Creating Stored Procedures
05 Creating Stored Procedures
 
Intel x86 and ARM Data types
Intel x86 and ARM Data typesIntel x86 and ARM Data types
Intel x86 and ARM Data types
 
CLEAN CODING AND DEVOPS Final.pptx
CLEAN CODING AND DEVOPS Final.pptxCLEAN CODING AND DEVOPS Final.pptx
CLEAN CODING AND DEVOPS Final.pptx
 
Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085
 
Crating a Robust Performance Strategy
Crating a Robust Performance StrategyCrating a Robust Performance Strategy
Crating a Robust Performance Strategy
 
Alliance2014 pp sf_equationengine_eriksiradas
Alliance2014 pp sf_equationengine_eriksiradasAlliance2014 pp sf_equationengine_eriksiradas
Alliance2014 pp sf_equationengine_eriksiradas
 
Oracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxOracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptx
 
Meg bernal insight2014 4219
Meg bernal insight2014 4219Meg bernal insight2014 4219
Meg bernal insight2014 4219
 
PL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar PresentationPL/SQL Tips and Techniques Webinar Presentation
PL/SQL Tips and Techniques Webinar Presentation
 
Module04
Module04Module04
Module04
 
Sql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ISql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices I
 

More from sheiblu

Pigeonhole Principle
Pigeonhole  PrinciplePigeonhole  Principle
Pigeonhole Principlesheiblu
 
Counting, pigeonhole, permuntation, Permutations and Combination ,Binomial T...
Counting,  pigeonhole, permuntation, Permutations and Combination ,Binomial T...Counting,  pigeonhole, permuntation, Permutations and Combination ,Binomial T...
Counting, pigeonhole, permuntation, Permutations and Combination ,Binomial T...sheiblu
 
Final Project Submission Document file
Final Project Submission Document fileFinal Project Submission Document file
Final Project Submission Document filesheiblu
 
C project presentation (sound system & children app )
C project presentation (sound system & children app )C project presentation (sound system & children app )
C project presentation (sound system & children app )sheiblu
 
Android ( about ) Presentation
Android ( about ) PresentationAndroid ( about ) Presentation
Android ( about ) Presentationsheiblu
 
Bar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentationBar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentationsheiblu
 

More from sheiblu (6)

Pigeonhole Principle
Pigeonhole  PrinciplePigeonhole  Principle
Pigeonhole Principle
 
Counting, pigeonhole, permuntation, Permutations and Combination ,Binomial T...
Counting,  pigeonhole, permuntation, Permutations and Combination ,Binomial T...Counting,  pigeonhole, permuntation, Permutations and Combination ,Binomial T...
Counting, pigeonhole, permuntation, Permutations and Combination ,Binomial T...
 
Final Project Submission Document file
Final Project Submission Document fileFinal Project Submission Document file
Final Project Submission Document file
 
C project presentation (sound system & children app )
C project presentation (sound system & children app )C project presentation (sound system & children app )
C project presentation (sound system & children app )
 
Android ( about ) Presentation
Android ( about ) PresentationAndroid ( about ) Presentation
Android ( about ) Presentation
 
Bar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentationBar Diagram (chart) in Statistics presentation
Bar Diagram (chart) in Statistics presentation
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Types of operations in machine instruction

  • 1. Computer Architecture And Organization Presentation Presenting To Sheikh Shah Mohammad Motiur Rahman Lecturer , Department of Software Engineering Daffodil International University Presenting By Ashraful Islam Sheiblu Id:152-35-1129 Sec : B
  • 2. TOPIC Types of operations in machine instruction TYPES OF OPERATIONS IN MACHINE INSTRUCTION 2
  • 3. TYPES OF OPERATIONS • Data transfer • Arithmetic • Logical • Conversion • I/O • Transfer of control TYPES OF OPERATIONS IN MACHINE INSTRUCTION 3
  • 4. DATA TRANSFER PROCESSOR ACTIONS Transfer data from one location to another. If memory is involved: • Determine memory address • Perform virtual-to-actual-memory address transformation • Check cache • Initiate memory read/write TYPES OF OPERATIONS IN MACHINE INSTRUCTION 4
  • 5. DATA TRANSFER OPERATION NAME • Move • Store • Load • Exchange • Clear • Set • Push • Pop TYPES OF OPERATIONS IN MACHINE INSTRUCTION 5
  • 6. DATA TRANSFER OPERATION Operation Name Description Move (transfer) Transfer word or block from source to destination Store Transfer word from processor to memory Load (fetch) Transfer word from memory to processor Exchange Swap contents of source and destination Set Transfer word of 1s to destination Push Transfer word from source to top of stack Pop Transfer word from top of stack to destination Clear (reset) Transfer word of 0s to destination TYPES OF OPERATIONS IN MACHINE INSTRUCTION 6
  • 7. ARITHMETIC PROCESSOR ACTIONS • May involve data transfer , before and/or after • Arithmetic Perform function in ALU • Set condition codes and flags TYPES OF OPERATIONS IN MACHINE INSTRUCTION 7
  • 8. ARITHMETIC OPERATION NAME • Add • Subtract • Multiply • Divide • Absolute • Negate • Increment • Decrement TYPES OF OPERATIONS IN MACHINE INSTRUCTION 8
  • 9. ARITHMETIC OPERATION Operation Name Description Add Compute sum of two operands Subtract Compute difference of two operands Multiply Compute product of two operands Divide Compute quotient of two operands Absolute Replace operand by its absolute value Negate Change sign of operand Increment Add 1 to operand Decrement Subtract 1 from operand TYPES OF OPERATIONS IN MACHINE INSTRUCTION 9
  • 10. LOGICAL OPERATION NAME • And • Or • Not • Exclusive • Compare • Set Control Variables • Shift • Rotate LOGICAL PROCESS ACTION Same as arithmetic TYPES OF OPERATIONS IN MACHINE INSTRUCTION 10
  • 11. LOGICAL OPERATION Operation Name Description AND Perform logical AND OR Perform logical OR NOT Perform logical NOT Exclusive-OR Perform logical XOR Test Test specified condition; set flag(s) based on outcome Shift Left (right) shift operand, introducing constants at end Rotate Left (right) shift operand, with wraparound end TYPES OF OPERATIONS IN MACHINE INSTRUCTION 11
  • 12. CONVERSION OPERATION NAME • Translate • Convert CONVERSION PROCESSOR ACTIONS Similar to arithmetic and logical . May involve special logic to perform conversion TYPES OF OPERATIONS IN MACHINE INSTRUCTION 12
  • 13. INPUT / OUTPUT (I/O) OPERATION NAME • Input (read) • Output(read) • Start I/O • Test I/O INPUT / OUTPUT (I/O) PROCESSOR ACTIONS • Issue command to I/O module • If memory-mapped I/O, determine memory- mapped address TYPES OF OPERATIONS IN MACHINE INSTRUCTION 13
  • 14. INPUT / OUTPUT (I/O) Operation Name Description Input (read) Transfer data from specified I/O port or device to destination. Output (write) Transfer data from specified source to I/O port or device. TYPES OF OPERATIONS IN MACHINE INSTRUCTION 14
  • 15. TRANSFER OF CONTROL NAME • Jump (branch) • Jump Conditional • Jump to Subroutine • Return • Execute • Skip • Skip Conditional • No Operation TRANSFER OF CONTROL PROCESSOR ACTIONS Update program counter . For subroutine call/return , manage parameter passing and linkage TYPES OF OPERATIONS IN MACHINE INSTRUCTION 15
  • 16. TRANSFER OF CONTROL OPERATION Operation Name Description Jump Unconditional transfer; load PC with specified address . Return Replace contents of PC and other register from known location. Execute Fetch operand from specified location and execute as instruction; do not modify PC. Skip Increment PC to skip next instruction . No operation No operation is performed, but program execution is continued. TYPES OF OPERATIONS IN MACHINE INSTRUCTION 16
  • 17. THANK YOU TYPES OF OPERATIONS IN MACHINE INSTRUCTION 17