SlideShare a Scribd company logo
ADDRESSING MODES OF 8051
by
-SHARIQUE MULLA
13/3/2015 SHARIQUE MULLA
WHAT IS AN ADDRESSING MODE?
• An Addressing mode is a way to address an
operand.
• Operand means the data we are operating upon
(in most cases source data).
• It can be a direct address of memory, it can be any
numerical data, etc.
23/3/2015 SHARIQUE MULLA
ADDRESSING MODES
1. Immediate addressing mode
2. Direct addressing mode
3. Register direct addressing mode
4. Register indirect addressing mode
5. Indexed addressing mode
33/3/2015 SHARIQUE MULLA
1) IMMEDIATE ADDRESSING MODE
• This type of addressing mode is named as
“immediate addressing”, because it transfers
an 8-bit data immediately to the accumulator
(destination register).
• This instruction has an 8-bit immediate data
at the operand.
43/3/2015 SHARIQUE MULLA
• Example- MOV A,#6AH
53/3/2015 SHARIQUE MULLA
2) DIRECT ADDRESSING MODE
• This is an another way of addressing an
operand.
• In this type of addressing mode, the address
of the data (source data) is given as operand
instead of immediate data .
63/3/2015 SHARIQUE MULLA
• Example- MOV A,04H
73/3/2015 SHARIQUE MULLA
3) REGISTER DIRECT ADDRESSING
MODE
• In this type of addressing mode, we use the
register name directly as source operand.
• In 8051,there are 4 register banks, containing 8
registers (R0-R7) each.
• Hence, the selection of a register bank is done by a
special function register (SFR) called Processor
Status Word (PSW).
83/3/2015 SHARIQUE MULLA
• Example- MOV A,R4
93/3/2015 SHARIQUE MULLA
4) REGISTER INDIRECT ADDRESSING
MODE
• In this type of addressing mode, the address of the
data (source data) is given in the register operand.
• Here also, the register bank is required to be
selected by PSW (Processor Status Word).
• Here, the selected register is first loaded with a
value which acts as the address of the data.
103/3/2015 SHARIQUE MULLA
• Example- MOV A,@R0
113/3/2015 SHARIQUE MULLA
5) INDEXED ADDRESSING MODE
• In this type of addressing, DPTR (Data Pointer) or
PC (Program Counter), i.e. 16-bit registers, are
used in the instruction.
• Here, the content of DPTR or PC is added to the
current content of accumulator.
• The result acts as the address of the source data.
• After execution the source data is stored in
accumulator.
123/3/2015 SHARIQUE MULLA
• Example- MOV A,@A+DPTR
133/3/2015 SHARIQUE MULLA
PROCESSOR STATUS WORD (PSW)
143/3/2015 SHARIQUE MULLA
THANK YOU
153/3/2015 SHARIQUE MULLA

More Related Content

PPTX
Addressing modes of 8051
PPT
Addressing mode of 8051
PPSX
8051 addressing modes
PPTX
8051 Addressing modes
PPTX
Addressing mode
PPTX
Addressing Modes
PDF
Addressing modes of 8085 by Er. Swapnil V. Kaware
PPTX
8051 addressing modes & instruction set
Addressing modes of 8051
Addressing mode of 8051
8051 addressing modes
8051 Addressing modes
Addressing mode
Addressing Modes
Addressing modes of 8085 by Er. Swapnil V. Kaware
8051 addressing modes & instruction set

What's hot (20)

PPT
Addressing modes
PPTX
Addressing modes of 8085
PPT
8051 addressing modes
PPTX
Addressing modes
PPTX
Computer System Architecture
PPT
Addressing modes of 8051
PPTX
Addressing Modes of 8085 Microprocessor
PPTX
8051 addressing modes
PPT
8085 addressing modes(For College Seminars)
PPTX
Addressing mode & data transfer instruction of 8085
PPTX
Addresing mode and timing diagram
PPTX
Addressing modes 8085
PPT
8051 Addressing Modes
PPTX
4. Instruction Set Of MP 8085.pptx
PPS
Addressing modes of 8085
PDF
8085 instructions and addressing modes
PDF
Instruction.pdf
PDF
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
PPTX
Types of Addressing modes- COA
PPTX
Addressing modes of 8051
Addressing modes
Addressing modes of 8085
8051 addressing modes
Addressing modes
Computer System Architecture
Addressing modes of 8051
Addressing Modes of 8085 Microprocessor
8051 addressing modes
8085 addressing modes(For College Seminars)
Addressing mode & data transfer instruction of 8085
Addresing mode and timing diagram
Addressing modes 8085
8051 Addressing Modes
4. Instruction Set Of MP 8085.pptx
Addressing modes of 8085
8085 instructions and addressing modes
Instruction.pdf
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Types of Addressing modes- COA
Addressing modes of 8051
Ad

Viewers also liked (20)

PPTX
Lab2在幹嘛
PDF
8086 instruction set
PPT
Shift rotate
PPTX
[ASM]Lab7
PPTX
Arquitectura
PPT
Ciencias 31 10 2007 1193887542283222 3
PPTX
Wd133 unit 6 module 2 using adjustment layers
PPTX
Axioligía y anomia
PPT
JOURMEY TO THE GOMUKH
PPTX
Dig imag unit 6 module 2 using adjustment layers
PPT
Poemas.damian gomez 2013
PPTX
20100928 hva er nytt i 6 0 helse vest forum final 2
DOC
Estructura
PDF
Imagenes lectura
PDF
Roteiro COE
PPT
Il Breviario Grimani e la sua storia
PPTX
Estructura ideal del aula virtual
PPT
Knowledge management-competitive-advantage
PPTX
Lab2在幹嘛
8086 instruction set
Shift rotate
[ASM]Lab7
Arquitectura
Ciencias 31 10 2007 1193887542283222 3
Wd133 unit 6 module 2 using adjustment layers
Axioligía y anomia
JOURMEY TO THE GOMUKH
Dig imag unit 6 module 2 using adjustment layers
Poemas.damian gomez 2013
20100928 hva er nytt i 6 0 helse vest forum final 2
Estructura
Imagenes lectura
Roteiro COE
Il Breviario Grimani e la sua storia
Estructura ideal del aula virtual
Knowledge management-competitive-advantage
Ad

Similar to 8051 addressing (20)

PPTX
3. Addressing Modes in 8085 microprocessor.pptx
PPTX
Expanation about Addressing Mode of 8051
PDF
Addressing modes.pdf for engineering student
PDF
L-3microproceessors and microcontrollers.pdf
PPTX
8085 addressing modes
PPTX
Lecture 10
PPTX
Microprocessor and Microcontroller.pptx
PPTX
module-3.pptx
PPTX
Microprocessor and Microcontroller lec3
PPTX
Addressing.pptx hhuuhgjhbbhhhddrjjndfyhbdfg
PPTX
Addressing.pptxbfnfjdnndbdfffffffffffggggg
PPTX
addressing modes of microcontrooller 8051
PPTX
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
PPTX
Microprocessors-based systems (under graduate course) Lecture 3 of 9
PDF
MP_MC.pdf
PPTX
ADDRESSING MODES OF 8085
PPT
Addressing modes-of-8085
PPTX
instruction format and addressing modes
PPTX
UNIT 1.pptx
PDF
Addressing modes-of-8085
3. Addressing Modes in 8085 microprocessor.pptx
Expanation about Addressing Mode of 8051
Addressing modes.pdf for engineering student
L-3microproceessors and microcontrollers.pdf
8085 addressing modes
Lecture 10
Microprocessor and Microcontroller.pptx
module-3.pptx
Microprocessor and Microcontroller lec3
Addressing.pptx hhuuhgjhbbhhhddrjjndfyhbdfg
Addressing.pptxbfnfjdnndbdfffffffffffggggg
addressing modes of microcontrooller 8051
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
Microprocessors-based systems (under graduate course) Lecture 3 of 9
MP_MC.pdf
ADDRESSING MODES OF 8085
Addressing modes-of-8085
instruction format and addressing modes
UNIT 1.pptx
Addressing modes-of-8085

Recently uploaded (20)

PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Well-logging-methods_new................
PPT
Mechanical Engineering MATERIALS Selection
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
CH1 Production IntroductoryConcepts.pptx
PPT
Project quality management in manufacturing
PPTX
Current and future trends in Computer Vision.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
composite construction of structures.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Well-logging-methods_new................
Mechanical Engineering MATERIALS Selection
OOP with Java - Java Introduction (Basics)
CH1 Production IntroductoryConcepts.pptx
Project quality management in manufacturing
Current and future trends in Computer Vision.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Fundamentals of safety and accident prevention -final (1).pptx
composite construction of structures.pdf
Internet of Things (IOT) - A guide to understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026

8051 addressing

  • 1. ADDRESSING MODES OF 8051 by -SHARIQUE MULLA 13/3/2015 SHARIQUE MULLA
  • 2. WHAT IS AN ADDRESSING MODE? • An Addressing mode is a way to address an operand. • Operand means the data we are operating upon (in most cases source data). • It can be a direct address of memory, it can be any numerical data, etc. 23/3/2015 SHARIQUE MULLA
  • 3. ADDRESSING MODES 1. Immediate addressing mode 2. Direct addressing mode 3. Register direct addressing mode 4. Register indirect addressing mode 5. Indexed addressing mode 33/3/2015 SHARIQUE MULLA
  • 4. 1) IMMEDIATE ADDRESSING MODE • This type of addressing mode is named as “immediate addressing”, because it transfers an 8-bit data immediately to the accumulator (destination register). • This instruction has an 8-bit immediate data at the operand. 43/3/2015 SHARIQUE MULLA
  • 5. • Example- MOV A,#6AH 53/3/2015 SHARIQUE MULLA
  • 6. 2) DIRECT ADDRESSING MODE • This is an another way of addressing an operand. • In this type of addressing mode, the address of the data (source data) is given as operand instead of immediate data . 63/3/2015 SHARIQUE MULLA
  • 7. • Example- MOV A,04H 73/3/2015 SHARIQUE MULLA
  • 8. 3) REGISTER DIRECT ADDRESSING MODE • In this type of addressing mode, we use the register name directly as source operand. • In 8051,there are 4 register banks, containing 8 registers (R0-R7) each. • Hence, the selection of a register bank is done by a special function register (SFR) called Processor Status Word (PSW). 83/3/2015 SHARIQUE MULLA
  • 9. • Example- MOV A,R4 93/3/2015 SHARIQUE MULLA
  • 10. 4) REGISTER INDIRECT ADDRESSING MODE • In this type of addressing mode, the address of the data (source data) is given in the register operand. • Here also, the register bank is required to be selected by PSW (Processor Status Word). • Here, the selected register is first loaded with a value which acts as the address of the data. 103/3/2015 SHARIQUE MULLA
  • 11. • Example- MOV A,@R0 113/3/2015 SHARIQUE MULLA
  • 12. 5) INDEXED ADDRESSING MODE • In this type of addressing, DPTR (Data Pointer) or PC (Program Counter), i.e. 16-bit registers, are used in the instruction. • Here, the content of DPTR or PC is added to the current content of accumulator. • The result acts as the address of the source data. • After execution the source data is stored in accumulator. 123/3/2015 SHARIQUE MULLA
  • 13. • Example- MOV A,@A+DPTR 133/3/2015 SHARIQUE MULLA
  • 14. PROCESSOR STATUS WORD (PSW) 143/3/2015 SHARIQUE MULLA