SlideShare a Scribd company logo
4
Most read
5
Most read
7
Most read
COMPUTER
ORGANISATION & ARCHITECTURE
MEMORY ADDRESSING PART-2
SAJEENA SHAJI
Addressing Mode
The different ways of specifying the location of an operand in an
instruction are called as addressing modes.
Elements of an instruction
❏ Immediate Addressing mode
❏ Direct/ Absolute addressing mode
❏ Indirect addressing mode
❏ Register direct addressing mode
❏ Register indirect addressing mode
❏ Implicit addressing mode
❏ Stack addressing mode
❏ Displacement addressing mode
❏ Auto_increment addressing mode
❏ Auto_Decrement addressing
Type of Addressing
Immediate Addressing Mode
● The operand is specified in the instruction explicitly.
● Instead of address field, an operand field is present
that contains the operand.
● Example
MOV R1,#100
LOAD R1,#10
Direct 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.
● Example
MOV R1,1000
InDirect 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.
● Example
MOV R1,(1000)
Register Direct 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.
Example
MOV R1, R2
Register InDirect 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.
Example
MOV R1, (R2)
Implied Addressing Mode
● The definition of the instruction itself specify the
operands implicitly.
● It is also called as implicit addressing mode.
Example
PUSH, Complement Accumulator
Stack Addressing Mode
● The operand is contained at the top of the stack.
○ Example - 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.
Displacement Addressing Mode
● Relative Addressing mode
● Base register Addressing mode
● Indexed Addressing mode
Relative Addressing mode
Effective address of the operand is obtained by adding the
content of program counter with the address part of the
instruction.
Indexed Addressing mode
Effective address of the operand is obtained by adding the
content of index register with the address part of the
instruction.
Base Register Addressing mode
Effective address of the operand is obtained by adding the
content of base register with the address part of the
instruction.
Auto Increment Addressing mode
● After accessing the operand, the content of the register is
automatically incremented by step size ‘d’.
● Step size ‘d’ depends on the size of operand accessed.
● Only one reference to memory is required to fetch the
operand.
Addressing modes in computer organization
Auto decrement 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.
Addressing modes in computer organization
THANK YOU

More Related Content

PPTX
Terminology of tree
DOCX
Netflix Case Study
PPTX
ADDRESSING MODES
PPTX
input and output device
PDF
HTML practicals
DOCX
CS3491-AI and ML lab manual cs3491 r2021
DOCX
MCSL016 IGNOU SOLVED LAB MANUAL
PPTX
Social networking sites presentation
Terminology of tree
Netflix Case Study
ADDRESSING MODES
input and output device
HTML practicals
CS3491-AI and ML lab manual cs3491 r2021
MCSL016 IGNOU SOLVED LAB MANUAL
Social networking sites presentation

What's hot (20)

PPTX
Instruction Execution Cycle
PPTX
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
PPTX
Register Reference Instructions | Computer Science
PPTX
Floating point arithmetic operations (1)
PPTX
Instruction codes
PPTX
Register organization, stack
PPT
PPTX
Storage class in C Language
PPT
Central processing unit and stack organization r013
PPTX
bus and memory tranfer (computer organaization)
PPTX
Pointers in C Programming
PPTX
Set associative mapping
PPTX
Instruction Cycle in Computer Organization.pptx
PPT
Instruction cycle
PPTX
Interrupts and types of interrupts
PPTX
CS304PC:Computer Organization and Architecture Session 11 general register or...
PPT
Instruction format
PPTX
Input Output Organization
PPT
Addressing modes
PPS
Virtual memory
Instruction Execution Cycle
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Register Reference Instructions | Computer Science
Floating point arithmetic operations (1)
Instruction codes
Register organization, stack
Storage class in C Language
Central processing unit and stack organization r013
bus and memory tranfer (computer organaization)
Pointers in C Programming
Set associative mapping
Instruction Cycle in Computer Organization.pptx
Instruction cycle
Interrupts and types of interrupts
CS304PC:Computer Organization and Architecture Session 11 general register or...
Instruction format
Input Output Organization
Addressing modes
Virtual memory
Ad

Similar to Addressing modes in computer organization (20)

PPTX
csopptvhghjgluilyuiyuilyuiuiyuyuyuiyuy1.pptx
PPTX
Addressing Modes.pptx
PPTX
Addressing Modes
PPTX
Address mode adress mode mode of adressing addressingmodes.pptx
PDF
Addressing modes to specify how the operands are accessed efficiently
PPTX
Addressing modes ppt
PPTX
Instruction Formats in computer architecture.pptx
PPTX
addressing modeLecture3-Intro to Ht.pptx
PPTX
Addressing modes
DOCX
Addressing modes Breifly
PPTX
ADDRESSING MODES.pptx
PPTX
Introduction to Addressing modes in computer memory.pptx
PPTX
UNDERSTANDING ADDRESSING MODES1 IN THE CPU.pptx
PPTX
PPT on Addressing Modes.ppt.pptx
PPTX
Addressing modes
PPTX
ADDRESSING MODES
PPTX
addressing modes
PPTX
PPTX
Addressing Modes.pptx
PPTX
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
csopptvhghjgluilyuiyuilyuiuiyuyuyuiyuy1.pptx
Addressing Modes.pptx
Addressing Modes
Address mode adress mode mode of adressing addressingmodes.pptx
Addressing modes to specify how the operands are accessed efficiently
Addressing modes ppt
Instruction Formats in computer architecture.pptx
addressing modeLecture3-Intro to Ht.pptx
Addressing modes
Addressing modes Breifly
ADDRESSING MODES.pptx
Introduction to Addressing modes in computer memory.pptx
UNDERSTANDING ADDRESSING MODES1 IN THE CPU.pptx
PPT on Addressing Modes.ppt.pptx
Addressing modes
ADDRESSING MODES
addressing modes
Addressing Modes.pptx
Computer organisation and architecture jntuh 2rd year 2nd unit # central proc...
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
master seminar digital applications in india
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Pre independence Education in Inndia.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharma ospi slides which help in ospi learning
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Complications of Minimal Access Surgery at WLH
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
O5-L3 Freight Transport Ops (International) V1.pdf
O7-L3 Supply Chain Operations - ICLT Program
master seminar digital applications in india
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Pre independence Education in Inndia.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPH.pptx obstetrics and gynecology in nursing
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Institutional Correction lecture only . . .
Renaissance Architecture: A Journey from Faith to Humanism
Anesthesia in Laparoscopic Surgery in India
Basic Mud Logging Guide for educational purpose
Pharma ospi slides which help in ospi learning
Abdominal Access Techniques with Prof. Dr. R K Mishra
Complications of Minimal Access Surgery at WLH
TR - Agricultural Crops Production NC III.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...

Addressing modes in computer organization

  • 1. COMPUTER ORGANISATION & ARCHITECTURE MEMORY ADDRESSING PART-2 SAJEENA SHAJI
  • 2. Addressing Mode The different ways of specifying the location of an operand in an instruction are called as addressing modes. Elements of an instruction
  • 3. ❏ Immediate Addressing mode ❏ Direct/ Absolute addressing mode ❏ Indirect addressing mode ❏ Register direct addressing mode ❏ Register indirect addressing mode ❏ Implicit addressing mode ❏ Stack addressing mode ❏ Displacement addressing mode ❏ Auto_increment addressing mode ❏ Auto_Decrement addressing Type of Addressing
  • 4. Immediate Addressing Mode ● The operand is specified in the instruction explicitly. ● Instead of address field, an operand field is present that contains the operand. ● Example MOV R1,#100 LOAD R1,#10
  • 5. Direct 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. ● Example MOV R1,1000
  • 6. InDirect 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. ● Example MOV R1,(1000)
  • 7. Register Direct 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. Example MOV R1, R2
  • 8. Register InDirect 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. Example MOV R1, (R2)
  • 9. Implied Addressing Mode ● The definition of the instruction itself specify the operands implicitly. ● It is also called as implicit addressing mode. Example PUSH, Complement Accumulator
  • 10. Stack Addressing Mode ● The operand is contained at the top of the stack. ○ Example - 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.
  • 11. Displacement Addressing Mode ● Relative Addressing mode ● Base register Addressing mode ● Indexed Addressing mode
  • 12. Relative Addressing mode Effective address of the operand is obtained by adding the content of program counter with the address part of the instruction.
  • 13. Indexed Addressing mode Effective address of the operand is obtained by adding the content of index register with the address part of the instruction.
  • 14. Base Register Addressing mode Effective address of the operand is obtained by adding the content of base register with the address part of the instruction.
  • 15. Auto Increment Addressing mode ● After accessing the operand, the content of the register is automatically incremented by step size ‘d’. ● Step size ‘d’ depends on the size of operand accessed. ● Only one reference to memory is required to fetch the operand.
  • 17. Auto decrement 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.