GovtExamKit

₹0, forever · No signup · Works offline

8085 Microprocessor

The Intel 8085 is the 8-bit microprocessor taught in diploma courses: 8-bit data bus, 16-bit address bus (64 KB), registers A, B, C, D, E, H, L, SP and PC, five flags, five hardware interrupts and about 74 instructions. Exams ask the architecture, instruction lengths, addressing modes, interrupts and support chips.

Mock: test yourself →

What should you know about 8085 Microprocessor?

  • direct addressing: Direct: the address is in the instruction. Immediate: the data is in the instruction (MVI). Register indirect: HL holds the address (MOV A, M).
  • 0024H: Vector = restart number × 8: TRAP (RST 4.5) 0024H, RST 5.5 002CH, RST 6.5 0034H, RST 7.5 003CH.
  • two-byte: Opcode + 8-bit data = 2 bytes. MOV A, B is 1 byte; LDA 2050H, STA and JMP are 3 bytes (opcode + 16-bit address).
  • programmable interrupt controller: One 8259 handles 8 interrupt sources with priorities; cascaded units handle up to 64.

Which formulas and rules are used in 8085 Microprocessor?

capacity = 2ⁿ bytes

e.g. n address lines

last address = start + size − 1

e.g. memory map

vector = RST number × 8

e.g. restart addresses (TRAP = 0024H)

What are the shortcuts for 8085 Microprocessor questions?

  1. Interrupt priority: TRAP > RST 7.5 > 6.5 > 5.5 > INTR; only TRAP is non-maskable.
  2. Instruction length: register-only 1 byte, with 8-bit data 2 bytes, with a 16-bit address or data 3 bytes.
  3. Support chips: 8255 PPI, 8253/54 timer, 8259 PIC, 8257 DMA, 8251 USART, 8279 keyboard.
  4. The three wrong options are always of the same kind as the answer (four Articles, four years, four names). Recall one firm fact about each option and strike out the ones you are sure of.

How do you solve 8085 Microprocessor questions? Worked examples

Example 1

How many flags does the 8085 flag register have?
Options: 4; 5; 6; 8

Solution

Sign (S), Zero (Z), Auxiliary carry (AC), Parity (P) and Carry (CY); the other 3 bits are unused.

Answer: 5

Example 2

The register pair used as a memory pointer in most 8085 programs is:
Options: BC; DE; HL; PSW

Solution

HL is the default memory pointer (M = memory at HL); BC and DE can also hold addresses for LDAX and STAX.

Answer: HL

Example 3

How much memory (KB) can the 8085 address with its 16 address lines?

Solution

  1. 2¹⁶ = 65,536 locations of one byte each.
  2. 65,536 ÷ 1024 = 64 KB.

Answer: 64 KB

What mistakes should you avoid in 8085 Microprocessor?

  • M in MOV A, M is the memory byte at HL, not a register.
  • PUSH lowers SP by 2, not 1: the stack grows downward.
  • Read the question word carefully: NOT, FIRST, LAST, "correct" and "incorrect" turn the answer around.

Sources: Intel 8085AH 8-bit HMOS Microprocessor data sheet; R. S. Gaonkar, Microprocessor Architecture, Programming and Applications with the 8085 - textbook fact

8085 Microprocessor question book: practice each sub-topic

  1. 8085 Microprocessor

Question book · 1 chapters

8085 Microprocessor

Chapter 1 · 8085 MicroprocessorQuestion 1 / 1000

The 8085 stack pointer holds 2400H. What does it hold after 2 PUSH instructions?

Solution

  1. Each PUSH stores two bytes and lowers SP by 2
  2. SP = 2400H − 4 = 23FCH

Answer: 23FCH

1

Open the book to turn the pages: every question with its answer and full solution.

Ready? Take a mock: fresh questions every time, each with a step-by-step solution.

← All Learn topics