Deck 7: Integer Arithmetic Assessment

Full screen (f)
exit full mode
Question
The MUL instruction sets the Overflow flag if the upper half of the product is not equal to zero.
Use Space or
up arrow
down arrow
to flip the card.
Question
The binary value of AL after the following instructions have executed is 11101101.
mov al,01101011b
rol al,2
Question
The MUL instruction sets the Carry flag if the upper half of the product is not equal to zero.
Question
When the MUL BX instruction executes,the 32-bit product ends into the EAX register.
Question
The SAR instruction is suitable for signed integers.
Question
The hexadecimal values of DX and AX after the following instructions have executed are DX=0005 and AX=0000.
mov dx,5000h
mov ax,20h
mul dx
Question
RDX will equal 1 after the following instructions have executed.
mov rax,0FFFF0000FFFF0000h
mov rbx,2
mul rbx
Question
The ROR instruction is only suitable for signed integers.
Question
The binary value of AL after the following instructions have executed is 00001101.
mov al,01101011b
shr al,2
Question
The SAR and SHR instructions perform the same operation.
Question
When the MUL BL instruction executes,the upper half of the product ends up in the AH register.
Question
The DIV instruction generates a divide overflow condition when the remainder is too large to fit into the destination operand.
Question
The destination operand of the IMUL instruction may be a memory operand.
Question
The binary value of AL after the following instructions have executed is 11100010.
mov al,11000101b
sar al,1
Question
The binary value of AL after the following instructions have executed is 11111101.
mov al,11000101b
sar al,4
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 7: Integer Arithmetic Assessment
1
The MUL instruction sets the Overflow flag if the upper half of the product is not equal to zero.
True
2
The binary value of AL after the following instructions have executed is 11101101.
mov al,01101011b
rol al,2
False
3
The MUL instruction sets the Carry flag if the upper half of the product is not equal to zero.
True
4
When the MUL BX instruction executes,the 32-bit product ends into the EAX register.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The SAR instruction is suitable for signed integers.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
The hexadecimal values of DX and AX after the following instructions have executed are DX=0005 and AX=0000.
mov dx,5000h
mov ax,20h
mul dx
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
RDX will equal 1 after the following instructions have executed.
mov rax,0FFFF0000FFFF0000h
mov rbx,2
mul rbx
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
The ROR instruction is only suitable for signed integers.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
The binary value of AL after the following instructions have executed is 00001101.
mov al,01101011b
shr al,2
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
The SAR and SHR instructions perform the same operation.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
When the MUL BL instruction executes,the upper half of the product ends up in the AH register.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
The DIV instruction generates a divide overflow condition when the remainder is too large to fit into the destination operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
The destination operand of the IMUL instruction may be a memory operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
The binary value of AL after the following instructions have executed is 11100010.
mov al,11000101b
sar al,1
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
The binary value of AL after the following instructions have executed is 11111101.
mov al,11000101b
sar al,4
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.