verified answers A+ rated
In a stack, the first value pushed on a stack is the last one to be removed. - correct answer ✔✔True
Stacks are known as FIFO (First In First Out) data structures. - correct answer ✔✔False
The runtime stack is managed by the processor using the EBP. - correct answer ✔✔False
The SS Stack Segment is associated with the ESP register. - correct answer ✔✔True
The EBP register points to the last value pushed on the runtime stack. - correct answer ✔✔False
The ESP register always points to the next available position (NAP) where a new value will be pushed on
the stack. - correct answer ✔✔False
The PUSH instruction copies a value from the stack to an operand before decrementing the stack pointer.
- correct answer ✔✔False
When a POP instruction executes, the ESP register is incremented after the value it points to is copied
from the stack. - correct answer ✔✔True
The RET instruction causes the hardware to put the return address pointed to by the ESP register on the
stack to the EIP. - correct answer ✔✔True
In 32-bit mode, immediate values pushed on the stack are always 32 bits long. - correct answer ✔✔True
The USES directive follows the PROC directive, all registers listed are saved and then restored before the
return. - correct answer ✔✔True
, The FPO Convention Model stands for Frame Pointer Overhead because it uses the ESP as the frame
pointer. - correct answer ✔✔False
In the 'C' (decl) Call Model, the called function (proc) is responsible for de-allocating (balancing) the stack
parameters. - correct answer ✔✔False
The StdCall Convention Model requires the calling function to not use local variables on the stack,
because it cannot know how to de-allocate those local stack variables. - correct answer ✔✔False
In the STD Call Model, the called function is responsible for balancing the stack before the RET. - correct
answer ✔✔True
A complete procedure definition occurring before an INVOKE directive serves as its own prototype. -
correct answer ✔✔True
Intel's CALL instruction, allows passing multiple arguments in the call statement. - correct answer
✔✔False
C++ passes to a function arguments on the stack in a left to right order. - correct answer ✔✔False
A Multimodule program is a program whose masm source code exists in separate ASM files that results
in separate object files. - correct answer ✔✔True
For all 3 of the Call Models on an Intel system, the EAX register is used to return to C++ the by function
name value. - correct answer ✔✔True
The letter S in the commands known as the string commands (MOVSX) actually stands for Sequence. -
correct answer ✔✔True
A sequence or string is a non-contigous area in memory. - correct answer ✔✔False