Learn Microprocessor 8085 from beginner to advanced: interview questions, programming, architecture, and FAQs for students & embedded engineers.
If you ever wanted a simple, clear, and genuinely explanation of the Microprocessor 8085, this is your complete guide. Think of this as a friendly conversation where we go from basics to advanced topics without jargon or confusion.
Whether you’re a student preparing for your microprocessor exam, an engineer revising concepts, or someone exploring old-school tech out of curiosity, this Microprocessor 8085 complete guide covers everything.
What Is Microprocessor 8085?
The 8085 microprocessor is an 8-bit general-purpose processor developed by Intel in 1977. It became extremely popular in India because of its simple design, instruction set, and availability of kits in engineering labs.
Definition (Easy to remember):
A microprocessor 8085 is a programmable digital IC that fetches, decodes, and executes instructions to perform tasks like arithmetic, logic, controlling hardware, and data handling.
Designed by:
Intel engineer Federico Faggin
Used in:
– Calculators
– Early computers
– Embedded controllers
– Measurement systems
– Teaching labs (the most common use today)
History of Microprocessor 8085
The history of microprocessor 8085 starts with Intel’s earlier processors:
- 4004 → First commercial microprocessor
- 8080 → Widely used
- 8085 → Improved version of 8080 with fewer external components
- 8086 → Actual father of modern x86 architecture
Features of Microprocessor 8085
The most important features of microprocessor 8085 include:
- 8-bit processor: handles 8-bit data at a time
- 16-bit address bus: can address 64 KB memory
- 5 interrupts: TRAP, RST7.5, RST6.5, RST5.5, INTR
- Machine cycle: 8 control signals
- Clock frequency: 3.072 MHz
- Single +5V supply
- 74 instructions and 246 opcodes
Microprocessor 8085 Architecture
This is the heart of the Microprocessor 8085 complete guide.
When we talk about the architecture of microprocessor 8085, we discuss how all internal blocks work together—like ALU, registers, buses, and timing circuits.
Important Blocks in the 8085
- ALU – Performs arithmetic + logic
- Registers – Temporary data storage
- Accumulator – Most important register
- Instruction Register + Decoder
- Control Unit – Controls everything
- Interrupt Control
- Serial I/O Control
- Timing and Control Unit
- Address Buffer and Data Buffer
Block Diagram of Microprocessor 8085
Let’s explain the block diagram of microprocessor 8085 in the simplest way.
What the block diagram includes:
- ALU
- Register array (B, C, D, E, H, L, A)
- Program Counter
- Stack Pointer
- Temporary registers
- Interrupts
- Internal data bus
- Timing and control circuits
Why this matters?
Every exam question like “draw the architecture of microprocessor 8085” or “functional block diagram of microprocessor 8085” is based on this.
Pin Diagram of Microprocessor 8085
The pin configuration of microprocessor 8085 has 40 pins, and understanding these pins is mandatory for interfacing.
Important pins include:
- A0–A15 → 16 address pins
- AD0–AD7 → Multiplexed (Address/Data)
- ALE → Address Latch Enable
- RD, WR → Read/Write
- IO/M → Selects memory or I/O
- READY, HOLD, HLDA → DMA control
- TRAP, RST7.5, RST6.5, RST5.5, INTR → Interrupts
Instruction Set of 8085
Learning the microprocessor 8085 instruction set is the biggest part of programming. The instruction set includes:
- Data Transfer Instructions (MOV, MVI, LDA)
- Arithmetic Instructions (ADD, ADI, SUB)
- Logical Instructions (ANA, ORA, CMA)
- Branching Instructions (JMP, JC, JNZ)
- Stack Instructions (PUSH, POP)
- I/O Instructions (IN, OUT)
Working of Microprocessor 8085
If someone asks How does 8085 microprocessor work?, the simplest answer is:
- Fetch the instruction
- Decode the instruction
- Execute the instruction
These are called Machine cycles, and each machine cycle has T-states.
Memory in Microprocessor 8085
8085 uses a 16-bit address bus, so:
Total memory it can address:
2ⁱ⁶ = 65536 bytes = 64 KB
Types of memory used:
- ROM → Stores programs
- RAM → Temporary data
- Stack memory → LIFO storage
Registers of Microprocessor 8085
8085 contains:
General Purpose Registers (GPRs):
B, C
D, E
H, L
Special registers:
- Accumulator
- Program Counter
- Stack Pointer
- Temporary registers
- Instruction register
- Flag register
Flag Register in Microprocessor 8085
The flag register (also called the status register) is an 8-bit register that shows the outcome of ALU operations.
Whenever the 8085 performs addition, subtraction, compare, or logic operation—these flags automatically update.
The 5 Flags Are:
- S – Sign Flag
- Z – Zero Flag
- AC – Auxiliary Carry Flag
- P – Parity Flag
- CY – Carry Flag
Why flags matter?
Every conditional instruction (JC, JNC, JZ, JNZ, JP, JM) depends on these flags.
Without flags, the microprocessor cannot make decisions.
Interrupts in Microprocessor 8085
Interrupts allow the microprocessor to stop the current work and respond to an urgent request.
Types of Interrupts
8085 has five hardware interrupts:
| Interrupt | Type | Priority | Maskable? |
|---|---|---|---|
| TRAP | Non-maskable | Highest | No |
| RST 7.5 | Maskable | High | Yes |
| RST 6.5 | Maskable | Medium | Yes |
| RST 5.5 | Maskable | Low | Yes |
| INTR | General | Lowest | Yes |
Key Terms:
- INTR full form → Interrupt Request
- INTR’s sequence → Acknowledged through INTA’ signal
- Interrupt vector table → Stores service routines
Timing, Control and Machine Cycles
To understand how instructions execute, you must know the machine cycle of microprocessor 8085.
What is a Machine Cycle?
A set of T-states required to complete one operation like memory read, memory write, instruction fetch, etc.
Common Machine Cycles:
- Opcode Fetch Cycle
- Memory Read Cycle
- Memory Write Cycle
- I/O Read Cycle
- I/O Write Cycle
- Interrupt Acknowledge Cycle
Example:
Opcode Fetch = 4 T-states
Memory Read = 3 T-states
Addressing Modes of Microprocessor 8085
Addressing modes tell the processor where to find data.
8085 Has 5 Addressing Modes:
- Immediate Addressing
- Register Addressing
- Direct Addressing
- Indirect Addressing
- Implied (Implicit) Addressing
Example:
MVI A, 32H→ ImmediateMOV A, B→ RegisterLDA 2050H→ DirectMOV A, M→ Indirect
Instruction Format of Microprocessor 8085
Every instruction in 8085 follows one of the following formats:
Three instruction formats:
- 1-byte instruction
- 2-byte instruction
- 3-byte instruction
Examples
- 1-byte → MOV A,B
- 2-byte → MVI A,32H
- 3-byte → STA 5000H
Assembly Language Programming in Microprocessor 8085
If you want to become confident in 8085, this part is important.
Simple 8085 Programs
1) Program to Add Two Numbers
MVI A, 25H
MVI B, 30H
ADD B
HLT
2) Program for Subtraction
MVI A, 90H
MVI B, 40H
SUB B
HLT
3) Program for Multiplication (Loop Method)
8085 has no MUL instruction, so we add in a loop.
Stack and Subroutines
Stack Pointer in 8085
- A 16-bit register
- Follows LIFO
- Important for PUSH, POP, CALL, RET instructions
Subroutine
A small block of code used repeatedly.
Example:
CALL 2000H
...
RET
Memory Interfacing in Microprocessor 8085
To connect RAM/ROM to the microprocessor, you must understand:
Key Signals Used in Memory Interfacing:
- RD’ → Read
- WR’ → Write
- IO/M’ → Select I/O or Memory
- ALE → Latch lower address
Memory Mapping Steps:
- Decide memory size
- Assign address range
- Connect address lines
- Connect control signals
- Test with instructions
I/O Interfacing in Microprocessor 8085
The microprocessor communicates with external devices using:
Two types of I/O addressing:
- Isolated I/O (IN, OUT instructions)
- Memory-mapped I/O
Common Interfacing ICs Used:
- 8255 PPI
- 8253 Timer
- 8279 Keyboard/Display
- 8251 USART
Difference Between 8085 and 8086
Here is the simplest interview-style comparison:
| Feature | 8085 | 8086 |
|---|---|---|
| Data Bus | 8-bit | 16-bit |
| Address Bus | 16-bit | 20-bit |
| Memory | 64 KB | 1 MB |
| Supply Voltage | +5V | +5V |
| Instructions | 246 | 256+ |
| Year | 1977 | 1978 |
Applications of Microprocessor 8085
The application of microprocessor 8085 includes:
- Traffic light control
- Washing machines (old models)
- Measurement systems
- Stepper motor control
- Data acquisition
- Simple embedded projects
- Educational use
Advantages and Disadvantages of Microprocessor 8085
Advantages
- Simple architecture
- Easy to program
- Requires only +5V
- Beginner-friendly
- Cost-effective
Disadvantages
- Limited memory (64KB)
- No multiplication/division instruction
- Slow compared to modern processors
- No pipeline
8085 Flag Register
The Flag Register in 8085 is an 8-bit special purpose register that indicates the status of the ALU operation. Out of 8 bits, five are active flags and the remaining are unused.
Active Flags
| Flag | Meaning | When it is SET |
|---|---|---|
| S – Sign Flag | Indicates sign of result | Result MSB = 1 (negative) |
| Z – Zero Flag | Result becomes zero | Result = 0 |
| AC – Auxiliary Carry | BCD operations | Carry from bit 3 → bit 4 |
| P – Parity Flag | Even/Odd parity | Even number of 1s |
| CY – Carry Flag | Borrow/Carry | Carry out from D7 |
Understanding with Example
Instruction: MVI A, 0xFF then ADI 0x01
- Result =
00 - Z flag = 1
- CY flag = 1
- P flag = 1
- S flag = 0
This is classic interview question material!
8085 Timing Diagrams
What is a Timing Diagram?
It’s a visual representation of how control signals change during instruction execution.
Why Important?
8085 is used heavily in interviews because timing diagrams show:
- T-states
- Machine cycles
- Instruction cycles
- Memory Read/Write behavior
Example : Opcode Fetch Cycle
| Signals | Description |
|---|---|
| ALE | High → Low (latches address) |
| RD | Low during reading |
| IO/M | Low (means memory access) |
| Address Bus | Puts PC address |
| Data Bus | Receives Opcode |
Example : Memory Read Timing
- T1: Address from PC is put on bus
- T2: RD = 0
- T3: Data from memory placed on data bus
These diagrams show hardware-level understanding very useful in embedded interviews.
Interrupt System of 8085 (Full Breakdown)
8085 has 5 hardware interrupts:
| Interrupt | Type | Vector Address | Priority |
|---|---|---|---|
| TRAP | Non-maskable | 0024H | Highest |
| RST 7.5 | Maskable | 003CH | 2nd |
| RST 6.5 | Maskable | 0034H | 3rd |
| RST 5.5 | Maskable | 002CH | 4th |
| INTR | Maskable | External | Lowest |
TRAP
- Cannot be disabled
- Edge + level triggered
- Used in emergency situations
RST 7.5
- Highest priority maskable interrupt
- Edge-triggered
- Must be acknowledged
RST 6.5 & 5.5
- Level-triggered
- Medium priority
INTR
- Completely programmable
- Requires INTA cycle for vector
This table is gold for interviews.
Interrupt Enable/Disable Instructions
| Instruction | Purpose |
|---|---|
| EI | Enable all maskable interrupts |
| DI | Disable all maskable interrupts |
| SIM | Set Interrupt Mask |
| RIM | Read Interrupt Mask |
Example:
EI ; enable interrupts
MVI A, 0x20
SIM ; mask RST 5.5
Serial Communication in 8085 (SID & SOD)
8085 has simple 1-bit serial I/O pins:
SID : Serial Input Data
Reads one bit at a time.
SOD : Serial Output Data
Writes one bit at a time.
Used with SIM/RIM.
Example:
MVI A, 01H
SIM ; send 1 bit through SOD
Though old, this concept is foundational for UART learning.
Addressing Modes (Expert Level)
8085 supports five addressing modes:
| Mode | Example | Meaning |
|---|---|---|
| Immediate | MVI A, 32H | Data is inside the instruction |
| Register | MOV A, B | Data in CPU register |
| Direct | LDA 2050H | Access memory by address |
| Indirect | MOV A, M | Use HL as pointer |
| Implied | CMA | Operation already known |
Why important?
Interviewers ask to convert C code to 8085 assembly → you must choose correct addressing mode.
8085 Instruction Set
Data Transfer Instructions
MOV, MVI, LXI, LDA, STA, LDAX, STAX
Arithmetic Instructions
ADD, ADI, SUB, INR, DCR, INX, DCX
Logical Instructions
ANA, ORA, XRA, CMA, RLC, RRC
Branch Instructions
JMP, JZ, JNZ, JC, JNC, CALL, RET
Machine Control
HLT, EI, DI, NOP, SIM, RIM
Each group serves different use cases — an easy way to remember.
8085 Memory Organization
8085 can address:
- 64 KB of memory total
- Separate I/O address space (256 bytes)
Memory Map Example:
| Range | Use |
|---|---|
| 0000H–0FFFH | Monitor Program (ROM) |
| 1000H–7FFFH | RAM |
| 8000H–FFFFH | User Program |
Useful for designing embedded boards.
8085 Assembly Language Programs (With Explanation)
Program 1 : Add Two Numbers
MVI A, 25H
MVI B, 30H
ADD B
STA 3000H
HLT
Output: 55H stored at 3000H.
Program 2 : Find Largest Number in Array
LXI H, 2050H
MOV C, M
INX H
DCR C
MOV A, M
LOOP: INX H
CMP M
JNC NEXT
MOV A, M
NEXT: DCR C
JNZ LOOP
STA 3000H
HLT
Program 3 : BCD to Binary Conversion
Used in industrial control applications.
MVI A, 45H
ANI 0FH
MOV B, A
MVI A, 45H
ANI F0H
RRC
RRC
RRC
RRC
MVI C, 0AH
MUL: DCR C
JNZ MUL
ADD B
HLT
8085-Based System Design (Practical Guide)
Components you can interface:
- RAM (6264)
- ROM (2764)
- 8255 (Parallel Port)
- 8279 (Keyboard/Display Controller)
- 8251 (USART)
- 8253 (Timer)
Steps in System Design
- Decide memory map
- Connect address/data bus
- Use 74LS373 latch for lower address
- Connect ALE → latch
- Use RD, WR, IO/M for decoding
- Use address decoder (74LS138)
- Interface peripherals
This is real embedded hardware knowledge.
Microprocessor 8085 Interview Questions
BEGINNER LEVEL 8085 INTERVIEW QUESTIONS
- What is a microprocessor?
- What is the 8085 microprocessor?
- Why is it called 8085?
- How many pins are available in 8085?
- What is the clock frequency of 8085?
- How many address lines does 8085 have?
- How many data lines are in 8085?
- What is the size of the data bus of 8085?
- Name all general-purpose registers in 8085.
- What is the accumulator in 8085?
- What is the Program Counter (PC)?
- What is the Stack Pointer (SP)?
- What is the Flag Register in 8085?
- Name all the flags in 8085.
- What is the purpose of ALE (Address Latch Enable)?
- What is the READY pin used for?
- What is the HOLD signal used for?
- What are SID and SOD pins?
- What is the function of IO/M̅?
- What is the purpose of the RESET IN pin?
INTERMEDIATE LEVEL 8085 INTERVIEW QUESTIONS
- Draw and explain the architecture of 8085.
- What is a multiplexed address/data bus?
- Why are AD0–AD7 multiplexed in 8085?
- What is a machine cycle?
- What is a T-state?
- Explain the opcode fetch cycle.
- List all interrupt pins in 8085.
- Which interrupt has the highest priority?
- Which interrupt is non-maskable?
- What is the difference between INTR and INTA?
- What is SIM instruction?
- What is RIM instruction?
- What are the different addressing modes in 8085?
- What is the function of HL pair?
- What are the types of instructions in 8085?
- What is the difference between CALL and RET?
- What is the difference between JMP and JNZ?
- What is the role of SP during PUSH and POP?
- What is the purpose of the stack?
- How many types of instruction lengths are in 8085?
- What is the purpose of X1 and X2 pins?
- What is meant by vector address?
- What is the difference between IO-mapped and memory-mapped I/O?
- What is the difference between MOV M, A and MOV A, M?
- What is the function of RST instructions?
- What are software interrupts?
- What is the difference between EI and DI?
- What is the purpose of the HOLD and HLDA signals?
- Explain the READY signal in interfacing.
- What are wait states?
ADVANCED LEVEL 8085 INTERVIEW QUESTIONS
- What is the full interrupt priority structure of 8085?
- What is TRAP and how does it work?
- What is the difference between edge-triggered and level-triggered interrupts?
- Explain instruction pipelining in 8085.
- What are vectored interrupts?
- What is bus contention?
- What is bus idle state?
- Explain the timing diagram of memory read cycle.
- Explain the timing diagram of memory write cycle.
- Explain the timing diagram of I/O read cycle.
- Explain the timing diagram of I/O write cycle.
- What is the purpose of the control signals RD̅ and WR̅?
- What is the difference between STC and CMC?
- What is the role of the ALU in 8085?
- What is the function of the internal clock generator?
- Explain the function of RESET OUT.
- What is the serial communication capability of 8085?
- How is the stack implemented in 8085?
- What is the difference between RAL and RAR?
- What is the difference between CMA and CMC?
- Explain the flags affected during arithmetic instructions.
- How does a conditional jump work internally?
- What is meant by branching delay?
- What is the function of DAD instruction?
- What is program memory and data memory in 8085 context?
EXPERT LEVEL 8085 INTERVIEW QUESTIONS
- How does 8085 support interrupt masking?
- How does RST 7.5 differ from RST 6.5 and RST 5.5?
- How is memory mapped in 8085?
- How does 8085 communicate with peripheral chips?
- Explain the hardware required to interface RAM with 8085.
- How does 8085 store 16-bit data using an 8-bit bus?
- Explain 8085 bus cycles in detail.
- What is memory segmentation in 8085?
- Describe the operation of the HOLD signal in DMA.
- How is data transferred using DMA with 8085?
- Describe the internal data flow of 8085 during an addition operation.
- Explain how subroutine nesting works in 8085.
- What are the advantages of vectored interrupts over polling?
- How does 8085 differentiate between memory and I/O operations?
- Explain the purpose of interrupt vector table.
- How does 8085 fetch 3-byte instructions?
- What is the use of PSW (Program Status Word)?
- What is an instruction cycle and how is it composed?
- Explain the difference between logical, arithmetic, and branching instructions.
- What is the purpose of the accumulator during logical operations?
- How does a carry propagate in multi-byte addition?
- What is the role of temporary registers inside 8085?
- Explain the concept of stack overflow and underflow in 8085.
- How is memory decoding done for 8085?
- Explain the complete 8085 reset sequence.
8085 Coding/Programming Interview Questions
BEGINNER-LEVEL 8085 CODING QUESTIONS
- Write an 8085 program to add two 8-bit numbers.
- Write an 8085 program to subtract two 8-bit numbers.
- Write an 8085 program to add two 16-bit numbers.
- Write an 8085 program to find 1’s complement of a number.
- Write an 8085 program to find 2’s complement of a number.
- Write an 8085 program to move data from one memory location to another.
- Write an 8085 program to exchange the contents of H-L pair and D-E pair.
- Write a program to increment a number stored in memory.
- Write a program to decrement a number stored in memory.
- Write an 8085 program to clear the accumulator.
- Write a program to load immediate data into registers.
- Write an 8085 program to implement a delay loop.
- Write an 8085 program to copy a block of data from one location to another.
- Write an 8085 program to compare two numbers.
- Write a program to check if a number is positive or negative.
- Write a program to mask upper nibble of accumulator.
- Write a program to mask lower nibble of accumulator.
- Write an 8085 program to rotate accumulator left (RAL).
- Write an 8085 program to rotate accumulator right (RAR).
- Write a program to swap nibbles of accumulator.
INTERMEDIATE-LEVEL 8085 CODING QUESTIONS
- Write a program to find the largest number in an array.
- Write a program to find the smallest number in an array.
- Write a program to sort an array in ascending order.
- Write a program to sort an array in descending order.
- Write a program to count the number of positive numbers in an array.
- Write a program to count the number of negative numbers in an array.
- Write a program to reverse an array.
- Write a program to search for an element in an array (linear search).
- Write a program to calculate the sum of N numbers.
- Write a program to calculate the average of N numbers.
- Write an 8085 program to generate Fibonacci series.
- Write an 8085 program to check whether a number is even or odd.
- Write a program to multiply two 8-bit numbers (using repeated addition).
- Write a program to divide two 8-bit numbers (repeated subtraction).
- Write a program to convert BCD to binary.
- Write a program to convert binary to BCD.
- Write a program for binary to ASCII conversion.
- Write a program for ASCII to binary conversion.
- Write an 8085 program to find square of a number (lookup table).
- Write a program to implement left shift operation.
- Write a program to implement right shift operation.
- Write an 8085 program to count number of 1s in a binary number (bit count).
- Write a program to check palindrome number.
- Write a program to check if two numbers are equal.
- Write a program to transfer block of N bytes.
ADVANCED-LEVEL 8085 CODING QUESTIONS
- Write an 8085 program to multiply two 16-bit numbers.
- Write an 8085 program to divide a 16-bit number by an 8-bit number.
- Write an 8085 program to perform 16-bit subtraction with borrow.
- Write an 8085 program to perform 16-bit addition with carry.
- Write a program to find factorial of a number.
- Write an 8085 program to check for prime number.
- Write an 8085 program to generate prime numbers within a range.
- Write a program to find GCD of two numbers.
- Write a program to find LCM of two numbers.
- Write a program to generate delay of 1 second using loops.
- Write a program to generate square wave using SOD line.
- Write a program for keyboard interfacing using RIM/SIM.
- Write an 8085 program to interface 7-segment display.
- Write a program to display 0–9 continuously on 7-segment.
- Write a program to interface 8255 PPI with 8085.
- Write a program to read a byte from port A and output it to port B.
- Write a program to control LEDs connected to 8255.
- Write a program to scan a matrix keypad using 8255.
- Write a program to read analog value through 8251 USART.
- Write a program to generate waveform on DAC using 8085.
- Write a program to perform block transfer using DMA.
- Write a program to store data at consecutive memory locations until 00H is found.
- Write an 8085 program to implement binary search.
- Write an 8085 program to convert 2-digit hex to decimal.
- Write a program to test specific bits of a number.
EXPERT-LEVEL 8085 CODING QUESTIONS
- Write an 8085 program to perform floating-point addition.
- Write an 8085 program to perform floating-point multiplication.
- Write a program to implement software delay with precise calculation.
- Write a program to simulate stack operations using memory.
- Write a program to implement queue data structure in 8085.
- Write a program to implement stack data structure in 8085.
- Write an 8085 program to evaluate an arithmetic expression.
- Write an 8085 program to implement CRC calculation.
- Write an 8085 program to compute checksum of a data block.
- Write a program to encrypt data using XOR key.
- Write a program to decrypt XOR-encrypted data.
- Write a program to calculate 16-bit checksum (Internet checksum style).
- Write an 8085 routine to handle TRAP interrupt.
- Write a program to create custom software interrupt using RST instruction.
- Write a program to interface ADC0808 with 8085.
- Write a program to read temperature sensor data using ADC.
- Write a program for real-time clock simulation.
- Write an 8085 program to implement PWM using delay loops.
- Write a program to detect key debounce in keyboard input.
- Write an 8085 bootloader (memory copy from ROM to RAM).
- Write a program for bubble sort on 16-bit numbers.
- Write a program for insertion sort on 16-bit numbers.
- Write a program for quick sort using recursion (stack-based).
- Write a program to simulate UART transmission.
- Write a program to simulate UART reception.
- Write a program to generate a ramp waveform using DAC.
- Write a program to generate a sine wave using lookup table.
- Write a program to compute square root of a number.
- Write a recursive program for Fibonacci series.
- Write an 8085 interrupt-driven data acquisition program.
Microprocessor 8085 FAQ
What is a Microprocessor 8085?
The Microprocessor 8085 is an 8-bit microprocessor developed by Intel. It can perform arithmetic, logical, and control operations, making it the heart of many early computer and embedded systems. It is widely used in academics because of its simple architecture and easy instruction set.
Why is it called 8085?
The name 8085 comes from Intel’s naming pattern:
80 → Microprocessor family
85 → Version or model number
It also supports instructions similar to its predecessor 8080, but with improvements.
What is the clock speed of 8085?
The 8085 microprocessor uses a 6 MHz crystal, but the internal clock frequency becomes 3 MHz due to divide-by-2 circuitry.
This speed controls how fast instructions are executed.
What is the size of the data bus in 8085?
8085 has an 8-bit data bus, meaning it can process 8 bits of data at a time.
This is why it is known as an 8-bit microprocessor.
How many address lines are in the 8085 microprocessor?
8085 has 16 address lines (A0–A15).
This allows it to access 2¹⁶ = 64 KB of memory, which includes RAM and ROM space.
What are the main registers in 8085?
The primary registers of 8085 include:
Accumulator (A)
B, C
D, E
H, L
Program Counter (PC)
Stack Pointer (SP)
Flag Register
These registers store temporary data and addresses during program execution.
What is the role of the Accumulator (A register)?
The Accumulator is the most important register in 8085.
It stores data for arithmetic and logical operations and holds the final output of many instructions.
What are flags in the 8085 microprocessor?
Flags are status indicators that change after every arithmetic or logical operation.
The five important flags are:
Sign Flag (S)
Zero Flag (Z)
Auxiliary Carry (AC)
Parity Flag (P)
Carry Flag (CY)
These help in decision-making instructions like JZ, JC, JNZ etc.
What are interrupts in 8085?
Interrupts temporarily pause the main program to execute an urgent task.
8085 supports five hardware interrupts:
TRAP (highest priority, non-maskable)
RST 7.5
RST 6.5
RST 5.5
INTR
Interrupts improve real-time system performance.
What is the difference between 8285 and 8085?
Nothing there is no 8285 microprocessor.
The correct Intel microprocessors in the family are 8080, 8085, 8086, 8088 etc.
Many beginners confuse the names.
What is the significance of ALE (Address Latch Enable)?
ALE is used to demultiplex the lower 8 bits of the address and data bus.
Since AD0–AD7 are multiplexed, ALE helps separate address and data during bus operations.
What programming language is used in 8085?
8085 uses Assembly Language, which consists of:
Mnemonics (MOV, MVI, ADD, SUB, JMP)
Operands (data/register/memory)
Higher-level languages do not directly run on 8085.
What is the maximum memory 8085 can access?
8085 can access a total of 64 KB of memory due to its 16-bit address bus.
This memory is divided into:
ROM
RAM
I/O memory (in I/O-mapped mode)
Why is 8085 still taught today?
8085 is still widely taught because:
The architecture is simple and easy to understand
Excellent for learning registers, memory, opcodes, and addressing modes
Helps students understand the fundamentals of microprocessors
Ideal for academic labs and learning assembly language
When it comes to mastering ESP microcontrollers, developers often struggle to find a single place where everything—from basics to advanced real-world projects—is explained clearly.
That’s why resources like Embedded Prep Master have become extremely valuable for students, embedded engineers, and hobbyists.
One of the best guides available today is:
Complete ESP Tutorials (Beginner to Advanced) : ESP32 Tutorials
This guide is a complete gateway for anyone who wants to learn ESP32, ESP8266, IoT development, sensor interfacing, Wi-Fi programming, and real embedded-system projects.
Mr. Raj Kumar is a highly experienced Technical Content Engineer with 7 years of dedicated expertise in the intricate field of embedded systems. At Embedded Prep, Raj is at the forefront of creating and curating high-quality technical content designed to educate and empower aspiring and seasoned professionals in the embedded domain.
Throughout his career, Raj has honed a unique skill set that bridges the gap between deep technical understanding and effective communication. His work encompasses a wide range of educational materials, including in-depth tutorials, practical guides, course modules, and insightful articles focused on embedded hardware and software solutions. He possesses a strong grasp of embedded architectures, microcontrollers, real-time operating systems (RTOS), firmware development, and various communication protocols relevant to the embedded industry.
Raj is adept at collaborating closely with subject matter experts, engineers, and instructional designers to ensure the accuracy, completeness, and pedagogical effectiveness of the content. His meticulous attention to detail and commitment to clarity are instrumental in transforming complex embedded concepts into easily digestible and engaging learning experiences. At Embedded Prep, he plays a crucial role in building a robust knowledge base that helps learners master the complexities of embedded technologies.













