Deck 5: Procedures-assessment

Full screen (f)
exit full mode
Question
The USES operator,coupled with the PROC directive,lets you list the names of all registers modified within a procedure..
Use Space or
up arrow
down arrow
to flip the card.
Question
When the POP instruction executes,the ESP register is incremented after the value it points to is copied from the stack.
Question
In a stack,the first value pushed on a stack is the last one to be removed.
Question
The EBP register points to the last value pushed on the runtime stack.
Question
The RandomRange procedure always produces a random integer between 0 and 0FFFFFFFFh
Question
The RET instruction pops the value pointed to by EBP off the stack into the instruction pointer..
Question
The PUSH instruction copies a value from the stack to an operand before decrementing the stack pointer.
Question
The WriteDec procedure does not display a plus sign.
Question
The ESP register always points to the next available position (NAP)where a new value will be pushed on the stack.
Question
A nested procedure call occurs when a called procedure calls another procedure before the first procedure returns
Question
The WriteHex procedure displays integers in hexadecimal format only if an additional formatting parameter is passed in the EDX register.
Question
The runtime stack is the same as the stack abstract data type (ADT).
Question
The PUSHAD instruction pushes all the 32-bit general-purpose registers on the stack.
Question
The runtime stack is supported by the computer's processor.
Question
By default,labels are visible only within the procedure in which they are declared.
Question
In 32-bit mode,immediate values pushed on the stack are always 32 bits long.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/16
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 5: Procedures-assessment
1
The USES operator,coupled with the PROC directive,lets you list the names of all registers modified within a procedure..
True
2
When the POP instruction executes,the ESP register is incremented after the value it points to is copied from the stack.
True
3
In a stack,the first value pushed on a stack is the last one to be removed.
True
4
The EBP register points to the last value pushed on the runtime stack.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
5
The RandomRange procedure always produces a random integer between 0 and 0FFFFFFFFh
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
6
The RET instruction pops the value pointed to by EBP off the stack into the instruction pointer..
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
7
The PUSH instruction copies a value from the stack to an operand before decrementing the stack pointer.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
8
The WriteDec procedure does not display a plus sign.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
9
The ESP register always points to the next available position (NAP)where a new value will be pushed on the stack.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
10
A nested procedure call occurs when a called procedure calls another procedure before the first procedure returns
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
11
The WriteHex procedure displays integers in hexadecimal format only if an additional formatting parameter is passed in the EDX register.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
12
The runtime stack is the same as the stack abstract data type (ADT).
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
13
The PUSHAD instruction pushes all the 32-bit general-purpose registers on the stack.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
14
The runtime stack is supported by the computer's processor.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
15
By default,labels are visible only within the procedure in which they are declared.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
16
In 32-bit mode,immediate values pushed on the stack are always 32 bits long.
Unlock Deck
Unlock for access to all 16 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 16 flashcards in this deck.