Branching
Lecture 8: Branching
261 Questions205 MCQs51 Short Questions5 Long Questions
Showing 11 – 20 of 261 Questions
Page 2 of 27
Q11❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
When a 32-bit number is divided by a 16-bit number in x86 assembly language (DIV instruction), the quotient is stored in a register of what size?
Q12🧠 Long Problem📑 Lec 3Medium🔁Repeated⭐High-Yield💡Conceptual
Given initial conditions AL = 11001011b (0xCB) and Carry Flag CF = 1, determine the resulting binary and hexadecimal contents of register AL after each of the following independent instructions is executed:
1. SHL AL, 1
2. SHR AL, 1
3. ROL AL, CL (where CL = 2)
4. SAR AL, CL (where CL = 2)
5. RCR AL, CL (where CL = 3)
Q13❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In x86 assembly language, the signed arithmetic instructions IMUL (Signed Multiply) and IDIV (Signed Divide) operate on numbers represented in which numeric format?
Q14❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
To reserve or initialize 8 bits (1 byte) of memory in assembly language, which directive is used?
Q15❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In 8088/x86 assembly language, an unconditional jump (JMP) instruction can be of which type(s)?
Q16❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
The operation of the CMP (Compare) instruction is to internally subtract the source operand from the destination operand and update the status flags without altering either operand. (True/False)
Q17❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
An unconditional jump (JMP) instruction ________.
Q18❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In x86 assembly, a JA (Jump if Above) jump is NOT taken after a CMP instruction if the unsigned destination operand is larger than the unsigned source operand. (True/False)
Q19❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
When a larger number is subtracted from a smaller number during an unsigned subtraction operation, a borrow is required. Which flag is set in this condition?
Q20❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
Which conditional jump instruction executes if the last signed arithmetic operation unexpectedly changed the sign bit due to an overflow?