SlideShare a Scribd company logo
Computer Organization and Architecture
Addressing Modes | Types of Addressing Modes
Spread the love
Addressing Modes-
The different ways of specifying the location of an operand in an instruction are called as addressing
modes.
Types of Addressing Modes-
In computer architecture, there are following types of addressing modes-
×
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 1/18
Advertisements
···
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 2/18
1. Implied / Implicit Addressing Mode
2. Stack Addressing Mode
3. Immediate Addressing Mode
4. Direct Addressing Mode
5. Indirect Addressing Mode
6. Register Direct Addressing Mode
7. Register Indirect Addressing Mode
8. Relative Addressing Mode
9. Indexed Addressing Mode
10. Base Register Addressing Mode
11. Auto-Increment Addressing Mode
12. Auto-Decrement Addressing Mode
In this article, we will discuss about these addressing modes in detail.
1. Implied Addressing Mode-
In this addressing mode,
The definition of the instruction itself specify the operands implicitly.
It is also called as implicit addressing mode.
×
×
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 3/18
Examples-
The instruction “Complement Accumulator” is an implied mode instruction.
In a stack organized computer, Zero Address Instructions are implied mode instructions.
(since operands are always implied to be present on the top of the stack)
2. Stack Addressing Mode-
In this addressing mode,
The operand is contained at the top of the stack.
Example-
×
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 4/18
ADD
This instruction simply pops out two symbols contained at the top of the stack.
The addition of those two operands is performed.
The result so obtained after addition is pushed again at the top of the stack.
3. Immediate Addressing Mode-
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.
Examples-
ADD 10 will increment the value stored in the accumulator by 10.
MOV R #20 initializes register R to a constant value 20.
4. Direct 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.
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 5/18
Example-
ADD X will increment the value stored in the accumulator by the value stored at memory location X.
AC ← AC + [X]
5. Indirect 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.
×
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 6/18
Example-
ADD X will increment the value stored in the accumulator by the value stored at memory location
specified by X.
AC ← AC + [[X]]
6. Register Direct 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.
×
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 7/18
Advertisements
Example-
ADD R will increment the value stored in the accumulator by the content of register R.
AC ← AC + [R]
Advertisements
···
··· ×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 8/18
NOTE-
It is interesting to note-
This addressing mode is similar to direct addressing mode.
The only difference is address field of the instruction refers to a CPU register instead of main
memory.
7. Register Indirect Addressing Mode-
In this addressing mode,
Advertisements
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.
···
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 9/18
Advertisements
Example-
ADD R will increment the value stored in the accumulator by the content of memory location
specified in register R.
AC ← AC + [[R]]
Advertisements
···
···
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 10/18
NOTE-
It is interesting to note-
This addressing mode is similar to indirect addressing mode.
The only difference is address field of the instruction refers to a CPU register.
8. Relative Addressing Mode-
In this addressing mode,
Effective address of the operand is obtained by adding the content of program counter with the
address part of the instruction.
Effective Address
= Content of Program Counter + Address part of the instruction
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 11/18
NOTE-
Program counter (PC) always contains the address of the next instruction to be executed.
After fetching the address of the instruction, the value of program counter immediately increases.
The value increases irrespective of whether the fetched instruction has completely executed or not.
9. Indexed 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.
Effective Address
= Content of Index Register + Address part of the instruction
10. Base Register Addressing Mode-
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 12/18
In this addressing mode,
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
11. Auto-Increment Addressing Mode-
This addressing mode is a special case of Register Indirect Addressing Mode where-
Effective Address of the Operand
= Content of Register
In this addressing mode,
After accessing the operand, the content of the register is automatically incremented by step size
‘d’.
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 13/18
Step size ‘d’ depends on the size of operand accessed.
Only one reference to memory is required to fetch the operand.
Example-
Assume operand size = 2 bytes.
Here,
After fetching the operand 6B, the instruction register RAUTO will be automatically incremented by 2.
Then, updated value of RAUTO will be 3300 + 2 = 3302.
At memory address 3302, the next operand will be found.
NOTE-
In auto-increment addressing mode,
First, the operand value is fetched.
Then, the instruction register RAUTO value is incremented by step size ‘d’. ×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 14/18
12. Auto-Decrement Addressing Mode-
This addressing mode is again a special case of Register Indirect Addressing Mode where-
Effective Address of the Operand
= Content of Register – Step Size
In this addressing mode,
First, the content of the register is decremented by step size ‘d’.
Step size ‘d’ depends on the size of operand accessed.
After decrementing, the operand is read.
Only one reference to memory is required to fetch the operand.
Example-
Assume operand size = 2 bytes.
Here,
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 15/18
First, the instruction register RAUTO will be decremented by 2.
Then, updated value of RAUTO will be 3302 – 2 = 3300.
At memory address 3300, the operand will be found.
NOTE-
In auto-decrement addressing mode,
First, the instruction register RAUTO value is decremented by step size ‘d’.
Then, the operand value is fetched.
Also Read- Practice Problems On Addressing Modes
Applications of Addressing Modes-
Addressing Modes Applications
Immediate Addressing Mode To initialize registers to a constant value
Direct Addressing Mode
and
Register Direct Addressing Mode
To access static data
To implement variables
Indirect Addressing Mode
and
Register Indirect Addressing Mode
To implement pointers because pointers are
memory locations that store the address of
another variable
To pass array as a parameter because array
name is the base address and pointer is
needed to point the address
Relative Addressing Mode
For program relocation at run time i.e. for
position independent code
To change the normal sequence of
execution of instructions
For branch type instructions since it directly
updates the program counter
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 16/18
Index Addressing Mode
For array implementation or array
addressing
For records implementation
Base Register Addressing Mode
For writing relocatable code i.e. for
relocation of program in memory even at run
time
For handling recursive procedures
Auto-increment Addressing Mode
and
Auto-decrement Addressing Mode
For implementing loops
For stepping through arrays in a loop
For implementing a stack as push and pop
To gain better understanding about Addressing Modes,
Watch this Video Lecture
Next Article- Syntax Of Addressing Modes
Get more notes and other study material of Computer Organization and Architecture.
Watch video lectures by visiting our YouTube channel LearnVidFun.
Summary
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 17/18
Article Name Addressing Modes | Types of Addressing Modes
Description In computer architecture, Addressing Modes specify the
location of an operand. Types of Addressing Modes-
Implied / Implicit Addressing Mode, Immediate Addressing
Mode, Direct Addressing Mode, Indirect Addressing
Mode, Register Direct Addressing Mode, Register Indirect
Addressing Mode, Relative Addressing Mode, Indexed
Addressing Mode, Base Register Addressing Mode, Auto-
Increment Addressing Mode, Auto-Decrement Addressing
Mode, Stack Addressing Mode
Author Akshay Singhal
Publisher Name Gate Vidyalay
Publisher Logo
Spread the love
×
7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay
https://www.gatevidyalay.com/addressing-modes/ 18/18

More Related Content

PPTX
Addressing Modes.pptx
PPTX
Address mode adress mode mode of adressing addressingmodes.pptx
PPTX
csopptvhghjgluilyuiyuilyuiuiyuyuyuiyuy1.pptx
PPTX
Addressing modes ppt
PPTX
ADDRESSING MODE
PPTX
ADDRESSING MODES.pptx
PPTX
ADDRESSING MODES
PPTX
ADDRESSING MODES
Addressing Modes.pptx
Address mode adress mode mode of adressing addressingmodes.pptx
csopptvhghjgluilyuiyuilyuiuiyuyuyuiyuy1.pptx
Addressing modes ppt
ADDRESSING MODE
ADDRESSING MODES.pptx
ADDRESSING MODES
ADDRESSING MODES

Similar to Addressing Modes _ Types of Addressing Modes _ Gate Vidyalay.pdf (20)

PPTX
addressing modes
PPTX
PPT on Addressing Modes.ppt.pptx
PPTX
Addressing modes
PDF
Addressing modes in computer organization
PPTX
Addressing mode Computer Architecture
DOCX
Assignment on different types of addressing modes
PPTX
addressing modeLecture3-Intro to Ht.pptx
DOCX
Different types of Addressing.cao
PPTX
Instruction Formats in computer architecture.pptx
PPTX
Different addressing modes in microcontrollers
PPT
Advanced computer architect lesson 3 and 4
PPTX
Addressing Modes.pptx
PPSX
Addressing modes presentation
PPTX
UNDERSTANDING ADDRESSING MODES1 IN THE CPU.pptx
PPTX
Introduction to Addressing modes in computer memory.pptx
PPTX
Lecture 10
PPTX
Module 3.1_Instruction Types and Addressing modes.pptx
PPTX
Unit-1_Processor_Basic Cpu_Organization.pptx
PPTX
Anshika 1111.pptx
PPTX
Lecture 11
addressing modes
PPT on Addressing Modes.ppt.pptx
Addressing modes
Addressing modes in computer organization
Addressing mode Computer Architecture
Assignment on different types of addressing modes
addressing modeLecture3-Intro to Ht.pptx
Different types of Addressing.cao
Instruction Formats in computer architecture.pptx
Different addressing modes in microcontrollers
Advanced computer architect lesson 3 and 4
Addressing Modes.pptx
Addressing modes presentation
UNDERSTANDING ADDRESSING MODES1 IN THE CPU.pptx
Introduction to Addressing modes in computer memory.pptx
Lecture 10
Module 3.1_Instruction Types and Addressing modes.pptx
Unit-1_Processor_Basic Cpu_Organization.pptx
Anshika 1111.pptx
Lecture 11
Ad

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
introduction to datamining and warehousing
PPT
Occupational Health and Safety Management System
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
UNIT 4 Total Quality Management .pptx
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
introduction to high performance computing
PPT
Total quality management ppt for engineering students
PDF
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPT on Performance Review to get promotions
Automation-in-Manufacturing-Chapter-Introduction.pdf
introduction to datamining and warehousing
Occupational Health and Safety Management System
III.4.1.2_The_Space_Environment.p pdffdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
UNIT 4 Total Quality Management .pptx
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Nature of X-rays, X- Ray Equipment, Fluoroscopy
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
introduction to high performance computing
Total quality management ppt for engineering students
Integrating Fractal Dimension and Time Series Analysis for Optimized Hyperspe...
R24 SURVEYING LAB MANUAL for civil enggi
Ad

Addressing Modes _ Types of Addressing Modes _ Gate Vidyalay.pdf

  • 1. Computer Organization and Architecture Addressing Modes | Types of Addressing Modes Spread the love Addressing Modes- The different ways of specifying the location of an operand in an instruction are called as addressing modes. Types of Addressing Modes- In computer architecture, there are following types of addressing modes- × × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 1/18
  • 2. Advertisements ··· × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 2/18
  • 3. 1. Implied / Implicit Addressing Mode 2. Stack Addressing Mode 3. Immediate Addressing Mode 4. Direct Addressing Mode 5. Indirect Addressing Mode 6. Register Direct Addressing Mode 7. Register Indirect Addressing Mode 8. Relative Addressing Mode 9. Indexed Addressing Mode 10. Base Register Addressing Mode 11. Auto-Increment Addressing Mode 12. Auto-Decrement Addressing Mode In this article, we will discuss about these addressing modes in detail. 1. Implied Addressing Mode- In this addressing mode, The definition of the instruction itself specify the operands implicitly. It is also called as implicit addressing mode. × × × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 3/18
  • 4. Examples- The instruction “Complement Accumulator” is an implied mode instruction. In a stack organized computer, Zero Address Instructions are implied mode instructions. (since operands are always implied to be present on the top of the stack) 2. Stack Addressing Mode- In this addressing mode, The operand is contained at the top of the stack. Example- × × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 4/18
  • 5. ADD This instruction simply pops out two symbols contained at the top of the stack. The addition of those two operands is performed. The result so obtained after addition is pushed again at the top of the stack. 3. Immediate Addressing Mode- 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. Examples- ADD 10 will increment the value stored in the accumulator by 10. MOV R #20 initializes register R to a constant value 20. 4. Direct 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. × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 5/18
  • 6. Example- ADD X will increment the value stored in the accumulator by the value stored at memory location X. AC ← AC + [X] 5. Indirect 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. × × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 6/18
  • 7. Example- ADD X will increment the value stored in the accumulator by the value stored at memory location specified by X. AC ← AC + [[X]] 6. Register Direct 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. × × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 7/18
  • 8. Advertisements Example- ADD R will increment the value stored in the accumulator by the content of register R. AC ← AC + [R] Advertisements ··· ··· × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 8/18
  • 9. NOTE- It is interesting to note- This addressing mode is similar to direct addressing mode. The only difference is address field of the instruction refers to a CPU register instead of main memory. 7. Register Indirect Addressing Mode- In this addressing mode, Advertisements 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. ··· × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 9/18
  • 10. Advertisements Example- ADD R will increment the value stored in the accumulator by the content of memory location specified in register R. AC ← AC + [[R]] Advertisements ··· ··· × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 10/18
  • 11. NOTE- It is interesting to note- This addressing mode is similar to indirect addressing mode. The only difference is address field of the instruction refers to a CPU register. 8. Relative Addressing Mode- In this addressing mode, Effective address of the operand is obtained by adding the content of program counter with the address part of the instruction. Effective Address = Content of Program Counter + Address part of the instruction × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 11/18
  • 12. NOTE- Program counter (PC) always contains the address of the next instruction to be executed. After fetching the address of the instruction, the value of program counter immediately increases. The value increases irrespective of whether the fetched instruction has completely executed or not. 9. Indexed 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. Effective Address = Content of Index Register + Address part of the instruction 10. Base Register Addressing Mode- × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 12/18
  • 13. In this addressing mode, 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 11. Auto-Increment Addressing Mode- This addressing mode is a special case of Register Indirect Addressing Mode where- Effective Address of the Operand = Content of Register In this addressing mode, After accessing the operand, the content of the register is automatically incremented by step size ‘d’. × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 13/18
  • 14. Step size ‘d’ depends on the size of operand accessed. Only one reference to memory is required to fetch the operand. Example- Assume operand size = 2 bytes. Here, After fetching the operand 6B, the instruction register RAUTO will be automatically incremented by 2. Then, updated value of RAUTO will be 3300 + 2 = 3302. At memory address 3302, the next operand will be found. NOTE- In auto-increment addressing mode, First, the operand value is fetched. Then, the instruction register RAUTO value is incremented by step size ‘d’. × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 14/18
  • 15. 12. Auto-Decrement Addressing Mode- This addressing mode is again a special case of Register Indirect Addressing Mode where- Effective Address of the Operand = Content of Register – Step Size In this addressing mode, First, the content of the register is decremented by step size ‘d’. Step size ‘d’ depends on the size of operand accessed. After decrementing, the operand is read. Only one reference to memory is required to fetch the operand. Example- Assume operand size = 2 bytes. Here, × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 15/18
  • 16. First, the instruction register RAUTO will be decremented by 2. Then, updated value of RAUTO will be 3302 – 2 = 3300. At memory address 3300, the operand will be found. NOTE- In auto-decrement addressing mode, First, the instruction register RAUTO value is decremented by step size ‘d’. Then, the operand value is fetched. Also Read- Practice Problems On Addressing Modes Applications of Addressing Modes- Addressing Modes Applications Immediate Addressing Mode To initialize registers to a constant value Direct Addressing Mode and Register Direct Addressing Mode To access static data To implement variables Indirect Addressing Mode and Register Indirect Addressing Mode To implement pointers because pointers are memory locations that store the address of another variable To pass array as a parameter because array name is the base address and pointer is needed to point the address Relative Addressing Mode For program relocation at run time i.e. for position independent code To change the normal sequence of execution of instructions For branch type instructions since it directly updates the program counter × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 16/18
  • 17. Index Addressing Mode For array implementation or array addressing For records implementation Base Register Addressing Mode For writing relocatable code i.e. for relocation of program in memory even at run time For handling recursive procedures Auto-increment Addressing Mode and Auto-decrement Addressing Mode For implementing loops For stepping through arrays in a loop For implementing a stack as push and pop To gain better understanding about Addressing Modes, Watch this Video Lecture Next Article- Syntax Of Addressing Modes Get more notes and other study material of Computer Organization and Architecture. Watch video lectures by visiting our YouTube channel LearnVidFun. Summary × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 17/18
  • 18. Article Name Addressing Modes | Types of Addressing Modes Description In computer architecture, Addressing Modes specify the location of an operand. Types of Addressing Modes- Implied / Implicit Addressing Mode, Immediate Addressing Mode, Direct Addressing Mode, Indirect Addressing Mode, Register Direct Addressing Mode, Register Indirect Addressing Mode, Relative Addressing Mode, Indexed Addressing Mode, Base Register Addressing Mode, Auto- Increment Addressing Mode, Auto-Decrement Addressing Mode, Stack Addressing Mode Author Akshay Singhal Publisher Name Gate Vidyalay Publisher Logo Spread the love × 7/24/24, 1:11 PM Addressing Modes | Types of Addressing Modes | Gate Vidyalay https://www.gatevidyalay.com/addressing-modes/ 18/18