Branching
Lecture 8: Branching
261 Questions205 MCQs51 Short Questions5 Long Questions
Showing 21 – 30 of 261 Questions
Page 3 of 27
Q21❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
Which conditional jump is taken if the last arithmetic operation produced a result in its destination operand that has even parity (an even number of set 1-bits)?
Q22❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
When a larger number is subtracted from a smaller number during unsigned subtraction, a borrow is required. Which status flag will be set?
Q23❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In x86 assembly language, a FAR JUMP instruction is position relative. (True/False)
Q24❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
Which x86 stack instruction transfers the 16-bit word from the current top of the stack (addressed by SS:SP) into the destination operand and then increments the Stack Pointer (SP) by 2?
Q25❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In x86 assembly language, a NEAR jump allows branching to any target offset location anywhere within the current code segment. (True/False)
Q26❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
The RET instruction does NOT pop the word at the top of the stack into the Instruction Pointer (IP), but merely increments SP by 2. (True/False)
Q27❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
The operations of placing items onto the stack and removing them from the stack are called PUSH and RET. (True/False)
Q28❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
The operation of PUSH for the instruction `PUSH AX` executes as `SP <- SP + 2` followed by `[SP] <- AX`. (True/False)
Q29❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In standard C calling convention (cdecl), parameters pushed onto the stack for a subroutine call are cleared from the stack by the ________.
Q30❓ MCQ📑 Lec 3Easy🔁Repeated⭐High-Yield💡Conceptual
In x86 assembly language, what are the primary types of jump instructions available?