SlideShare a Scribd company logo
MICROPROCESSOR 8085
LECTURE 6
INSTRUCTION SET-ADDRESSING MODES
PROF. SANDIP DAS
ADDRESSING MODES
Direct Addressing:
In this Addressing mode the address of the operand is given in the
instruction itself.
Examples: STA 2400 (32,00,24)-Stores the content of accumulator in address
2400H
LDA 0034 (3A,3A,00)- Loads the accumulator with the content of
address 003AH
OPCODE
ADDRESS
ADDRESS
00000000
10000000
00110010
00111100
00000000
01110110
Main Memory
Direct Addressing
Mode Instruction
Format
REGISTER ADDRESSING
In this addressing mode the operand is in one of the general purpose registers.
The opcode specifies the address of the register(s) in addition to the operation
performed. Examples are:
MOV A,B Content of register B is moved to register A
• Opcode for the above instruction is 78H.
• In binary form 78H is written as 01111000.
• The first two bits i.e. 01 are for MOV operation, the next three bits 111 are
for register A and last three bits 000 are for register B.
ADD B Add the content of register B to the content of register A
• Opcode for the above instruction is 80H
• Here one operand is register B as mentioned and the other operand is
Accumulator (for arithmetic operation, it is understood). The opcode 80H is
written as 10000000.
• The first five bits i.e., 10000, specify the add operation to e performed and
REGISTER INDIRECT ADDRESSING
In this addressing the address of the operand is specified by a register pair.
Example 1:
LXI H,2500 Load H-L pair with 2500H
MOV A,M Move the content of the memory location, whose address is in H-
L pair
HLT
Example 2:
LXI H,2500 Load H-L pair with 2500H
ADD M ADD the content of the memory location, whose address is
in H-L pair with A
HLT
IMMEDIATE ADDRESSING
In immediate addressing mode the operand is specified within the
instruction itself.
Examples 1:
MVI A,05 Move 05 in Accumulator
3E, 05 Opcode for the above instruction
Examples 2:
ADI A,16 ADD 16 to the content of Accumulator
C6, 16 Opcode for the above instruction
LXI is also an example of immediate addressing.
IMPLICIT ADDRESSING
Certain instruction which operate on the content of the
accumulator. Such instructions do not require address of the
operand.
Examples:
CMA Complement the accumulator
RLC Rotate accumulator left
RRC Rotate accumulator right
RAL Rotate accumulator left through carry
RAR Rotate accumulator right through carry
ASSIGNMENT-1
MARKS-10
1. Draw the timing diagram of MOV A,B. How many T-states and
machine cycle will this operation require.
2. Draw the timing diagram of ADD B. How many T-states and
machine cycle will this operation require.
SUBMISSION DATE: 30/07/2018

More Related Content

PDF
Instructionset8085
PPT
MICROPROCESSOR INSTRUCTION SET OF 8085
PDF
itft-Instruction set-of-8085
PDF
8085 arithmetic instructions
PDF
8085 data transfer instruction set
PPT
Instruction Set 8085
PPT
Instruction set of 8085
PPTX
Instruction set of 8085 microprocessor
Instructionset8085
MICROPROCESSOR INSTRUCTION SET OF 8085
itft-Instruction set-of-8085
8085 arithmetic instructions
8085 data transfer instruction set
Instruction Set 8085
Instruction set of 8085
Instruction set of 8085 microprocessor

What's hot (20)

PPT
8085 instruction set
PPT
Logical instruction of 8085
PPT
Instruction set-of-8085
PPTX
Instruction set
PDF
8085 is details
DOCX
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
PPTX
DAA AND DAS
PPT
Instruction set of 8085
PPTX
microcomputer architecture-Instruction formats
DOC
Microprocessor Basics CH-3
PPTX
microcomputer architecture - Arithmetic instruction
PPTX
LOGICAL OPERATIONS IN 8085 MICROPROCESSOR
PPTX
8. 8085 programming example
DOCX
Instruction set of 8086
PPT
arithmetic ins in 8051
PPTX
addressing mode 1
PPTX
Instruction sets of 8086
PPTX
Arithmetic and logical instructions
PPT
CO by Rakesh Roshan
PPT
Instruction format
8085 instruction set
Logical instruction of 8085
Instruction set-of-8085
Instruction set
8085 is details
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
DAA AND DAS
Instruction set of 8085
microcomputer architecture-Instruction formats
Microprocessor Basics CH-3
microcomputer architecture - Arithmetic instruction
LOGICAL OPERATIONS IN 8085 MICROPROCESSOR
8. 8085 programming example
Instruction set of 8086
arithmetic ins in 8051
addressing mode 1
Instruction sets of 8086
Arithmetic and logical instructions
CO by Rakesh Roshan
Instruction format
Ad

Similar to 3. 8085 addressing modes (20)

PPTX
Addressing modes
PPTX
Addressing modes of 8085
PPTX
ADDRESSING MODES OF 8085
PPS
Addressing modes of 8085
PPTX
3. Addressing Modes in 8085 microprocessor.pptx
PPTX
Addressing Modes of 8085 Microprocessor
PDF
L-3microproceessors and microcontrollers.pdf
PPTX
2. Instruction Set.pptx huishiuhfuidhiuhdfuhdu
PPTX
Addressing.pptx hhuuhgjhbbhhhddrjjndfyhbdfg
PPTX
Addressing.pptxbfnfjdnndbdfffffffffffggggg
PPTX
ADDRESSING MODES from the assembly4.pptx
PPTX
Addressing modes of 8051
PPTX
Microprocessor and Microcontroller lec3
PPTX
Microprocessor
DOCX
Assignment on different types of addressing modes
PPTX
Lecture 10
PDF
Presentation of addressing mode presentation
PPTX
instruction format and addressing modes
PPTX
UNIT-2.pptx
PPTX
Addressing mode
Addressing modes
Addressing modes of 8085
ADDRESSING MODES OF 8085
Addressing modes of 8085
3. Addressing Modes in 8085 microprocessor.pptx
Addressing Modes of 8085 Microprocessor
L-3microproceessors and microcontrollers.pdf
2. Instruction Set.pptx huishiuhfuidhiuhdfuhdu
Addressing.pptx hhuuhgjhbbhhhddrjjndfyhbdfg
Addressing.pptxbfnfjdnndbdfffffffffffggggg
ADDRESSING MODES from the assembly4.pptx
Addressing modes of 8051
Microprocessor and Microcontroller lec3
Microprocessor
Assignment on different types of addressing modes
Lecture 10
Presentation of addressing mode presentation
instruction format and addressing modes
UNIT-2.pptx
Addressing mode
Ad

More from sandip das (20)

PPTX
31. 8086 addressing modes
PPTX
30. 8086 microprocessor pipelined architecture
PPTX
29. 8086 microprocessor pin diagram
PPTX
28. 8251 programmable communication interface
PPTX
27. 8259 programmable interrupt controller
PPTX
26. 8255 control word programming
PPTX
25. 8255 programmable peripheral interface
PPTX
24. direct memory access
PPTX
23. serial and parallel data communication
PPTX
22. interrupts ii
PPTX
21. interrupts
PPTX
20. io interfacing ii
PPTX
19. io interfacing i
PPTX
18. memory interfacing iv
PPTX
17. memory interfacing iii
PPTX
16. memory interfacing ii
PPTX
15. memory interfacing i
PPTX
14. 8085 programming example vi
PPTX
13. 8085 programming example v
PPTX
12. 8085 programming example iv
31. 8086 addressing modes
30. 8086 microprocessor pipelined architecture
29. 8086 microprocessor pin diagram
28. 8251 programmable communication interface
27. 8259 programmable interrupt controller
26. 8255 control word programming
25. 8255 programmable peripheral interface
24. direct memory access
23. serial and parallel data communication
22. interrupts ii
21. interrupts
20. io interfacing ii
19. io interfacing i
18. memory interfacing iv
17. memory interfacing iii
16. memory interfacing ii
15. memory interfacing i
14. 8085 programming example vi
13. 8085 programming example v
12. 8085 programming example iv

Recently uploaded (20)

PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
PPT on Performance Review to get promotions
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Digital Logic Computer Design lecture notes
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Well-logging-methods_new................
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
web development for engineering and engineering
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
CYBER-CRIMES AND SECURITY A guide to understanding
PPT on Performance Review to get promotions
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
CH1 Production IntroductoryConcepts.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Digital Logic Computer Design lecture notes
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Well-logging-methods_new................
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Embodied AI: Ushering in the Next Era of Intelligent Systems
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Automation-in-Manufacturing-Chapter-Introduction.pdf
Lecture Notes Electrical Wiring System Components
web development for engineering and engineering
UNIT-1 - COAL BASED THERMAL POWER PLANTS
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx

3. 8085 addressing modes

  • 1. MICROPROCESSOR 8085 LECTURE 6 INSTRUCTION SET-ADDRESSING MODES PROF. SANDIP DAS
  • 2. ADDRESSING MODES Direct Addressing: In this Addressing mode the address of the operand is given in the instruction itself. Examples: STA 2400 (32,00,24)-Stores the content of accumulator in address 2400H LDA 0034 (3A,3A,00)- Loads the accumulator with the content of address 003AH OPCODE ADDRESS ADDRESS 00000000 10000000 00110010 00111100 00000000 01110110 Main Memory Direct Addressing Mode Instruction Format
  • 3. REGISTER ADDRESSING In this addressing mode the operand is in one of the general purpose registers. The opcode specifies the address of the register(s) in addition to the operation performed. Examples are: MOV A,B Content of register B is moved to register A • Opcode for the above instruction is 78H. • In binary form 78H is written as 01111000. • The first two bits i.e. 01 are for MOV operation, the next three bits 111 are for register A and last three bits 000 are for register B. ADD B Add the content of register B to the content of register A • Opcode for the above instruction is 80H • Here one operand is register B as mentioned and the other operand is Accumulator (for arithmetic operation, it is understood). The opcode 80H is written as 10000000. • The first five bits i.e., 10000, specify the add operation to e performed and
  • 4. REGISTER INDIRECT ADDRESSING In this addressing the address of the operand is specified by a register pair. Example 1: LXI H,2500 Load H-L pair with 2500H MOV A,M Move the content of the memory location, whose address is in H- L pair HLT Example 2: LXI H,2500 Load H-L pair with 2500H ADD M ADD the content of the memory location, whose address is in H-L pair with A HLT
  • 5. IMMEDIATE ADDRESSING In immediate addressing mode the operand is specified within the instruction itself. Examples 1: MVI A,05 Move 05 in Accumulator 3E, 05 Opcode for the above instruction Examples 2: ADI A,16 ADD 16 to the content of Accumulator C6, 16 Opcode for the above instruction LXI is also an example of immediate addressing.
  • 6. IMPLICIT ADDRESSING Certain instruction which operate on the content of the accumulator. Such instructions do not require address of the operand. Examples: CMA Complement the accumulator RLC Rotate accumulator left RRC Rotate accumulator right RAL Rotate accumulator left through carry RAR Rotate accumulator right through carry
  • 7. ASSIGNMENT-1 MARKS-10 1. Draw the timing diagram of MOV A,B. How many T-states and machine cycle will this operation require. 2. Draw the timing diagram of ADD B. How many T-states and machine cycle will this operation require. SUBMISSION DATE: 30/07/2018