Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

TRUE/FALSE 6. The DIV instruction sets the Overflow flag when a program attempts

ID: 3543155 • Letter: T

Question

TRUE/FALSE


6.  The DIV instruction sets the Overflow flag when a program attempts to divide by zero.

7.  The following code will cause a Divide Overflow exception:

mov ax,-12000000

cwd

mov bx,10

idiv bx    

8.  The binary value of AL after the following instructions have executed is 00011010.

mov al,01101011b

shr al,2    

9.  The binary value of AL after the following instructions have executed is 11100010.

mov al,11000101b

sar al,1    

10.  The binary value of AL after the following instructions have executed is 11101100.

mov al,11000101b

sar al,4    

Explanation / Answer

6 . true

7 . true

8 . true

9 . true

10 . false