Skip to content
The Computer Science
TheCScience
  • Engineering Subjects
    • Human Values
    • Computer System Architecture
    • Microprocessor
    • Digital Communication
    • Internet of Things
  • NCERT Solutions
    • Class 12
    • Class 11
  • Solutions
    • HackerRank
      • C Solutions
      • C++ Solutions
      • Java Solutions
      • Python Solutions
      • Algorithms Solutions
      • Data Structures Solutions
    • HackerEarth Solutions
    • Leetcode Solutions
  • JEE 2027
The Computer Science
TheCScience

8085 Microprocessor Memory Interfacing

YASH PAL, March 12, 2026April 25, 2026

8085 Microprocessor Memory Interfacing – One of the most important parts of the design of a microprocessor-based system is the design of the interface. The first part of the microprocessor interface is interfacing with the memory.

Memory Interfacing with 8085 Microprocessor

Here is the following steps need to be followed for interfacing the memory with the 8085 microprocessor.

  1. Calculate the number of address lines required.
  2. Select the address lines from the available memory space.
  3. Identify the pins that are required for the interface.
  4. Design the logic circuit to fulfill the interfacing circuit requirement to select the memory chip.

To control the reading and writing operations with memory, appropriate control signals are needed. A truth table for memory is shown in the table below.

RDWRCSCharacteristics
110No-operation
010Read data
100Write data
000Illegal
xx1Tri-state
Truth table for memory operations

Note: When CS = 1, the memory chip remains in tri-state and can not be used. If CS = 0 and RD = 0, WR = 0, then this is an illegal operation because both reading and writing operations can not be performed simultaneously.

Let’s take an example problem to understand the Memory Interfacing with the 8085 microprocessor.

We need to interface a 4K x 8-bit memory to the 8085 microprocessor. Also, we need to find the address of the last register if the first register address is F000H.

Solution: The interfacing circuit can be designed as follows:

  1. Given memory size is 4K x 8 bits. Hence, the number of address lines
= log2 (4K)
= log2 (22 x 210)
= log2 (212)
= 12

There are 12 address lines on the memory chip to identify all the registers.

  1. In the 8085 microprocessor, there are 16 address lines (A0 – A15). Out of 16 address lines, 12 address lines (A0 – A11) are connected to the memory chip.
  2. The pins available on the memory chip for interface are RD, WR, CS, and (A0 – A11). Whereas the pins available as the microprocessor for interface are IO/M, RD, WR, CS, and (A0 – A15).
  3. Leaving (A0 – A11) for direct connection from microprocessor to memory chip (12 lines), the remaining address lines (A12 – A15) and IO/M are used for the decoding circuit to generate the CS signal. To select the memory chip, CS must be equal to 0. IO/M will be 0, since the operation is related to memory. Let us design the logic circuit as shown in the Figure 1.
Decoding logic circuit
Figure 1: Decoding logic circuit

The complete interfacing circuit of a 4K x 8-bit memory to the 8085 microprocessor is shown in Figure 2.

Interfacing 4K x 8 bit memory to 8085 microprocessor
Figure 2: Interfacing a 4K x 8-bit memory to the 8085 microprocessor

The last register of the memory chip will be identified if all the address lines of memory (A0 – A11) are at high logic (1). From the decoding logic, it is clear that CS will be low only if (A12 – A15) lines are at high logic (1) with IO/M = 0.

Therefore, the address of the last register will be FFFFH.


Microprocessor Subject Tutorials & Notes | Beginners Guide
engineering subjects Microprocessor microprocessor

Post navigation

Previous post
Next post

Introduction to Microprocessor
Generations of Computer
Microprocessor Types
Types of Computer Systems
Types of Programming Languages
Basic Computer Structure
Interfacing Logic Devices
Number System in Computer
Number System Arithmetic – Addition & Subtraction

Microprocessor as CPU
8085 Microprocessor Architecture
Pin Configuration of 8085 Microprocessor
Demultiplexing of Address and Data Bus in 8085 Microprocessor
Basic Operations of the 8085 Microprocessor
Memory Organization in 8085 Microprocessor

Microprocessor memory structure
Memory Interfacing with 8085 Microprocessor
Memory address decoding in a microprocessor
Input/Output Interfacing in Microprocessor

8085 Microprocessor Programming Model
8085 Assembly Language Programming
8085 Microprocessor Instructions
Microprocessor Programming Steps
Flowchart Design of a Program
8085 Microprocessor Data Transfer Instructions
8085 Microprocessor Arithmetic Instructions
8085 Microprocessor Logical Instructions
8085 Microprocessor Branch Instructions
8085 Microprocessor Machine-Processor Control Instructions
Basic Structure of an Assembly Language Program
Programming Techniques for Repeated Tasks
Debugging of a Microprocessor Program

8085 Microprocessor Timing Operations
Timing Diagram of 8085 Microprocessor
Time Delay in Microprocessor
Stack in 8085 Microprocessor
Subroutine in 8085 Microprocessor
MACRO in Microprocessor

Interrupts in 8085 Microprocessor
Digital to Analog Converter (DAC) in Microprocessor
Analog to Digital Converter (ADC) in Microprocessor

Programmable Peripheral Interface
8255 (PPI) Programmable Peripheral Interface
Programmable Interval Timer (PIT) 8253/8254
Programmable Interrupt Controller (PIC) 8259
Direct Memory Access (DMA) Controller 8257

8086 Microprocessor Architecture, Instructions, and Pin Diagram
Addressing Modes of the 8086 Microprocessor
Instruction Set of 8086 Microprocessor
8088 Microprocessor Architecture with Pin Diagram
Difference between 8085, 8086, and 8088 Microprocessors
80186 Microprocessor Architecture
80286 Microprocessor Architecture & Features
80386 Microprocessor Architecture & Features
80486 Microprocessor Architecture & Features
80586 (Pentium) Microprocessor Architecture & Features

8051 Microcontroller Architecture
8051 Microcontroller Memory Organization
8051 Microcontroller Pin Configuration & Programming Model
8051 Microcontroller Timers and Counters
Serial Communication in 8051 Microcontroller
Interrupts of the 8051 Microcontroller
Addressing Modes of the 8051 Microcontroller
Intel MMX Architecture
Dual Core Processor

LED & Multiplexed Display Interfacing with Microprocessor
Liquid Crystal Display (LCD) Pin Configuration & Interfacing
Matrix Keyboard Interfacing with Microprocessor
8279 Keyboard/Display Controller
Programmable Communication Interface (USART) 8251
Serial Communication Standards in Microprocessor
Computer System Standard Buses

TheCScience

At TheCScience.com, our mission is to make quality education accessible to everyone. We provide in-depth, easy-to-understand articles covering Secondary, Senior Secondary, and Graduation-level subjects.

Our content is designed to simplify complex concepts through clear explanations, diagrams, and structured learning—helping students build strong fundamentals and succeed academically without financial barriers.

Pages

About US

Contact US

Privacy Policy

DMCA

Our Tools

Hosting - get 20% off

Engineering Subjects

Internet of Things

Human Values

Digital Communication

Computer System Architecture

Microprocessor

Programming Tutorials

Data Structure and Algorithm

C

Java

NCERT

Class 12th

©2026 TheCScience | WordPress Theme by SuperbThemes