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

In an 8085 microprocessor, the instruction CMP B has been executed while the contents of accumulator is less than that of register B. As a result, carry flag and zero flag will be respectively -

The correct answer is

Set, reset

The CMP r instruction in the 8085 microprocessor is used to compare the content of the Accumulator with the content of the specified register 'r' (in this case, Register B). The Zero flag (Z) is reset (0) because the result is not zero. The Zero flag (Z) is reset (0) because A - B is not equal to zero. Therefore, the correct answer is Set, reset.

Was this answer helpful?

Important Questions from Instruction Set of 8085

  1. Calculate the time required to execute the entire instruction cycle if two machine codes, 0011 1110 and 0011 0010, are stored in memory locations 2000H and 2001H, respectively.

    If the clock frequency is 2 MHz, the first machine code represents opcode to load data byte in the accumulator and the second code represents data to be loaded in the accumulator.

  2. Following instruction is executed in 8085, LDB 4000H

    Identify the correct statement.

  3. In 8085A microprocessor, the operation performed by the instruction LHLD 2100H is

  4. __________ address instruction is supplied to the microprocessor by an external device for INTR signal acknowledgement.

  5. A fetch cycle is the

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