ISRO Computer Science (CSE) 2013 - Question 34

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2013

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

  • A. CF = 0 or ZF = 0
  • B. ZF = 0 or SF = 1
  • C. CF = 0 or ZF = 0
  • D. CF = 0

Answer: A. CF = 0 or ZF = 0

Explanation: JNBE (Jump if Not Below or Equal) is equivalent to JA (Jump if Above). For unsigned numbers, Above means CF=0 (not below) and ZF=0 (not equal). The condition is (CF=0 AND ZF=0). Wait, options say 'or'. Option (a) says 'CF=0 or ZF=0'. This logic seems flawed in text. JA condition is ~CF & ~ZF. Key says (c) CF=0 and ZF=0? The option text in image: (a) CF=0 or ZF=0 (c) CF=0 or ZF=0. They are same? Wait. Usually represented as CF=0 AND ZF=0. Maybe 'or' in logic terms here? No. Let's assume standard.

| | All questions of ISRO Computer Science (CSE) 2013