SlideShare a Scribd company logo
1 of 17
Addressing Modes
PREPARED BY :
UMESH BHATTARAI
PGDCA, 1ST SEM, ROLL NO. 23
What is addressing mode?
Method to specify the operand of an instruction.
The job of a microprocessor is to execute a set of
instructions stored in memory to perform a
specific task.
It is a term that describes the address of an
operand that is stored in memory.
What is addressing mode?
 In Addressing mode, the operations mainly deals with the
following:
1. Operation code(opcode) specify what is action is to be done
2. Operands specify or deal with which datum is to be used during the
operation.
Types ??
Immediate Addressing mode Indexed-Indirect Addressing
Direct Addressing Relative Addressing
Register Addressing Zero Page Addressing
Register Indirect addressing Present page Addressing
Indexed addressing Base Register addressing
Immediate addressing mode
 With immediate addressing mode, the actual data to be used
as the operand is included in the instruction itself.
 Instead of address field, an operand field is present that contains
the operand.
Eg.
 ADD 10 will increment the value stored in the accumulator by 10.
 MOV R #20 initializes register R to a constant value 20.
Direct Addressing
 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.
 ADD X will increment the value stored in
the accumulator by the value stored at memory location X.
 AC ← AC + [X]
Register Addressing/Register Direct
Addressing
 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.
 Eg.
 ADD R will increment the value stored in the accumulator by the content of register R.
AC ← AC + [R]
Register Indirect addressing
 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.
 Example-
 ADD R will increment the value stored in the accumulator by the content of
memory location specified in register R.
AC ← AC + [[R]]
Indexed addressing
 Effective address of the operand is obtained by adding the content of index register
with the address part of the instruction.
 Effective Address = Content of Index Register + Address part of the instruction
Indexed indirect addressing
 It is also Indirect Addressing Mode Except that the
address part of the instruction is added to the
contents of the index register to determine the
address where EA is stored in the memory.
Indirect Indexed addressing
 The value stored in the memory location specified by
the address part of the instructions is added to the
contents of the index register to get the EA.
Relative Addressing
 Effective address of the operand is
obtained by adding the content of
program counter with the address
part of the instruction.
 EA= Content of Program Counter +
Address part of the instruction
Zero Page Addressing
 Zero-Page is an addressing mode that is only capable of addressing the
first 256 bytes of the CPU's memory map.
 You can think of it as absolute addressing for the first 256 bytes. The
instruction LDA $35 will put the value stored in memory location $35 into
A.
 The advantage of zero-page are two - the instruction takes one less byte
to specify, and it executes in less CPU cycles.
 Most programs are written to store the most frequently used variables in
the first 256 memory locations so they can take advantage of zero page
addressing.
Present page Addressing
 The operand resides in memory within the same memory page.
 Program Counter(PC) always holds the address (AD) of the next
instruction.
 Eg. PC(H) + AD 8
 Where, PC(H) :- 8 high-order bits of PC.
AD 8 :- 8 bits address of the instruction
 Result : - the address of operand of 16 bits address, catenated with the
address part of the instruction.
Base Register addressing
 Effective address of the operand is obtained by adding the content of
base register with the address part of the instruction.
 Effective Address = Content of Base Register + Address part of the
instruction
Bibliography
 M. Morris Mano. 2016, Pearson India Education services Pvt.
Ltd. Digital logic and Computer design.
 https://www.gatevidyalay.com/addressing-modes/
 https://edux.pjwstk.edu.pl/mat/264/lec/index58.html
 https://en.wikipedia.org/wiki/Addressing_mode
Addressing modes presentation

More Related Content

What's hot

Programming the basic computer
Programming the basic computerProgramming the basic computer
Programming the basic computerKamal Acharya
 
Addressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. KawareAddressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. KawareProf. Swapnil V. Kaware
 
Programming basic computer
Programming basic computerProgramming basic computer
Programming basic computerMartial Kouadio
 
Unit 3 – assembly language programming
Unit 3 – assembly language programmingUnit 3 – assembly language programming
Unit 3 – assembly language programmingKartik Sharma
 
Computer Architecture and organization ppt.
Computer Architecture and organization ppt.Computer Architecture and organization ppt.
Computer Architecture and organization ppt.mali yogesh kumar
 
Msp 430 addressing modes module 2
Msp 430 addressing modes module 2Msp 430 addressing modes module 2
Msp 430 addressing modes module 2SARALA T
 
Timer
TimerTimer
TimerAisu
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptxMeenakshiR43
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registersSanjeev Patel
 
Basic operational concepts.ppt
Basic operational concepts.pptBasic operational concepts.ppt
Basic operational concepts.pptssuser586772
 
Addressing modes of 80386
Addressing modes of 80386Addressing modes of 80386
Addressing modes of 80386PDFSHARE
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...NimeshSingh27
 

What's hot (20)

Programming the basic computer
Programming the basic computerProgramming the basic computer
Programming the basic computer
 
Addressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. KawareAddressing modes of 8085 by Er. Swapnil V. Kaware
Addressing modes of 8085 by Er. Swapnil V. Kaware
 
Programming basic computer
Programming basic computerProgramming basic computer
Programming basic computer
 
Registers
RegistersRegisters
Registers
 
Unit 3 – assembly language programming
Unit 3 – assembly language programmingUnit 3 – assembly language programming
Unit 3 – assembly language programming
 
Computer Architecture and organization ppt.
Computer Architecture and organization ppt.Computer Architecture and organization ppt.
Computer Architecture and organization ppt.
 
Msp 430 addressing modes module 2
Msp 430 addressing modes module 2Msp 430 addressing modes module 2
Msp 430 addressing modes module 2
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
 
Timer
TimerTimer
Timer
 
80386 microprocessor
80386 microprocessor80386 microprocessor
80386 microprocessor
 
AMBA AHB 5
AMBA AHB 5AMBA AHB 5
AMBA AHB 5
 
Uart
UartUart
Uart
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
 
Instruction codes and computer registers
Instruction codes and computer registersInstruction codes and computer registers
Instruction codes and computer registers
 
Basic operational concepts.ppt
Basic operational concepts.pptBasic operational concepts.ppt
Basic operational concepts.ppt
 
8086 Architecture
8086 Architecture8086 Architecture
8086 Architecture
 
Addressing modes of 80386
Addressing modes of 80386Addressing modes of 80386
Addressing modes of 80386
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
AMBA Ahb 2.0
AMBA Ahb 2.0AMBA Ahb 2.0
AMBA Ahb 2.0
 

Similar to Addressing modes presentation

Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing ModesArunaDevi63
 
Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Ismail Mukiibi
 
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
 
Instruction Set (Part 2)
Instruction Set (Part 2)Instruction Set (Part 2)
Instruction Set (Part 2)Ajeng Savitri
 
Compreport
CompreportCompreport
Compreportxdarlord
 
Addressing modes Breifly
Addressing modes BreiflyAddressing modes Breifly
Addressing modes BreiflyTahir Jalali
 
Addressing modes
Addressing modesAddressing modes
Addressing modesMukta Garg
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptxKajalOberoi1
 
Addressing modes
Addressing modesAddressing modes
Addressing modesSelvi Suba
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 

Similar to Addressing modes presentation (20)

Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing Modes
 
Addressing
Addressing Addressing
Addressing
 
Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4Advanced computer architect lesson 3 and 4
Advanced computer architect lesson 3 and 4
 
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
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 
Chapter11 addressing
Chapter11 addressingChapter11 addressing
Chapter11 addressing
 
Instruction Set (Part 2)
Instruction Set (Part 2)Instruction Set (Part 2)
Instruction Set (Part 2)
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
addressing modes
addressing modesaddressing modes
addressing modes
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Compreport
CompreportCompreport
Compreport
 
Addressing modes Breifly
Addressing modes BreiflyAddressing modes Breifly
Addressing modes Breifly
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
ADDRESSING MODES.pptx
ADDRESSING MODES.pptxADDRESSING MODES.pptx
ADDRESSING MODES.pptx
 
Memory Addressing
Memory AddressingMemory Addressing
Memory Addressing
 
Addressing modes ppt
Addressing modes pptAddressing modes ppt
Addressing modes ppt
 
Anshika 1111.pptx
Anshika 1111.pptxAnshika 1111.pptx
Anshika 1111.pptx
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

Addressing modes presentation

  • 1. Addressing Modes PREPARED BY : UMESH BHATTARAI PGDCA, 1ST SEM, ROLL NO. 23
  • 2. What is addressing mode? Method to specify the operand of an instruction. The job of a microprocessor is to execute a set of instructions stored in memory to perform a specific task. It is a term that describes the address of an operand that is stored in memory.
  • 3. What is addressing mode?  In Addressing mode, the operations mainly deals with the following: 1. Operation code(opcode) specify what is action is to be done 2. Operands specify or deal with which datum is to be used during the operation.
  • 4. Types ?? Immediate Addressing mode Indexed-Indirect Addressing Direct Addressing Relative Addressing Register Addressing Zero Page Addressing Register Indirect addressing Present page Addressing Indexed addressing Base Register addressing
  • 5. Immediate addressing mode  With immediate addressing mode, the actual data to be used as the operand is included in the instruction itself.  Instead of address field, an operand field is present that contains the operand. Eg.  ADD 10 will increment the value stored in the accumulator by 10.  MOV R #20 initializes register R to a constant value 20.
  • 6. Direct Addressing  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.  ADD X will increment the value stored in the accumulator by the value stored at memory location X.  AC ← AC + [X]
  • 7. Register Addressing/Register Direct Addressing  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.  Eg.  ADD R will increment the value stored in the accumulator by the content of register R. AC ← AC + [R]
  • 8. Register Indirect addressing  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.  Example-  ADD R will increment the value stored in the accumulator by the content of memory location specified in register R. AC ← AC + [[R]]
  • 9. Indexed addressing  Effective address of the operand is obtained by adding the content of index register with the address part of the instruction.  Effective Address = Content of Index Register + Address part of the instruction
  • 10. Indexed indirect addressing  It is also Indirect Addressing Mode Except that the address part of the instruction is added to the contents of the index register to determine the address where EA is stored in the memory.
  • 11. Indirect Indexed addressing  The value stored in the memory location specified by the address part of the instructions is added to the contents of the index register to get the EA.
  • 12. Relative Addressing  Effective address of the operand is obtained by adding the content of program counter with the address part of the instruction.  EA= Content of Program Counter + Address part of the instruction
  • 13. Zero Page Addressing  Zero-Page is an addressing mode that is only capable of addressing the first 256 bytes of the CPU's memory map.  You can think of it as absolute addressing for the first 256 bytes. The instruction LDA $35 will put the value stored in memory location $35 into A.  The advantage of zero-page are two - the instruction takes one less byte to specify, and it executes in less CPU cycles.  Most programs are written to store the most frequently used variables in the first 256 memory locations so they can take advantage of zero page addressing.
  • 14. Present page Addressing  The operand resides in memory within the same memory page.  Program Counter(PC) always holds the address (AD) of the next instruction.  Eg. PC(H) + AD 8  Where, PC(H) :- 8 high-order bits of PC. AD 8 :- 8 bits address of the instruction  Result : - the address of operand of 16 bits address, catenated with the address part of the instruction.
  • 15. Base Register addressing  Effective address of the operand is obtained by adding the content of base register with the address part of the instruction.  Effective Address = Content of Base Register + Address part of the instruction
  • 16. Bibliography  M. Morris Mano. 2016, Pearson India Education services Pvt. Ltd. Digital logic and Computer design.  https://www.gatevidyalay.com/addressing-modes/  https://edux.pjwstk.edu.pl/mat/264/lec/index58.html  https://en.wikipedia.org/wiki/Addressing_mode

Editor's Notes

  1. Give the examples of payment mode For example, if we wanted to add the numbers 1 and 2 and get a result, mathematically we would likely write this as 1 + 2. In this case, our operator is (+), or the addition, and our operands are the numbers 1 and 2.