Subroutines
Lecture 13: Subroutines
222 Questions172 MCQs45 Short Questions5 Long Questions
Showing 111 – 120 of 222 Questions
Page 12 of 23
Q111❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
To access arguments passed on the stack inside a subroutine, the immediate or naive idea that comes to mind is to __________ them off the stack.
Q112❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
When executing the assembly instruction `push bp`, what operation is being performed?
Q113❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
In computer programming and assembly language, 'local variables' refer to temporary variables that are declared and used strictly within a __________.
Q114❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The `RETF` (Return Far) instruction restores program execution by popping the offset address into register `IP` and the segment address into which segment register?
Q115❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
By default, the Stack Pointer (`SP`) register is associated with which segment register?
Q116❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The `RETF` (Return Far) instruction pops the 16-bit target instruction offset into which register?
Q117❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
After the execution of the near return instruction `RET 2`, what is the total change applied to the Stack Pointer (`SP`)?
Q118❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
In 8088 architecture, whenever an element is pushed onto the stack, how is the Stack Pointer (`SP`) modified?
Q119📝 Short Q📑 Lec 5Medium⭐High-Yield💡Conceptual
Explain the concept of Incrementing and Decrementing Stack operations in x86 microprocessor architecture.
Q120📝 Short Q📑 Lec 5Easy⭐High-Yield💡Conceptual
Can single 8-bit bytes be directly pushed onto or popped off the stack in Intel 8088 assembly language? Explain the stack element size constraint.