In 8086, the jump condition for the instruction JNBE is?
2013
In 8086, the jump condition for the instruction JNBE is?
Answer: C. CF = 0 and ZF = 0 — 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…
- A.
CF = 0 or ZF = 0
- B.
ZF = 0 and SF = 1
- C.
CF = 0 and ZF = 0
- D.
CF = 0
Attempted by 334 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.
Loading lesson…