The AND instruction has only one operand.
True
False

QUESTION 2
The LOOPZ instruction jumps to a target label when the Zero flag is set and ECX is greater than zero.
True
False

QUESTION 3
What will be the hexadecimal values of DX and AX after the following instructions have executed?
mov ax,6B49h
mov dx,0095h
shl ax,1
rcl dx,1

DX = 0148h, AX = C691h
DX = 012Ah, AX = C9A2h
DX = 012Ah, AX = D692h
DX = 024Bh, AX = D692h
1.
QUESTION 4
The following code will cause a Divide Overflow exception:
mov ax,-120000
cwd
mov bx,10
idiv bx
True
False

QUESTION 5
Which of the following instructions will multiply the integer in EBX by 32?
shr ebx,5
rol ebx,32
shl ebx,5
ror ebx,32

QUESTION 6
The TEST instruction does not alter the destination operand.
True
False

QUESTION 7
What will be the hexadecimal value of AL after these instructions execute?
mov al,3Ch
or al,82h
3Eh
BCh
BEh
none of the above

QUESTION 9
A WHILE loop can be constructed with a CMP instruction at the bottom of the loop, followed by a conditional jump instruction.
True
False

QUESTION 10
The DIV instruction sets the Overflow flag when a program attempts to divide by zero.
True
False

QUESTION 12
Which answer choice shows the correct values of the Carry, Zero, and Sign flags after the following instructions execute?
mov al,00110011b
test al,2
CF = 1, ZF = 0, SF = 1
CF = 0, ZF = 1, SF = 0
CF = 1, ZF = 0, SF = 1
CF = 0, ZF = 0, SF = 0

QUESTION 13
The XOR instruction can be used to toggle (complement) the bits in a number.
True
False

QUESTION 14
What will be the hexadecimal value of AL after these instructions execute?
mov al,94h
xor al,37h
B7h
A3h
3Fh
none of the above

QUESTION 15
The binary value of AL after the following instructions have executed is 0100 0010?
mov al,11000101b
sar al,1
True
False

QUESTION 16
The OR instruction can be used to set an operand’s value to zero.
True
False