Question: Use the following variable definition for questions 6 -7 Var1 db -128, 4, -1, 2 6.What will be the hexadecimal value of destination operand after
Use the following variable definition for questions 6 -7 Var1 db -128, 4, -1, 2
6.What will be the hexadecimal value of destination operand after the following instruction executes? MOV al, var1
a. 80h c. FCh b. FFh d. FFFCh
8.The CMP instruction sets the -------------- when left operand is larger than right operand. CMP left_op, right_op
a. Overflow flag c. Zero flag b. Sign flag d. None of the flags
14. What is value of ax after the following instructions are executed?
Mov ax, 15
Cmp ax, 10
Ja else
Add ax, 1
Jmp done
else: Sub ax, 1
done: add ax, 3
a. 5 c. 13 b. 9 d. 17
15.What will be the final value in ax after these instructions execute?
mov ax, 10
mov cx, 2
L1:
neg ax
add ax, cx
loop L1
a. -8 c. 8 b. 9 d. 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
