Deck 6: Conditional Processing Assessment

Full screen (f)
exit full mode
Question
With signed operands,the CMP instruction makes the Sign flag equal to the Overflow flag when the destination operand is less than the source operand.
Use Space or
up arrow
down arrow
to flip the card.
Question
For any two integers n and m,((n XOR m)XOR m)produces n.
Question
The JAE instruction jumps if the (unsigned)first operand is greater than or equal to the (unsigned)second operand.
Question
The XOR instruction inverts each bit in a destination operand.
Question
The JO instruction is used after an operation involving signed integers.
Question
ANDing an operand with 1 sets the zero flag if the operand was originally an even number.
Question
The OR instruction can be used to find the intersection of two bit-mapped sets.
Question
The Parity flag indicates whether the lowest byte of a destination operand has an even number of 1 bits.
Question
XORing an operand with 1 always causes the Zero flag to be set.
Question
The JECXZ instruction jumps to a target label when the CX register is equal to zero.
Question
The TEST instruction always alters the destination operand.
Question
The destination operand of the OR instruction cannot be a memory operand.
Question
With unsigned operands,the CMP instruction sets the Carry flag when the destination operand is less than the source operand.
Question
The XOR instruction can be used to generate the two's complement of an integer.
Question
The JBE instruction is used when comparing unsigned integers.
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 6: Conditional Processing Assessment
1
With signed operands,the CMP instruction makes the Sign flag equal to the Overflow flag when the destination operand is less than the source operand.
False
2
For any two integers n and m,((n XOR m)XOR m)produces n.
True
3
The JAE instruction jumps if the (unsigned)first operand is greater than or equal to the (unsigned)second operand.
False
4
The XOR instruction inverts each bit in a destination operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
The JO instruction is used after an operation involving signed integers.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
ANDing an operand with 1 sets the zero flag if the operand was originally an even number.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
The OR instruction can be used to find the intersection of two bit-mapped sets.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
The Parity flag indicates whether the lowest byte of a destination operand has an even number of 1 bits.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
XORing an operand with 1 always causes the Zero flag to be set.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
The JECXZ instruction jumps to a target label when the CX register is equal to zero.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
The TEST instruction always alters the destination operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
The destination operand of the OR instruction cannot be a memory operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
With unsigned operands,the CMP instruction sets the Carry flag when the destination operand is less than the source operand.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
The XOR instruction can be used to generate the two's complement of an integer.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
The JBE instruction is used when comparing unsigned integers.
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.