Subroutines
Lecture 13: Subroutines
222 Questions172 MCQs45 Short Questions5 Long Questions
Showing 141 – 150 of 222 Questions
Page 15 of 23
Q141📝 Short Q📑 Lec 5Hard🔁Repeated⭐High-Yield💡Conceptual🌟Starred
Define a local variable in computer programming and explain how local variables are dynamically allocated and deallocated on the assembly stack frame using SP and BP.
Q142❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
In 8088 architecture, which segment register is the Stack Pointer (SP) associated with by default for memory addressing?
Q143❓ MCQ📑 Lec 5Medium🔁Repeated⭐High-Yield💡Conceptual
Executing a Far Return instruction (RETF) pops the saved 16-bit code segment address into which segment register?
Q144❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The system stack in the 8088 architecture operates on element sizes of __________.
Q145❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
In 8088 real mode architecture, how is the physical memory address of the top of the stack calculated?
Q146❓ MCQ📑 Lec 5Medium🔁Repeated⭐High-Yield💡Conceptual
When executing a Far Return instruction (RETF), into which register is the 16-bit offset popped first off the stack?
Q147❓ MCQ📑 Lec 5Hard🔁Repeated⭐High-Yield💡Conceptual
What is the net effect on the Stack Pointer (SP) after executing the instruction 'RET 2' in an 8088 subroutine?
Q148❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
In the 8088 16-bit architecture, how is the Stack Pointer (SP) updated whenever a PUSH operation is performed?
Q149❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
When a subroutine finishes execution, which instruction retrieves the return address from the stack and transfers control back to that caller address?
Q150❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
The Stack Pointer (SP) is a memory pointer register that is used indirectly by a set of stack __________.