Deck 13: High-Level Language Interface-- Assessment

Full screen (f)
exit full mode
Question
In Visual C++,the PTR directive cannot be used in inline assembly code.
Use Space or
up arrow
down arrow
to flip the card.
Question
In Visual C++,an inline statement can refer to labels outside the __asm block.
Question
In 32-bit mode,the offsets of stack parameters should always be calculated from EBP.
Question
The Visual C++ compiler contains command-line options for generating assembly language source code.
Question
Name decoration is used by C++ because it supports the overloading of function names.
Question
C language programs automatically convert external identifiers to all uppercase letters.
Question
When a C++ functions is called,floating-point values inside the function are usually pushed on the processor's floating-point stack before returning to the function's caller.
Question
The EVEN and ALIGN directives can be used in Visual C++ inline assembly code.
Question
A language's calling convention includes a list of which registers must be preserved by called procedures.
Question
Optimizing C++ compilers rarely substitute registers in the place of variables when they generate assembly language source code.
Question
The "C" specifier in extern declarations of procedures called from C++ tells the compiler to avoid decorating (changing)the procdure name.
Question
A language's calling convention does not include the order in which parameters are passed.
Question
used by C programs.
Question
A program using the C calling convention pushes function arguments onto the stack from left to right.
Question
At the beginning of an __asm block,general-purpose registers such as EAX and EBX may have unknown values.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 13: High-Level Language Interface-- Assessment
1
In Visual C++,the PTR directive cannot be used in inline assembly code.
False
2
In Visual C++,an inline statement can refer to labels outside the __asm block.
True
3
In 32-bit mode,the offsets of stack parameters should always be calculated from EBP.
True
4
The Visual C++ compiler contains command-line options for generating assembly language source code.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
Name decoration is used by C++ because it supports the overloading of function names.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
C language programs automatically convert external identifiers to all uppercase letters.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
When a C++ functions is called,floating-point values inside the function are usually pushed on the processor's floating-point stack before returning to the function's caller.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
The EVEN and ALIGN directives can be used in Visual C++ inline assembly code.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
A language's calling convention includes a list of which registers must be preserved by called procedures.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
Optimizing C++ compilers rarely substitute registers in the place of variables when they generate assembly language source code.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
The "C" specifier in extern declarations of procedures called from C++ tells the compiler to avoid decorating (changing)the procdure name.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
A language's calling convention does not include the order in which parameters are passed.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
used by C programs.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
A program using the C calling convention pushes function arguments onto the stack from left to right.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
At the beginning of an __asm block,general-purpose registers such as EAX and EBX may have unknown values.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 15 flashcards in this deck.