Subroutines
Lecture 13: Subroutines
222 Questions172 MCQs45 Short Questions5 Long Questions
Showing 151 – 160 of 222 Questions
Page 16 of 23
Q151❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Which 16-bit register acts as a memory pointer containing offset addresses within the special memory region called the stack?
Q152📝 Short Q📑 Lec 5Medium🔁Repeated⭐High-Yield💡Conceptual
How many optional arguments does the RET (Return) instruction accept, and what is the function of supplying an argument?
Q153📝 Short Q📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Describe the operational function and stack pointer updates that occur when executing a PUSH instruction.
Q154❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Which assembly instruction decrements the Stack Pointer (SP) by 2 and then transfers a word from the source operand to the top of the stack?
Q155❓ MCQ📑 Lec 5Medium🔁Repeated⭐High-Yield💡Conceptual
In 8088 assembly language subroutine programming, what is the maximum number of word parameters a subroutine can receive via registers when all general-purpose registers (AX, BX, CX, DX, SI, DI) are utilized?
Q156❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
Is the following statement true or false: 'The PUSH instruction increments SP (the Stack Pointer) by two and then transfers a word from the source operand to the top of the stack pointed to by SP'?
Q157❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
By default, how many mandatory operands does the RET (Return) instruction require to transfer execution control back from a subroutine to the caller?
Q158❓ MCQ📑 Lec 5Medium🔁Repeated⭐High-Yield💡Conceptual
In 8088 assembly language, what is the maximum number of word parameters a subroutine can receive directly through general-purpose CPU registers?
Q159❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
How is the physical memory address of the system stack constructed in 8088 segmented architecture?
Q160❓ MCQ📑 Lec 5Easy🔁Repeated⭐High-Yield💡Conceptual
After the execution of a standard near 'RET' (Return) instruction, how is the Stack Pointer (SP) register modified?