Skip to main content

8085 Memory Interface

8085 Memory Interface

Terminology which are used.

  • Memory are made up of registers.
  • Each register consists of one storage location. 
  • Each location consists of an address.
  •  The number of storage locations from few hundreds to several mega or giga locations. 
  • The total number of memory storage is called memory capacity and measured in Bytes.
  •  Each register consists of storage element (FF, capacitor for semiconductor)
  •  A storage element is called cell.
  •  The data could be read from or written to memory.

Memory Structure and its requirements

  • As mentioned earlier, read/write memories consist of an array of registers, in which each register has unique address.
  • The size of the memory is N x M as shown below where N is the number of registers and M is the word length, in number of bits1




Summarizes capacity with address

Memory Capacity
Address lines required
1 k = 1024 memory locations
10
2 k = 2048 memory locations
11
4 k = 4096 memory locations
12
8 k = 8192 memory locations
13
16 k = 16384 memory locations
14
32k = 32768 memory locations
15
64k = 65536 memory locations
16


EPROM layout 

  • Shows the logic diagram of typical EPROM (Erasable Programmable Read-Only Memory) with 4096 (4k) registers 
  • It has 12 address lines (A0-A11), one chip select (CS), one Read control signal.
  • No WR signal




Basic Memory Interfacing with 8085 

  •  For interfacing memory devices to µp 8085, keep the following points in your mind:
  • µp 8085 can access 64KB memory since address bus is 16-bit.
  • Generally EPROM (or EPROMs) is used as a program memory and RAM (or RAMs) as data memory.
  • The capacity of program memory and data memory depends on the application. 
  • Is is not always necessary to select 1 EPROM and 1 RAM. We can have multiple EPROMs and multiple RAMs as per the rquirement of application 

Address Decoding techniques 

 There are two main techniques: 
       Absolute decoding/ Full Decoding
       Linear decoding / Partial Decoding 
  • Absolute Decoding: 
  •  All the higher address lines are decoded to select the memory chip, and the memory chip is selected only for the specified logic level on these high-order address, no other logic levels can select the chip.
  • The following figure shows the memory interface with absolute decoding.
  • This addressing technique is normally used in large memory systems. 

Absolute Decoding Technique 

Memory map 


Comments

Popular posts from this blog

Architecture and pin diagram of 8085

  8085 MICROPROCESSOR 1.1 Hardware Architecture Control Unit Generates signals within Microprocessor to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the uP to be opened or closed, so that data goes where it is required, and so that ALU operations occur. Arithmetic Logic Unit The ALU performs the actual numerical and logic operation such as „add‟ , „subtract‟ , „AND‟ , „OR‟ , etc. Uses data from memory and from Accumulator to perform arithmetic. Always stores result of operation in Accumulator. Registers The 8085/8080A-programming model includes six registers, one accumulator, and one flag register, as shown in Figure. In addition, it has two 16-bit registers: the stack pointer and the program counter. The 8085/8080A has six general-purpose registers to store 8-bit data; these are identified as B,C,D,E,H, and L as shown in the figure. They can be combined as register pairs...

Python

Why Python? 1. Python is free to use. 2. Python is very beginner-friendly. 3. Python is easy to program and read. 4. The syntax (words and structure) is extremely simple to read and follow, most of which can be understood even if you do not know any programming. 5. Similar to PERL, but with powerful typing and object-oriented features 6. Software Quality: python focus on readability, coherence and software quality in general which sets it apart from other languages in the scripting world. 7. Developer productivity: python code is typically only 30% to 60%  size of the equivalent C++ or  Java(all-time favorite).this means there is less code, less code write, less error, less to debug, less to memory requirement and less to maintain. 8. Program Portability: python program run unchanged on all major computer platforms.Cross-platform {windows, Mac OS, Linux and many more} 9. Support libraries: python comes with tons of prebuilt and portable functionality called...