📑 CHAPTER PRACTICE
CS401 - Computer Architecture and Assembly Language Programming – Subroutines
Practice 10 verified multiple choice questions per batch with instant answer reveal and comprehensive solutions.
Showing 41 – 50 of 222 Questions
Page 5 of 23
Q41❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Executing `POP` transfers the word at the top of the stack (pointed to by SP) to the destination operand and then __________ SP by two to point to the new top of the stack.
Q42❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Which x86 assembly instruction decrements SP (the Stack Pointer) by two and then transfers a word from the source operand to the top of the stack?
Q43❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The `POP` operation copies the 16-bit word from the current top of the stack into its specified __________.
Q44❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
When the stack becomes full and pushing data past offset 0x0000 causes SP to wrap around and overwrite existing stack frame data, this situation is called stack __________.
Q45❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
True or False: When the stack eventually becomes full in 16-bit x86 architecture, the Stack Pointer (SP) will reach 0x0000, and subsequent PUSH operations will wrap around to 0xFFFE, producing stack overflow and unexpected memory corruption.
Q46❓ MCQ📑 Lec 5Medium🔁Repeated⭐High-Yield💡Conceptual
If the __________ instruction variant is not available, callee-side stack parameter cleanup becomes a complicated multi-step process.
Q47❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
A stack is a fundamental __________ that operates in a Last-In, First-Out (LIFO / FILO) manner.
Q48❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The `CALL` instruction alters the normal thread of execution while preserving general-purpose registers, automatically updating which pointer register to the target address?
Q49❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Which pair of instructions are commonly used together to invoke and return from subroutines, despite operating independently at the hardware level?
Q50❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
When the __________ instruction is executed inside a subroutine, it restores execution back to the instruction immediately following the initial `CALL`.