📑 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 31 – 40 of 222 Questions
Page 4 of 23
Q31📝 Short Q📑 Lec 5Medium⭐High-Yield💡Conceptual
Discuss the relationship between the subroutine instructions `CALL` and `RET` regarding whether they operate as hardware-dependent or independent operations.
Q32❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
True or False: Executing the instruction `PUSH` increments the Stack Pointer (`SP`) by two before transferring a word to the top of the stack.
Q33❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
__________ is also a stack memory base pointer register containing the address of arguments and local variables inside the stack segment.
Q34❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The Stack Pointer register (SP) is a memory pointer that is used implicitly/indirectly by a specific set of __________ (such as `PUSH`, `POP`, `CALL`, and `RET`).
Q35❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The Stack Pointer (SP) is a specialized memory pointer register that implicitly points to the __________.
Q36❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The `CALL` instruction takes a target memory label as an __________ and begins execution from that target location.
Q37❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The __________ instruction allows temporary control flow diversion to a subroutine, enabling code reusability.
Q38❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
In standard stack frame creation, executing `push bp` performs which action?
Q39❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
When parameters are passed to a subroutine on the stack, the straightforward method to retrieve them inside the subroutine is to __________ them off the stack.
Q40❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
To preserve register values across subroutine calls, the standard technique is to use __________ and __________ operations to save caller registers on the stack and restore them before returning.