SlideShare a Scribd company logo
By : Balbir  Virdi
 
Instruction cycle  Instruction cycle is defined as the time required to complete the execution of an instruction. 8085 instruction cycle consist of one to six machine cycle or one to six operation. Machine cycle is defined as the time required to complete one operation of accessing memory, I/O or Acknowledging an external request. This cycle may consist of three to six T cycle. T-state is defined as one subdivision  of the operation performed in one clock period . Each T-state is precisely equal to one clock period. These two terms are often used synonymously.
Memory  is made up of semiconductor material used to store the programs and data. Three types of memory is, Process memory Primary or main memory Secondary memory
EPROM AND STATIC RAM:   Typical  semiconductor memory IC will have n address pins, m data pins (or output pins). Having two power supply pins (one for connecting required supply voltage (V and the other for connecting ground). The control signals needed for static RAM are chip select (chip enable), read control (output enable) and write control (write enable). The control signals needed for read operation in EPROM are chip select (chip enable) and read control (output enable).
Memory IC’s
DECODER It is used to select the memory chip of processor during the execution of a program. No. of IC's used for decoder is, 2-4 decoder (74LS139) 3-8 decoder (74LS138)
2:4 TRUTH TABLE
3:8 TRUTH TABLE
Consider a system in which the full memory space 64kb is utilized for EPROM memory. Interface the EPROM with 8085 processor. The memory capacity is 64 Kbytes. i.e. 2^n = 64 x 1000 bytes where n = address lines. So, n = 16. In this system the entire 16 address lines of the processor are connected to address input pins of memory IC in order to address the internal locations of memory. The chip select (CS) pin of EPROM is permanently tied to logic low (i.e., tied to ground). Since the processor is connected to EPROM, the active low RD pin is connected to active low output enable pin of EPROM. The range of address for 64 Kbytes EPROM is 0000H to FFFFH.
Consider a system in which the full memory space 64kb is utilized for EPROM memory. Interface the EPROM with 8085 processor. The memory capacity is 64 Kbytes. i.e. 2^n = 64 x 1000 bytes where n = address lines. So, n = 16.
In this system the entire 16 address lines of the processor are connected to address input pins of memory IC in order to address the internal locations of memory. The chip select (CS) pin of EPROM is permanently tied to logic low (i.e., tied to ground). Since the processor is connected to EPROM, the active low RD pin is connected to active low output enable pin of EPROM.   The range of address for 64 Kbytes EPROM is 0000H to FFFFH.
EXAMPLE 2 Consider a system in which the available 64kb memory space is equally divided between EPROM and RAM. Interface the EPROM and RAM with 8085 processor.
The 32kb memory requires 15 address lines and so the address lines A0 - A14 of the processor are connected to 15 address pins of both EPROM and RAM. The unused address line A15 is used as to chip select. If A15  is 1, it select RAM and If  A15  is 0, it select EPROM. Inverter is used for selecting the memory. The memory used is both Ram and EPROM, so the low RD and WR pins of processor are connected to low WE and OE pins of memory respectively. The address range of EPROM will be 0000H to 7FFFH and that of RAM will be 8000H to FFFFH.
EXAMPLE-3 Consider a system in which 32kb memory space is implemented using four numbers of 8kb memory. Interface the EPROM and RAM with 8085 processor.
 
The total memory capacity is 32Kb. So, let two number of 8kb n memory be EPROM and the remaining two numbers be RAM. Each 8kb memory requires 13 address lines and so the address lines A0- A12 of the processor are connected to 13 address pins of all the memory. The address lines and A13 - A14 can be decoded using a 2-to-4 decoder to generate four chip select signals. These four chip select signals can be used to select one of the four memory IC at any one time. The address line A15 is used as enable for decoder.
The address allotted to each memory IC is shown in following table.
EXAMPLE-4 Consider a system in which the 64kb memory space is implemented using eight numbers of 8kb memory. Interface the EPROM and RAM with 8085 processor. The total memory capacity is 64Kb. So, let 3 numbers of 8Kb EPROM and 5 numbers of 8Kb RAM. Each 8kb memory requires 13 address lines. So the address line A0 - A12 of the processor are connected to 13address pins of all the memory lCs. The address lines A13, A14 and A]5 are decoded using a 3-to-8 coder to generate eight chip select signals. These eight chip select signals can be used to select one of the eight memories at any one time.
 
 
Programming model Programming model is a conceptual representation of  a real object. It can take any form, such as text description, a drawing, or a built structure. Like the architecture  model of  a building, microprocessor can be represented in terms of its physical electronic components and information needed to write programs.  The programming model  consist of some segments of the ALU and the registers.
 
ADDRESSING MODES  OF 8085 To perform any operation, we have to give the  corresponding instructions to the microprocessor. In each instruction, programmer has to specify 3 things: Operation to be performed. Address of source of data. Address of destination of result.
The method by which the address of source of data or the address of destination of result is given in the  instruction is called  Addressing  Modes. The term addressing mode refers to the way in which the operand of the instruction is specified.
Types of Addressing Modes Intel 8085 uses the following addressing modes: 1. Direct Addressing Mode 2. Register Addressing Mode 3. Register Indirect Addressing Mode 4. Immediate Addressing Mode 5. Implicit Addressing Mode
Direct Addressing Mode In this mode, the address of the operand is given in the instruction itself.  Here , LDA  is the operation. 2500 H  is the address of source. Accumulator is the destination. LDA 2500 H  Load the contents of memory  location 2500 H in      accumulator.
Register Addressing Mode In this mode, the operand is in general purpose register. MOV is the operation. B is the source of data. A is the destination. MOV A, B  Move the contents of register B to A.
Register Indirect Addressing Mode In this mode, the address of operand is specified by a register MOV is the operation. M is the memory location specified by  H-L register pair. A is the destination register pair. MOV A, M  Move data from memory location  specified by H-L pair    to accumulator.
Immediate Addressing Mode In this mode, the operand is specified within the instruction itself.  MVI is the operation. 05 H is the immediate data (source). A is the destination. MVI  A, 05 H  Move 05 H in accumulator.
Implicit Addressing Mode If address of source of data as well as address of destination of result is fixed, then there is no need to give any  operand along with the instruction.  CMA is the operation. A is the source. A is the destination. CMA  Complement accumulator.

More Related Content

What's hot (20)

PPTX
8255 PPI
deval patel
 
PPTX
Serial Communication in 8051
Sudhanshu Janwadkar
 
PPT
AVR Fundamentals
Vinit Vyas
 
PDF
Question Bank Microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PPTX
Keyboard Interfacing .pptx
livaunnoor
 
PDF
Memory interfacing of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PPTX
Branching instructions in 8086 microprocessor
Rabin BK
 
PPT
8051 instruction set
Andri Prastiyo
 
PDF
DELD Unit IV ring and twisted ring counter
KanchanPatil34
 
PPTX
Addressing modes of 8086
saurav kumar
 
PDF
Microcontroller pic 16 f877 registers memory ports
Nilesh Bhaskarrao Bahadure
 
PPT
EPROM, PROM & ROM
Abhilash Nair
 
PDF
Timing diagram of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
PDF
Programming pic microcontrollers
MAIYO JOSPHAT
 
PDF
8259 Programmable Interrupt Controller
abhikalmegh
 
PPT
Microcontroller-8051.ppt
Dr.YNM
 
PPTX
PIC Microcontrollers
Abdullah Saghir Ahmad
 
PPTX
Pin diagram 8085
Siddhesh Palkar
 
PPTX
3.programmable interrupt controller 8259
MdFazleRabbi18
 
PPT
Master synchronous serial port (mssp)
babak danyal
 
8255 PPI
deval patel
 
Serial Communication in 8051
Sudhanshu Janwadkar
 
AVR Fundamentals
Vinit Vyas
 
Question Bank Microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Keyboard Interfacing .pptx
livaunnoor
 
Memory interfacing of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Branching instructions in 8086 microprocessor
Rabin BK
 
8051 instruction set
Andri Prastiyo
 
DELD Unit IV ring and twisted ring counter
KanchanPatil34
 
Addressing modes of 8086
saurav kumar
 
Microcontroller pic 16 f877 registers memory ports
Nilesh Bhaskarrao Bahadure
 
EPROM, PROM & ROM
Abhilash Nair
 
Timing diagram of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Programming pic microcontrollers
MAIYO JOSPHAT
 
8259 Programmable Interrupt Controller
abhikalmegh
 
Microcontroller-8051.ppt
Dr.YNM
 
PIC Microcontrollers
Abdullah Saghir Ahmad
 
Pin diagram 8085
Siddhesh Palkar
 
3.programmable interrupt controller 8259
MdFazleRabbi18
 
Master synchronous serial port (mssp)
babak danyal
 

Viewers also liked (20)

PPSX
8085 Interfacing with I/O Devices or Memory
Saumay Paul
 
PPT
Memory & I/O interfacing
deval patel
 
PPT
Interfacing of io device to 8085
Nitin Ahire
 
PDF
Microprocessor and Interfacing Notes
Akshansh Chaudhary
 
PPT
8085 Architecture & Memory Interfacing1
techbed
 
PDF
Service Manual - Sony STR-K660P
Dharma Initiative
 
PDF
Ch3
Ahmed Badawi
 
PPTX
8085 microprocessor
Iama Marsian
 
PDF
2 8085 microprocessor
aditidey19
 
PDF
Microprocessor and interfacing
modimitesh61
 
PPT
8085
Sunil Dutt
 
PPTX
8155 Basic Concepts
Srinath Kalikivayi
 
PDF
Timing diag
Student
 
PPTX
8155 GPPI
deval patel
 
PPT
1203 Ppi 8155
techbed
 
PPTX
Interrupts of microprocessor 8085
mujeebkhanelectronic
 
PPTX
Architecture of pentium family
University of Gujrat, Pakistan
 
PPT
Pentium
Akshay Nagpurkar
 
PPTX
Data transfer scheme
rockymani
 
8085 Interfacing with I/O Devices or Memory
Saumay Paul
 
Memory & I/O interfacing
deval patel
 
Interfacing of io device to 8085
Nitin Ahire
 
Microprocessor and Interfacing Notes
Akshansh Chaudhary
 
8085 Architecture & Memory Interfacing1
techbed
 
Service Manual - Sony STR-K660P
Dharma Initiative
 
8085 microprocessor
Iama Marsian
 
2 8085 microprocessor
aditidey19
 
Microprocessor and interfacing
modimitesh61
 
8155 Basic Concepts
Srinath Kalikivayi
 
Timing diag
Student
 
8155 GPPI
deval patel
 
1203 Ppi 8155
techbed
 
Interrupts of microprocessor 8085
mujeebkhanelectronic
 
Architecture of pentium family
University of Gujrat, Pakistan
 
Data transfer scheme
rockymani
 
Ad

Similar to Memory intrface and addrs modes (20)

PPT
memory-interfacing.ppt
Vanitha472439
 
PPT
interfacing1 lecture notes for eng 5.ppt
JumanneChiyanda
 
PPTX
timing_diagram_of_8085.pptx
BhagyarajKosamia
 
PPT
Pdemodule 4
neerajtcr1990
 
PPT
8085 Architecture
deval patel
 
DOC
Qb microprocessors
Neelam Kapoor
 
PDF
8051 instruction set
Stefan Oprea
 
PPT
8085 (1)
Mani Kandan K
 
PPTX
Z 80 processors (History-Products)
Mohammed Hilal
 
PPTX
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
PPTX
Interfacing address
Sandeep Kamath
 
PPTX
Addressing Modes
Mayank Garg
 
PDF
Microprocessor questions converted
ArghodeepPaul
 
PPTX
Microprocessor 8085 architecture ppt. april 2013
harshalata
 
PDF
Microprocessors and microcontrollers
gomathy S
 
PPTX
Module 2- Basic Computer Organization and Design.pptx
axscad5
 
PPTX
Addressing modes 8085
ShivamSood22
 
PPT
COA-Unit-2.pptycvygygygtftdddthffhgfghrhhbb
harshavardhank2003
 
PDF
BASIC COMPUTER ORGANIZATION AND DESIGN
Anonymous Red
 
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
Arti Parab Academics
 
memory-interfacing.ppt
Vanitha472439
 
interfacing1 lecture notes for eng 5.ppt
JumanneChiyanda
 
timing_diagram_of_8085.pptx
BhagyarajKosamia
 
Pdemodule 4
neerajtcr1990
 
8085 Architecture
deval patel
 
Qb microprocessors
Neelam Kapoor
 
8051 instruction set
Stefan Oprea
 
8085 (1)
Mani Kandan K
 
Z 80 processors (History-Products)
Mohammed Hilal
 
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
Interfacing address
Sandeep Kamath
 
Addressing Modes
Mayank Garg
 
Microprocessor questions converted
ArghodeepPaul
 
Microprocessor 8085 architecture ppt. april 2013
harshalata
 
Microprocessors and microcontrollers
gomathy S
 
Module 2- Basic Computer Organization and Design.pptx
axscad5
 
Addressing modes 8085
ShivamSood22
 
COA-Unit-2.pptycvygygygtftdddthffhgfghrhhbb
harshavardhank2003
 
BASIC COMPUTER ORGANIZATION AND DESIGN
Anonymous Red
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
Arti Parab Academics
 
Ad

Recently uploaded (20)

PPTX
Virus sequence retrieval from NCBI database
yamunaK13
 
PPTX
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
PDF
John Keats introduction and list of his important works
vatsalacpr
 
PPTX
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
PPTX
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PPTX
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
PPTX
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Virus sequence retrieval from NCBI database
yamunaK13
 
Unlock the Power of Cursor AI: MuleSoft Integrations
Veera Pallapu
 
John Keats introduction and list of his important works
vatsalacpr
 
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
 
Continental Accounting in Odoo 18 - Odoo Slides
Celine George
 
Cybersecurity: How to Protect your Digital World from Hackers
vaidikpanda4
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 

Memory intrface and addrs modes

  • 1. By : Balbir Virdi
  • 2.  
  • 3. Instruction cycle Instruction cycle is defined as the time required to complete the execution of an instruction. 8085 instruction cycle consist of one to six machine cycle or one to six operation. Machine cycle is defined as the time required to complete one operation of accessing memory, I/O or Acknowledging an external request. This cycle may consist of three to six T cycle. T-state is defined as one subdivision of the operation performed in one clock period . Each T-state is precisely equal to one clock period. These two terms are often used synonymously.
  • 4. Memory is made up of semiconductor material used to store the programs and data. Three types of memory is, Process memory Primary or main memory Secondary memory
  • 5. EPROM AND STATIC RAM:   Typical semiconductor memory IC will have n address pins, m data pins (or output pins). Having two power supply pins (one for connecting required supply voltage (V and the other for connecting ground). The control signals needed for static RAM are chip select (chip enable), read control (output enable) and write control (write enable). The control signals needed for read operation in EPROM are chip select (chip enable) and read control (output enable).
  • 7. DECODER It is used to select the memory chip of processor during the execution of a program. No. of IC's used for decoder is, 2-4 decoder (74LS139) 3-8 decoder (74LS138)
  • 10. Consider a system in which the full memory space 64kb is utilized for EPROM memory. Interface the EPROM with 8085 processor. The memory capacity is 64 Kbytes. i.e. 2^n = 64 x 1000 bytes where n = address lines. So, n = 16. In this system the entire 16 address lines of the processor are connected to address input pins of memory IC in order to address the internal locations of memory. The chip select (CS) pin of EPROM is permanently tied to logic low (i.e., tied to ground). Since the processor is connected to EPROM, the active low RD pin is connected to active low output enable pin of EPROM. The range of address for 64 Kbytes EPROM is 0000H to FFFFH.
  • 11. Consider a system in which the full memory space 64kb is utilized for EPROM memory. Interface the EPROM with 8085 processor. The memory capacity is 64 Kbytes. i.e. 2^n = 64 x 1000 bytes where n = address lines. So, n = 16.
  • 12. In this system the entire 16 address lines of the processor are connected to address input pins of memory IC in order to address the internal locations of memory. The chip select (CS) pin of EPROM is permanently tied to logic low (i.e., tied to ground). Since the processor is connected to EPROM, the active low RD pin is connected to active low output enable pin of EPROM. The range of address for 64 Kbytes EPROM is 0000H to FFFFH.
  • 13. EXAMPLE 2 Consider a system in which the available 64kb memory space is equally divided between EPROM and RAM. Interface the EPROM and RAM with 8085 processor.
  • 14. The 32kb memory requires 15 address lines and so the address lines A0 - A14 of the processor are connected to 15 address pins of both EPROM and RAM. The unused address line A15 is used as to chip select. If A15  is 1, it select RAM and If  A15  is 0, it select EPROM. Inverter is used for selecting the memory. The memory used is both Ram and EPROM, so the low RD and WR pins of processor are connected to low WE and OE pins of memory respectively. The address range of EPROM will be 0000H to 7FFFH and that of RAM will be 8000H to FFFFH.
  • 15. EXAMPLE-3 Consider a system in which 32kb memory space is implemented using four numbers of 8kb memory. Interface the EPROM and RAM with 8085 processor.
  • 16.  
  • 17. The total memory capacity is 32Kb. So, let two number of 8kb n memory be EPROM and the remaining two numbers be RAM. Each 8kb memory requires 13 address lines and so the address lines A0- A12 of the processor are connected to 13 address pins of all the memory. The address lines and A13 - A14 can be decoded using a 2-to-4 decoder to generate four chip select signals. These four chip select signals can be used to select one of the four memory IC at any one time. The address line A15 is used as enable for decoder.
  • 18. The address allotted to each memory IC is shown in following table.
  • 19. EXAMPLE-4 Consider a system in which the 64kb memory space is implemented using eight numbers of 8kb memory. Interface the EPROM and RAM with 8085 processor. The total memory capacity is 64Kb. So, let 3 numbers of 8Kb EPROM and 5 numbers of 8Kb RAM. Each 8kb memory requires 13 address lines. So the address line A0 - A12 of the processor are connected to 13address pins of all the memory lCs. The address lines A13, A14 and A]5 are decoded using a 3-to-8 coder to generate eight chip select signals. These eight chip select signals can be used to select one of the eight memories at any one time.
  • 20.  
  • 21.  
  • 22. Programming model Programming model is a conceptual representation of a real object. It can take any form, such as text description, a drawing, or a built structure. Like the architecture model of a building, microprocessor can be represented in terms of its physical electronic components and information needed to write programs. The programming model consist of some segments of the ALU and the registers.
  • 23.  
  • 24. ADDRESSING MODES OF 8085 To perform any operation, we have to give the corresponding instructions to the microprocessor. In each instruction, programmer has to specify 3 things: Operation to be performed. Address of source of data. Address of destination of result.
  • 25. The method by which the address of source of data or the address of destination of result is given in the instruction is called Addressing Modes. The term addressing mode refers to the way in which the operand of the instruction is specified.
  • 26. Types of Addressing Modes Intel 8085 uses the following addressing modes: 1. Direct Addressing Mode 2. Register Addressing Mode 3. Register Indirect Addressing Mode 4. Immediate Addressing Mode 5. Implicit Addressing Mode
  • 27. Direct Addressing Mode In this mode, the address of the operand is given in the instruction itself. Here , LDA is the operation. 2500 H is the address of source. Accumulator is the destination. LDA 2500 H Load the contents of memory location 2500 H in accumulator.
  • 28. Register Addressing Mode In this mode, the operand is in general purpose register. MOV is the operation. B is the source of data. A is the destination. MOV A, B Move the contents of register B to A.
  • 29. Register Indirect Addressing Mode In this mode, the address of operand is specified by a register MOV is the operation. M is the memory location specified by H-L register pair. A is the destination register pair. MOV A, M Move data from memory location specified by H-L pair to accumulator.
  • 30. Immediate Addressing Mode In this mode, the operand is specified within the instruction itself. MVI is the operation. 05 H is the immediate data (source). A is the destination. MVI A, 05 H Move 05 H in accumulator.
  • 31. Implicit Addressing Mode If address of source of data as well as address of destination of result is fixed, then there is no need to give any operand along with the instruction. CMA is the operation. A is the source. A is the destination. CMA Complement accumulator.