All Exams Test series for 1 year @ ₹349 only
Question

Which of the following 8085 microprocessor instructions occupies 3 bytes in memory?

The correct answer is

LDA 2000H

8085 Instruction Memory Occupancy

The question asks to identify the 8085 microprocessor instruction that occupies 3 bytes in memory. We need to determine the size of each instruction based on its opcode and operands.

Analyzing Instruction Sizes

The size of an 8085 instruction in bytes is determined by its opcode and the type of addressing mode used. Instructions using direct addressing or immediate data operands are generally larger than those using register addressing.

  • $MVI A, 45H$: This instruction loads the immediate hexadecimal value $45H$ into the Accumulator (register A). It requires one byte for the opcode ($MVI A$) and one byte for the immediate data ($45H$). Total size = 2 bytes.
  • $LDA 2000H$: This instruction loads the Accumulator with data from a specific memory location. It requires one byte for the opcode ($LDA$) and two bytes for the 16-bit memory address ($2000H$). Total size = 3 bytes. This instruction meets the criteria.
  • $ADD C$: This instruction adds the contents of register C to the Accumulator. It uses register addressing, which requires only one byte for the opcode ($ADD C$). Total size = 1 byte.
  • $INR B$: This instruction increments the value in register B. It also uses register addressing and requires only one byte for the opcode ($INR B$). Total size = 1 byte.

Determining the 3-Byte Instruction

By examining the byte allocation for each instruction:

  • $MVI A, 45H$ is 2 bytes.
  • $LDA 2000H$ is 3 bytes.
  • $ADD C$ is 1 byte.
  • $INR B$ is 1 byte.

Therefore, the $LDA 2000H$ instruction is the one that occupies 3 bytes in memory.

Was this answer helpful?

Important Questions from Microprocessors

  1. An 8086 address bus is a/an _____ -bit bus

  2. Match the columns.

    Pin

    Description

    a. D 0-D 7

    1. Reset Input

    b. RESET

    2. Data Lines

    c. A 0,A 1

    3. Internal Address

  3. An 8 bit microcontroller has an external RAM with the memory map from 8000 H to 9FFF H. How many number of bytes can this RAM store?

  4. In 8085 microprocessor, initially the number decimal 8 is stored. If instruction RAL is executed twice on this number, the final number stored will be

  5. In 8051, by default:

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App