1 of 12

8085 Microprocessor Workshop

2-Hour Hands-On Coding Session

Using Online 8085 Simulator

Day 1

2 of 12

Workshop Outline

  • 1. Introduction to 8085 Architecture
    • 2. Registers of 8085
    • 3. Instruction Set Basics
    • 4. Program: Add Two 8-bit Numbers
    • 5. Practice + MCQs

3 of 12

Introduction to 8085 Architecture

  • • 8-bit Microprocessor developed by Intel
    • • 16-bit Address Bus (64KB memory)
    • • 8-bit Data Bus
    • • Operates at 3–6 MHz

4 of 12

8085 Architecture Blocks

  • • Accumulator
    • • Arithmetic Logic Unit (ALU)
    • • Register Array
    • • Control Unit
    • • Stack Pointer & Program Counter

5 of 12

Registers of 8085

  • • Accumulator (A)
    • • General Purpose: B, C, D, E, H, L
    • • Program Counter (PC)
    • • Stack Pointer (SP)
    • • Flag Register

6 of 12

Flag Register

  • • Sign (S)
    • • Zero (Z)
    • • Auxiliary Carry (AC)
    • • Parity (P)
    • • Carry (CY)

7 of 12

Instruction Set Basics

  • • Data Transfer Instructions (MOV, MVI)
    • • Arithmetic Instructions (ADD, SUB)
    • • Logical Instructions (ANA, ORA)
    • • Branch Instructions (JMP, JZ)

8 of 12

Addressing Modes

  • • Immediate
    • • Register
    • • Direct
    • • Indirect

9 of 12

Program: Add Two 8-bit Numbers

  • MVI A, 05H
    • MVI B, 03H
    • ADD B
    • STA 2000H
    • HLT

10 of 12

Program Explanation

  • • Load 05H into Accumulator
    • • Load 03H into Register B
    • • ADD B → A = A + B
    • • Store result in memory location 2000H
    • • HLT stops execution

11 of 12

Practice Problem

  • Write a program to:
    • Add numbers stored at 2000H and 2001H
    • Store result at 2002H

12 of 12

Thank You

  • Hands-on Practice Recommended
    • Use Online 8085 Simulator
    • Experiment with Flags and Memory