Branching
Lecture 8: Branching
261 Questions205 MCQs51 Short Questions5 Long Questions
Showing 241 – 250 of 261 Questions
Page 25 of 27
Q241❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
Which conditional jump instruction is taken if the last arithmetic operation produced a zero in its destination, or after CMP if both operands were equal?
Q242📝 Short Q📑 Lec 3Easy⭐High-Yield💡Conceptual
How does the CMP (Compare) instruction operate in 8086 assembly language, and how does it update processor status flags compared to the SUB instruction?
Q243📝 Short Q📑 Lec 3Medium⭐High-Yield💡Conceptual
Explain the operational logic of the JNE (Jump if Not Equal) / JNZ (Jump if Not Zero) conditional branch instruction and its reliance on the Zero Flag (ZF).
Q244📝 Short Q📑 Lec 3Easy⭐High-Yield💡Conceptual
What is the JNZ (Jump if Not Zero) instruction in 8086 assembly language, and how does its execution depend on the status of the Zero Flag (ZF)?
Q245📝 Short Q📑 Lec 3Medium⭐High-Yield💡Conceptual
How are comparison operations and conditional branching used in assembly language to emulate high-level relational and boolean control logic?
Q246📝 Short Q📑 Lec 3Easy⭐High-Yield💡Conceptual
How does the CMP (Compare) instruction function in 8086 assembly language, and why is it described as a non-destructive subtraction operation?
Q247📝 Short Q📑 Lec 3Medium⭐High-Yield💡Conceptual
Explain how the Carry Flag (CF), Zero Flag (ZF), Sign Flag (SF), and Overflow Flag (OF) reflect relations between operands during a CMP operation.
Q248📝 Short Q📑 Lec 3Medium⭐High-Yield💡Conceptual
What is the key difference between conditional jump instructions used for signed comparisons (JG/JL) and unsigned comparisons (JA/JB) in x86 assembly?
Q249📝 Short Q📑 Lec 3Easy⭐High-Yield💡Conceptual
How do JZ (Jump if Zero) and JNZ (Jump if Not Zero) conditional jump instructions operate following a CMP operation?
Q250📝 Short Q📑 Lec 3Medium⭐High-Yield💡Conceptual
Why does Intel assembly language provide instruction aliases (synonyms) such as JE/JZ, JNE/JNZ, and JB/JNAE/JC, and how do they map to machine code opcodes and status flags?