SlideShare una empresa de Scribd logo
1 de 12
Computer
Architecture
TOPIC: ADDRESSING MODES
The different ways of specifying the
location of an operand in an instruction
are called as addressing modes.
ADDRESSING MODE
TYPES OF ADDRESSING MODES
Immediate01
Direct02
Indirect03
Register04
Register indirect05
Displacement06
Stack07
Addressing
modes
In this addressing mode,
• The operand is specified in the
instruction explicitly.
• Instead of address field, an
operand field is present that
contains the operand.
IMMEDIATE ADDRESSING MODE
In this addressing mode,
• The address field of the instruction
contains the effective address of
the operand.
• Only one reference to memory is
required to fetch the operand.
• It is also called as absolute
addressing mode.
DIRECT ADDRESSING MODE
In this addressing mode,
• The address field of the instruction
specifies the address of memory
location that contains the effective
address of the operand.
• Two references to memory are
required to fetch the operand.
INDIRECT ADDRESSING MODE
In this addressing mode,
• The operand is contained in a
register set.
• The address field of the instruction
refers to a CPU register that contains
the operand.
• No reference to memory is required
to fetch the operand.
REGISTER ADDRESSING MODE
In this addressing mode,
• The address field of the instruction
refers to a CPU register that
contains the effective address of the
operand.
• Only one reference to memory is
required to fetch the operand.
REGISTER INDIRECT ADDRESSING MODE
In this addressing mode,
• Effective address of the
operand is obtained by
adding the content of index
register with the address part
of the instruction.
DISPLACEMENT ADDRESSING MODE
In this addressing mode,
• The operand is contained
at the top of the stack.
STACK ADDRESSING MODE
ADDRESS CALCULATION PERFORMED FOR EACH ADDRESSING MODE
Virtually all computer architectures provide more than one of these addressing modes.
Often, different opcodes will use different addressing modes. Also, one or more bits in
the instruction format can be used as a mode field. The value of the mode field
determines which addressing mode is to be used.
The second comment concerns the interpretation of the effective address (EA). In a
system without virtual memory, the effective address will be either a main memory
address or a register. In a virtual memory system, the effective address is a virtual
address or a register. The actual mapping to a physical address is a function of the
memory management unit (MMU) and is invisible to the programmer.
PREPARED BY:
Ankon Gopal Banik
Front End Developer | WWF (Web With Friends)
m: +8801771981989
p: 027730402
e: agbanik2081@outlook.com
75-B, Kyetpara, Dhamrai, Dhaka, Bangladesh
www.wwfriends.org

Más contenido relacionado

La actualidad más candente

ARM architcture
ARM architcture ARM architcture
ARM architcture Hossam Adel
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Computer oganization input-output
Computer oganization input-outputComputer oganization input-output
Computer oganization input-outputDeepak John
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing ModesArunaDevi63
 
Processor Organization
Processor OrganizationProcessor Organization
Processor OrganizationDominik Salvet
 
Instruction format
Instruction formatInstruction format
Instruction formatchauhankapil
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed controlShashank Singh
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386yash sawarkar
 
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's modelAAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's modelAnh Dung NGUYEN
 
Memory organization
Memory organizationMemory organization
Memory organizationishapadhy
 
Computer instruction
Computer instructionComputer instruction
Computer instructionSanjeev Patel
 

La actualidad más candente (20)

ARM architcture
ARM architcture ARM architcture
ARM architcture
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
ARM Instructions
ARM InstructionsARM Instructions
ARM Instructions
 
Computer oganization input-output
Computer oganization input-outputComputer oganization input-output
Computer oganization input-output
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
Stack
StackStack
Stack
 
Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing Modes
 
Processor Organization
Processor OrganizationProcessor Organization
Processor Organization
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Microprocessor 80386
Microprocessor 80386Microprocessor 80386
Microprocessor 80386
 
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's modelAAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
 
Addressing modes ppt
Addressing modes pptAddressing modes ppt
Addressing modes ppt
 
INSTRUCTION CYCLE
INSTRUCTION CYCLEINSTRUCTION CYCLE
INSTRUCTION CYCLE
 

Similar a Addressing Modes

PPT on Addressing Modes.ppt.pptx
PPT on Addressing Modes.ppt.pptxPPT on Addressing Modes.ppt.pptx
PPT on Addressing Modes.ppt.pptxTushar Singhal
 
Addressing modes, Operations in the instruction set 1.2.3 (1).pptx
Addressing modes, Operations in the instruction set 1.2.3 (1).pptxAddressing modes, Operations in the instruction set 1.2.3 (1).pptx
Addressing modes, Operations in the instruction set 1.2.3 (1).pptxAmarRaj22
 
Addressing modes
Addressing modesAddressing modes
Addressing modesSelvi Suba
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptxKajalOberoi1
 
CS304PC:Computer Organization and Architecture Session 13 Addressing modes.pptx
CS304PC:Computer Organization and Architecture  Session 13 Addressing modes.pptxCS304PC:Computer Organization and Architecture  Session 13 Addressing modes.pptx
CS304PC:Computer Organization and Architecture Session 13 Addressing modes.pptxAsst.prof M.Gokilavani
 
Addressing modes Breifly
Addressing modes BreiflyAddressing modes Breifly
Addressing modes BreiflyTahir Jalali
 
Addressing modes in computer organization
Addressing modes in computer organizationAddressing modes in computer organization
Addressing modes in computer organizationbushraphd2022
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptxssuser1f2c12
 
instruction sets (1).pptx
instruction sets (1).pptxinstruction sets (1).pptx
instruction sets (1).pptxAmanMomin9
 
02 addressing modes 6800
02 addressing modes 680002 addressing modes 6800
02 addressing modes 6800kashambabu
 
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086samirbharat77
 

Similar a Addressing Modes (20)

ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 
PPT on Addressing Modes.ppt.pptx
PPT on Addressing Modes.ppt.pptxPPT on Addressing Modes.ppt.pptx
PPT on Addressing Modes.ppt.pptx
 
Addressing modes, Operations in the instruction set 1.2.3 (1).pptx
Addressing modes, Operations in the instruction set 1.2.3 (1).pptxAddressing modes, Operations in the instruction set 1.2.3 (1).pptx
Addressing modes, Operations in the instruction set 1.2.3 (1).pptx
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 
addressing modes
addressing modesaddressing modes
addressing modes
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
 
Lect14 organization
Lect14 organizationLect14 organization
Lect14 organization
 
CS304PC:Computer Organization and Architecture Session 13 Addressing modes.pptx
CS304PC:Computer Organization and Architecture  Session 13 Addressing modes.pptxCS304PC:Computer Organization and Architecture  Session 13 Addressing modes.pptx
CS304PC:Computer Organization and Architecture Session 13 Addressing modes.pptx
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
Addressing modes Breifly
Addressing modes BreiflyAddressing modes Breifly
Addressing modes Breifly
 
Addressing modes in computer organization
Addressing modes in computer organizationAddressing modes in computer organization
Addressing modes in computer organization
 
Instruction Codes.pptx
Instruction Codes.pptxInstruction Codes.pptx
Instruction Codes.pptx
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
 
instruction sets (1).pptx
instruction sets (1).pptxinstruction sets (1).pptx
instruction sets (1).pptx
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 
02 addressing modes 6800
02 addressing modes 680002 addressing modes 6800
02 addressing modes 6800
 
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
 
Anshika 1111.pptx
Anshika 1111.pptxAnshika 1111.pptx
Anshika 1111.pptx
 

Más de AnkonGopalBanik

Synchronous & Asynchronous data transmission
Synchronous & Asynchronous data transmission  Synchronous & Asynchronous data transmission
Synchronous & Asynchronous data transmission AnkonGopalBanik
 
Operating system || Chapter 3: Process
Operating system || Chapter 3: ProcessOperating system || Chapter 3: Process
Operating system || Chapter 3: ProcessAnkonGopalBanik
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionAnkonGopalBanik
 

Más de AnkonGopalBanik (6)

Register
RegisterRegister
Register
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
Synchronous & Asynchronous data transmission
Synchronous & Asynchronous data transmission  Synchronous & Asynchronous data transmission
Synchronous & Asynchronous data transmission
 
IEEE 488
IEEE 488IEEE 488
IEEE 488
 
Operating system || Chapter 3: Process
Operating system || Chapter 3: ProcessOperating system || Chapter 3: Process
Operating system || Chapter 3: Process
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
 

Último

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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
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
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 

Último (20)

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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
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
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 

Addressing Modes

  • 2. The different ways of specifying the location of an operand in an instruction are called as addressing modes. ADDRESSING MODE
  • 3. TYPES OF ADDRESSING MODES Immediate01 Direct02 Indirect03 Register04 Register indirect05 Displacement06 Stack07 Addressing modes
  • 4. In this addressing mode, • The operand is specified in the instruction explicitly. • Instead of address field, an operand field is present that contains the operand. IMMEDIATE ADDRESSING MODE
  • 5. In this addressing mode, • The address field of the instruction contains the effective address of the operand. • Only one reference to memory is required to fetch the operand. • It is also called as absolute addressing mode. DIRECT ADDRESSING MODE
  • 6. In this addressing mode, • The address field of the instruction specifies the address of memory location that contains the effective address of the operand. • Two references to memory are required to fetch the operand. INDIRECT ADDRESSING MODE
  • 7. In this addressing mode, • The operand is contained in a register set. • The address field of the instruction refers to a CPU register that contains the operand. • No reference to memory is required to fetch the operand. REGISTER ADDRESSING MODE
  • 8. In this addressing mode, • The address field of the instruction refers to a CPU register that contains the effective address of the operand. • Only one reference to memory is required to fetch the operand. REGISTER INDIRECT ADDRESSING MODE
  • 9. In this addressing mode, • Effective address of the operand is obtained by adding the content of index register with the address part of the instruction. DISPLACEMENT ADDRESSING MODE
  • 10. In this addressing mode, • The operand is contained at the top of the stack. STACK ADDRESSING MODE
  • 11. ADDRESS CALCULATION PERFORMED FOR EACH ADDRESSING MODE Virtually all computer architectures provide more than one of these addressing modes. Often, different opcodes will use different addressing modes. Also, one or more bits in the instruction format can be used as a mode field. The value of the mode field determines which addressing mode is to be used. The second comment concerns the interpretation of the effective address (EA). In a system without virtual memory, the effective address will be either a main memory address or a register. In a virtual memory system, the effective address is a virtual address or a register. The actual mapping to a physical address is a function of the memory management unit (MMU) and is invisible to the programmer.
  • 12. PREPARED BY: Ankon Gopal Banik Front End Developer | WWF (Web With Friends) m: +8801771981989 p: 027730402 e: agbanik2081@outlook.com 75-B, Kyetpara, Dhamrai, Dhaka, Bangladesh www.wwfriends.org