SlideShare una empresa de Scribd logo
1 de 15
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

Más contenido relacionado

La actualidad más candente

8051 addressing modes
 8051 addressing modes 8051 addressing modes
8051 addressing modes
ghoshshweta
 
Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085
Chinmayee samal
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
Ruchi Maurya
 

La actualidad más candente (20)

Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
 
8051 addressing modes
 8051 addressing modes 8051 addressing modes
8051 addressing modes
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
Addressing Modes of 8085 Microprocessor
Addressing Modes of 8085 MicroprocessorAddressing Modes of 8085 Microprocessor
Addressing Modes of 8085 Microprocessor
 
8051 addressing modes
8051 addressing modes8051 addressing modes
8051 addressing modes
 
8085 addressing modes(For College Seminars)
8085 addressing modes(For College Seminars)8085 addressing modes(For College Seminars)
8085 addressing modes(For College Seminars)
 
Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085Addressing mode & data transfer instruction of 8085
Addressing mode & data transfer instruction of 8085
 
Addresing mode and timing diagram
Addresing mode and timing diagramAddresing mode and timing diagram
Addresing mode and timing diagram
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
4. Instruction Set Of MP 8085.pptx
4. Instruction Set Of MP 8085.pptx4. Instruction Set Of MP 8085.pptx
4. Instruction Set Of MP 8085.pptx
 
Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
 
8085 instructions and addressing modes
8085 instructions and addressing modes8085 instructions and addressing modes
8085 instructions and addressing modes
 
Instruction.pdf
Instruction.pdfInstruction.pdf
Instruction.pdf
 
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
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 

Destacado

8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
jemimajerome
 
Arquitectura
ArquitecturaArquitectura
Arquitectura
johanra
 
Ciencias 31 10 2007 1193887542283222 3
Ciencias 31 10 2007 1193887542283222 3Ciencias 31 10 2007 1193887542283222 3
Ciencias 31 10 2007 1193887542283222 3
Marian Gutiérrez
 
Wd133 unit 6 module 2 using adjustment layers
Wd133 unit 6 module 2 using adjustment layersWd133 unit 6 module 2 using adjustment layers
Wd133 unit 6 module 2 using adjustment layers
kateridrex
 
Dig imag unit 6 module 2 using adjustment layers
Dig imag unit 6 module 2 using adjustment layersDig imag unit 6 module 2 using adjustment layers
Dig imag unit 6 module 2 using adjustment layers
kateridrex
 
Poemas.damian gomez 2013
Poemas.damian gomez 2013Poemas.damian gomez 2013
Poemas.damian gomez 2013
laboratorio283
 
20100928 hva er nytt i 6 0 helse vest forum final 2
20100928 hva er nytt i 6 0 helse vest forum final 220100928 hva er nytt i 6 0 helse vest forum final 2
20100928 hva er nytt i 6 0 helse vest forum final 2
Kamikaze Media AS
 

Destacado (20)

Lab2在幹嘛
Lab2在幹嘛Lab2在幹嘛
Lab2在幹嘛
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
 
Shift rotate
Shift rotateShift rotate
Shift rotate
 
[ASM]Lab7
[ASM]Lab7[ASM]Lab7
[ASM]Lab7
 
Arquitectura
ArquitecturaArquitectura
Arquitectura
 
Ciencias 31 10 2007 1193887542283222 3
Ciencias 31 10 2007 1193887542283222 3Ciencias 31 10 2007 1193887542283222 3
Ciencias 31 10 2007 1193887542283222 3
 
Wd133 unit 6 module 2 using adjustment layers
Wd133 unit 6 module 2 using adjustment layersWd133 unit 6 module 2 using adjustment layers
Wd133 unit 6 module 2 using adjustment layers
 
Axioligía y anomia
Axioligía y anomiaAxioligía y anomia
Axioligía y anomia
 
JOURMEY TO THE GOMUKH
JOURMEY TO THE GOMUKHJOURMEY TO THE GOMUKH
JOURMEY TO THE GOMUKH
 
Dig imag unit 6 module 2 using adjustment layers
Dig imag unit 6 module 2 using adjustment layersDig imag unit 6 module 2 using adjustment layers
Dig imag unit 6 module 2 using adjustment layers
 
Poemas.damian gomez 2013
Poemas.damian gomez 2013Poemas.damian gomez 2013
Poemas.damian gomez 2013
 
20100928 hva er nytt i 6 0 helse vest forum final 2
20100928 hva er nytt i 6 0 helse vest forum final 220100928 hva er nytt i 6 0 helse vest forum final 2
20100928 hva er nytt i 6 0 helse vest forum final 2
 
Estructura
EstructuraEstructura
Estructura
 
Imagenes lectura
Imagenes lecturaImagenes lectura
Imagenes lectura
 
Roteiro COE
Roteiro COERoteiro COE
Roteiro COE
 
Il Breviario Grimani e la sua storia
Il Breviario Grimani e la sua storiaIl Breviario Grimani e la sua storia
Il Breviario Grimani e la sua storia
 
Visual
VisualVisual
Visual
 
Estructura ideal del aula virtual
Estructura ideal del aula virtualEstructura ideal del aula virtual
Estructura ideal del aula virtual
 
Knowledge management-competitive-advantage
Knowledge management-competitive-advantageKnowledge management-competitive-advantage
Knowledge management-competitive-advantage
 
Br 6
Br   6Br   6
Br 6
 

Similar a 8051 addressing

lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptxlec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
MadavanR1
 
Addressing modes-of-8085
Addressing modes-of-8085 Addressing modes-of-8085
Addressing modes-of-8085
jemimajerome
 

Similar a 8051 addressing (20)

3. Addressing Modes in 8085 microprocessor.pptx
3. Addressing Modes in 8085 microprocessor.pptx3. Addressing Modes in 8085 microprocessor.pptx
3. Addressing Modes in 8085 microprocessor.pptx
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptx
 
module-3.pptx
module-3.pptxmodule-3.pptx
module-3.pptx
 
Microprocessor and Microcontroller lec3
Microprocessor and Microcontroller lec3Microprocessor and Microcontroller lec3
Microprocessor and Microcontroller lec3
 
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptxlec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
lec3-8051microcontrollerarchitecture-230130044236-5c11a082.pptx
 
Microprocessors-based systems (under graduate course) Lecture 3 of 9
Microprocessors-based systems (under graduate course) Lecture 3 of 9 Microprocessors-based systems (under graduate course) Lecture 3 of 9
Microprocessors-based systems (under graduate course) Lecture 3 of 9
 
MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
 
ADDRESSING MODES OF 8085
ADDRESSING MODES OF 8085 ADDRESSING MODES OF 8085
ADDRESSING MODES OF 8085
 
Addressing modes-of-8085
Addressing modes-of-8085Addressing modes-of-8085
Addressing modes-of-8085
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Addressing modes-of-8085
Addressing modes-of-8085 Addressing modes-of-8085
Addressing modes-of-8085
 
Microprocessor Unit 2.PDF
Microprocessor Unit 2.PDFMicroprocessor Unit 2.PDF
Microprocessor Unit 2.PDF
 
Microcontroller .pptx
Microcontroller .pptxMicrocontroller .pptx
Microcontroller .pptx
 
Unit 2.ppt
Unit 2.pptUnit 2.ppt
Unit 2.ppt
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 

Último

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Último (20)

Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

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