How many traditional parameter passing calling conventions (C calling convention and Pascal calling convention) are primarily recognized in assembly programming?
Ch 05: Subroutines and Stack Architecture
Examines stack memory allocation, downward growth of the stack, return address pushing, caller vs callee register preservation, and avoiding stack misalignment bugs.
222 Questions222 MCQs0 Short Questions0 Long Questions
SEMESTER PASS
CS401 - Computer Architecture and Assembly Language Programming Examination Practice
Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.
Showing 161 โ 170 of 222 Questions
Page 17 of 23
When executing a 'RETF' (Return Far) instruction, into which register is the 16-bit target offset popped first from the stack?
After the execution of the near instruction 'RET 2', by how many bytes is the Stack Pointer (SP) incremented in total?
In 8088 architecture, whenever an element is pushed onto the system stack using a PUSH instruction, how is the Stack Pointer (SP) modified?
In 8088 real mode architecture, the system stack operates strictly on elements of what data size?
How many prevalent traditional parameter passing calling conventions (C calling convention and Pascal calling convention) exist in assembly programming?
When a subroutine finishes execution, which instruction retrieves the saved return address from the stack and transfers control back to the caller?
The Stack Pointer (SP) is a memory pointer register that is manipulated implicitly by a specific set of stack-related __________.
Besides the Stack Pointer (SP), which base register functions as a frame memory pointer to access parameters and local variables inside the stack segment?
How many optional immediate parameter arguments can the RET (Return from Subroutine) instruction accept for stack cleanup?