Deck 4: Data Transfers,addressing,and Arithmetic-assessment
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
Play
Full screen (f)
Deck 4: Data Transfers,addressing,and Arithmetic-assessment
1
The following statement will assemble without errors:
mov DWORD PTR [eax],1234h
mov DWORD PTR [eax],1234h
True
2
If AL contains +127 and you add 3 to AL,the Overflow flag will be set.
True
3
The following instruction will produce 1FFFFFFCh in EDX:
movsx edx,-4
movsx edx,-4
False
4
The MOVSX instruction can use a variable as the source operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The Overflow flag will never be set when subtracting a positive integer from a negative integer.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
The SUB instruction requires the source operand to be no larger than the destination operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
When you move a 16-bit constant or an 8-bit constant into a 64-bit register,the upper bits of the destination operand are cleared.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
The format for the ADD instruction is: MOV source,destination
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
The MOV instruction permits a move between two 8-bit memory operands,as long as one operand uses the BYTE PTR operator.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
The SAHF instruction copies the CPU status flags to the AH register.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
The following instructions will set the Overflow flag:
mov al,80h
sub al,-5
mov al,80h
sub al,-5
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
The following instruction will assemble correctly:
dec BYTE PTR [edi]
dec BYTE PTR [edi]
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
Suppose BX and DX both contain positive integers.If adding them produces a negative result,the Overflow flag will be set.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
The EIP register can be the source operand of a MOV,ADD,or SUB instruction.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
The following instructions will set the Overflow flag:
mov al,0D7h
add al,75h
mov al,0D7h
add al,75h
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck