In 8086, the jump condition for the instruction JNBE is?

2013

In 8086, the jump condition for the instruction JNBE is?

  1. A.

    CF = 0 or ZF = 0

  2. B.

    ZF = 0 and SF = 1

  3. C.

    CF = 0 and ZF = 0

  4. D.

    CF = 0

Attempted by 97 students.

Show answer & explanation

Correct answer: C

The instruction JNBE stands for Jump if Not Below or Equal in 8086 assembly. The condition for the complementary instruction JBE (Below or Equal) is triggered when CF = 1 OR ZF = 1. Consequently, the inverse condition for JNBE requires both flags to be clear simultaneously, meaning CF = 0 AND ZF = 0.

Explore the full course: Isro