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

The execution of ORI instruction requires

The correct answer is
2 M-cycles and 7 T-states

ORI Instruction Execution Timing

The execution time of a microprocessor instruction is measured in Machine Cycles (M-cycles) and Timing States (T-states).

  • M-cycle: Represents a set of operations required to fetch and execute an instruction part.
  • T-state: Represents one clock cycle, the basic time unit for microprocessor operations. One M-cycle consists of multiple T-states.

ORI Instruction Execution Breakdown

The $ORI$ (OR Immediate) instruction in processors like the 8085 typically involves the following steps:

  • Opcode Fetch: The processor fetches the $ORI$ instruction's opcode from memory. This usually takes 1 M-cycle and 4 T-states.
  • Operand Fetch & Execution: The processor fetches the immediate data byte from the next memory location and performs the logical OR operation between the data and the Accumulator's content. The result is stored back in the Accumulator. This takes 1 M-cycle and 3 T-states.

Total Execution Time

Combining the steps:

  • Total M-cycles = 1 (Opcode Fetch) + 1 (Operand Fetch & Execute) = 2 M-cycles.
  • Total T-states = 4 T-states (Opcode Fetch) + 3 T-states (Operand Fetch & Execute) = 7 T-states.

Therefore, the execution of the $ORI$ instruction requires 2 M-cycles and 7 T-states.

Was this answer helpful?

Important Questions from Instruction Set of 8085

  1. What is the function of the INTA’ signal in the 8085 microprocessor?

  2. In the 8085 microprocessor, what will be the value of the Program Counter after execution of the instruction RST 3?

  3. What does the instruction ORA B do in 8085?

  4. In the 8085 microprocessor, what does the instruction PCHL do?

  5. Which instruction is used to return from a subroutine in 8085?

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