Report on 8085 Microprocessor
1. Introduction
8085 programming involves writing assembly language instructions for the 8085 microprocessor. It is
essential for understanding the internal working and control mechanisms of microprocessors. Programs
written for the 8085 are typically used for controlling hardware and performing arithmetic or logical operations.
2. Programming Model
The 8085 microprocessor includes:
- 8-bit accumulator (A)
- Six 8-bit general purpose registers (B, C, D, E, H, L)
- 16-bit program counter (PC)
- 16-bit stack pointer (SP)
- Flag register
- Instruction register and decoder
3. Instruction Set
The 8085 instruction set is classified into five categories:
1. Data Transfer Instructions
2. Arithmetic Instructions
3. Logical Instructions
4. Branch Instructions
5. Control Instructions
4. Sample Program: Addition
Page 1
Report on 8085 Microprocessor
Program to add two 8-bit numbers stored at memory locations 2000H and 2001H and store the result at
2002H.
LDA 2000H
MOV B, A
LDA 2001H
ADD B
STA 2002H
HLT
5. Sample Program: Subtraction
Program to subtract the number at 2001H from the number at 2000H and store the result at 2002H.
LDA 2000H
MOV B, A
LDA 2001H
SUB B
STA 2002H
HLT
6. Conclusion
Programming the 8085 microprocessor helps in understanding low-level hardware interaction. It is a critical
step for those studying computer architecture, embedded systems, and hardware design.
Page 2