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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started