SlideShare a Scribd company logo
ADDRESSING MODE:
If we talk about instruction set. Instruction set main contain op-code and operand.
OP-CODE:
Op-code means operation like addition, subtraction,division ,multiplication etc.
OPERAND:
Operand mean data which specifies what data is to be operated.
Any instruction issued by the processor must carry at least two types of information.
 OP-CODE
 ADDRESS FIELD
OP-CODE OPERAND
…CONTINUED
OP-CODE
Which specifies the operation to be performed like addition
ADDRESS FIELD
Which contain the location of operands i.e register or memory location.
Instruction may be classified on the no of operands as: three address, two address, one and half address, one address
and zero address.
It should be noted that in presenting these we would use convention operation, source, destination, to express any
instruction.
Convention operation.
In that convention operation represent the operation to be performed, for example, add, subtract, write
or read.
…CONTINUED
Source.
The source field represent the operand. The source operand can be a constant, a value stored in a register, or a
value stored in a memory.
Destination.
The destination field represent the place where the result of the operation is to be stored.for example, a
register or a memory location.
Three address instruction.
OPERATION.
ADD -1, ADD-2, ADD-3
In this form, each of add-1 add-2 add-3 refers to a register or to a memory location.
For example
ADD R1,R2.R3
…CONTINUED
OPERATION: addition.
It indicates that the value to be stored are those in register R1 and R2 that result should be stored in
register R3
R1+R2----------R3
TWO ADDRESS INSTRUCTION.
OPERATION.
ADD -1, ADD-2
In this form , each of add-1 add-2 refers to a register or to a memory location.
For example
ADD R1,R2
…CONTINUED
OPERATION: addition.
This instruction add the content of register R1 to the content of register R2 and store the
result in register R2
R1+R2---------R2
The operation performed by the three address instruction ADD A,B,C can be performed by the two
address instruction MOVE B,C and ADD A,C . This is because the first instruction moves the contents
of location B into location C and second instruction add the contents of location A to those of
location C.
ONE ADDRESS INSTRUCTION.
…CONTINUED:
OPERATION.
ADD R1
ACCUMULATOR.
In this case the instruction implicity refers to a register called accumulator Racc, such that the contents of the
accumulator is added to the contents of the register R1 and the result are stored back in to the accumulator.
ONE-AND-HALF ADDRESS INSTRUCTION.
Between the two and the one address instruction , there can be a one-and-half instruction. The
instruction uses two types of addressing , that is, a register and a memory location , it is called a one-and-half-address
instruction.
For example.
ADD B,R1
In this case, the instruction add the content of register R1 to the content of memory location B and store the result in
register R1.
…CONTINUED
ZERO ADDRESS INSTRUCTION.
These are the instruction that we use stack operation.
STACK OPERATION.
A stack is an abstract data type that serves as a collection of elements, with two main
principle operation push, which adds an element to the collection, and. Pop, which removes the most
recently added element that was not yet removed.
EXAMPLE
ADD (SP)+,(SP).
The instruction adds the contents of the stack location pointed to by the SP to those pointed to by the
SP+1 and stores the result on the stack in the location pointed to by the current value of the SP.

More Related Content

PPT
Instruction format
PPTX
microcomputer architecture-Instruction formats
PPTX
Instruction set (prasenjit dey)
PPTX
Types of Instruction Format
PPTX
instruction format and addressing modes
PPTX
microcomputer architecture - Arithmetic instruction
PDF
8085 is details
PPT
Bca 2nd sem-u-4 central processing unit and pipeline
Instruction format
microcomputer architecture-Instruction formats
Instruction set (prasenjit dey)
Types of Instruction Format
instruction format and addressing modes
microcomputer architecture - Arithmetic instruction
8085 is details
Bca 2nd sem-u-4 central processing unit and pipeline

What's hot (20)

PPT
8085 instruction set
PDF
Instructionset8085
PPTX
Instruction sets of 8086
DOCX
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
PPT
CO by Rakesh Roshan
PPT
MICROPROCESSOR INSTRUCTION SET OF 8085
PDF
8085 arithmetic instructions
PPT
Lecture 06
PPTX
DAA AND DAS
PPT
Logical instruction of 8085
PDF
Displacement addressing
PPT
arithmetic ins in 8051
DOCX
Instruction set of 8086
PPTX
Dynamic Programming Code-Optimization Algorithm (Compiler Design)
PPTX
3. 8085 addressing modes
PPTX
Instruction set of 8085 microprocessor
PPTX
Ascii adjust & decimal adjust
PDF
itft-Instruction set-of-8085
PPTX
Logical instructions (and, or, xor, not, test)
PPT
Instruction set of 8085
8085 instruction set
Instructionset8085
Instruction sets of 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
CO by Rakesh Roshan
MICROPROCESSOR INSTRUCTION SET OF 8085
8085 arithmetic instructions
Lecture 06
DAA AND DAS
Logical instruction of 8085
Displacement addressing
arithmetic ins in 8051
Instruction set of 8086
Dynamic Programming Code-Optimization Algorithm (Compiler Design)
3. 8085 addressing modes
Instruction set of 8085 microprocessor
Ascii adjust & decimal adjust
itft-Instruction set-of-8085
Logical instructions (and, or, xor, not, test)
Instruction set of 8085
Ad

Similar to addressing mode 1 (20)

PPTX
Instruction Formats in computer architecture.pptx
PPTX
instruction format in computer organisation .pptx
PPTX
instructionformat-110818112559-phpapp01.pptx
PPTX
Instruction format UJJWAL MATOLIYA.pptx
PDF
instructionformat_lecturer4.pptx_20240216_105939_0000.pdf
PPTX
Arithmetic & Logic Unit
PPTX
Computer organization and architecture
PPT
Computer Organisation and Architecture
PPTX
ADDRESSING MODES.pptx
PPTX
ADDRESSING MODES
PPTX
ADDRESSING MODES
PPTX
addressing modes
PPTX
instruction sets (1).pptx
PPT
Compreport
PPTX
Lecture 10
PDF
Instruction
PPTX
instruction format.pptx
PPTX
Central processing unit pptx for computer engineering
PPT
CAO_Unit-3.ppt
PPTX
module 3 instruction set and control unit
Instruction Formats in computer architecture.pptx
instruction format in computer organisation .pptx
instructionformat-110818112559-phpapp01.pptx
Instruction format UJJWAL MATOLIYA.pptx
instructionformat_lecturer4.pptx_20240216_105939_0000.pdf
Arithmetic & Logic Unit
Computer organization and architecture
Computer Organisation and Architecture
ADDRESSING MODES.pptx
ADDRESSING MODES
ADDRESSING MODES
addressing modes
instruction sets (1).pptx
Compreport
Lecture 10
Instruction
instruction format.pptx
Central processing unit pptx for computer engineering
CAO_Unit-3.ppt
module 3 instruction set and control unit
Ad

More from samrana gultasab (12)

PPTX
Famous scientist and inventions
PPTX
Net metering ppt
PPTX
Bipolartransistor
DOCX
PPTX
Addressing mode
PPTX
Li fi technology
DOCX
clash between india- pak
PPTX
Pak indo relation
PPTX
Clash between india and pakistan 2016
DOCX
Women right in islam
PPTX
education system
PPTX
robotics
Famous scientist and inventions
Net metering ppt
Bipolartransistor
Addressing mode
Li fi technology
clash between india- pak
Pak indo relation
Clash between india and pakistan 2016
Women right in islam
education system
robotics

Recently uploaded (20)

PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
Global journeys: estimating international migration
PDF
Launch Your Data Science Career in Kochi – 2025
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
Computer network topology notes for revision
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
IB Computer Science - Internal Assessment.pptx
PDF
Mega Projects Data Mega Projects Data
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
Supervised vs unsupervised machine learning algorithms
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Global journeys: estimating international migration
Launch Your Data Science Career in Kochi – 2025
Reliability_Chapter_ presentation 1221.5784
Computer network topology notes for revision
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
IB Computer Science - Internal Assessment.pptx
Mega Projects Data Mega Projects Data
climate analysis of Dhaka ,Banglades.pptx
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Data_Analytics_and_PowerBI_Presentation.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Introduction-to-Cloud-ComputingFinal.pptx
Business Acumen Training GuidePresentation.pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
Supervised vs unsupervised machine learning algorithms

addressing mode 1

  • 1. ADDRESSING MODE: If we talk about instruction set. Instruction set main contain op-code and operand. OP-CODE: Op-code means operation like addition, subtraction,division ,multiplication etc. OPERAND: Operand mean data which specifies what data is to be operated. Any instruction issued by the processor must carry at least two types of information.  OP-CODE  ADDRESS FIELD OP-CODE OPERAND
  • 2. …CONTINUED OP-CODE Which specifies the operation to be performed like addition ADDRESS FIELD Which contain the location of operands i.e register or memory location. Instruction may be classified on the no of operands as: three address, two address, one and half address, one address and zero address. It should be noted that in presenting these we would use convention operation, source, destination, to express any instruction. Convention operation. In that convention operation represent the operation to be performed, for example, add, subtract, write or read.
  • 3. …CONTINUED Source. The source field represent the operand. The source operand can be a constant, a value stored in a register, or a value stored in a memory. Destination. The destination field represent the place where the result of the operation is to be stored.for example, a register or a memory location. Three address instruction. OPERATION. ADD -1, ADD-2, ADD-3 In this form, each of add-1 add-2 add-3 refers to a register or to a memory location. For example ADD R1,R2.R3
  • 4. …CONTINUED OPERATION: addition. It indicates that the value to be stored are those in register R1 and R2 that result should be stored in register R3 R1+R2----------R3 TWO ADDRESS INSTRUCTION. OPERATION. ADD -1, ADD-2 In this form , each of add-1 add-2 refers to a register or to a memory location. For example ADD R1,R2
  • 5. …CONTINUED OPERATION: addition. This instruction add the content of register R1 to the content of register R2 and store the result in register R2 R1+R2---------R2 The operation performed by the three address instruction ADD A,B,C can be performed by the two address instruction MOVE B,C and ADD A,C . This is because the first instruction moves the contents of location B into location C and second instruction add the contents of location A to those of location C. ONE ADDRESS INSTRUCTION.
  • 6. …CONTINUED: OPERATION. ADD R1 ACCUMULATOR. In this case the instruction implicity refers to a register called accumulator Racc, such that the contents of the accumulator is added to the contents of the register R1 and the result are stored back in to the accumulator. ONE-AND-HALF ADDRESS INSTRUCTION. Between the two and the one address instruction , there can be a one-and-half instruction. The instruction uses two types of addressing , that is, a register and a memory location , it is called a one-and-half-address instruction. For example. ADD B,R1 In this case, the instruction add the content of register R1 to the content of memory location B and store the result in register R1.
  • 7. …CONTINUED ZERO ADDRESS INSTRUCTION. These are the instruction that we use stack operation. STACK OPERATION. A stack is an abstract data type that serves as a collection of elements, with two main principle operation push, which adds an element to the collection, and. Pop, which removes the most recently added element that was not yet removed. EXAMPLE ADD (SP)+,(SP). The instruction adds the contents of the stack location pointed to by the SP to those pointed to by the SP+1 and stores the result on the stack in the location pointed to by the current value of the SP.