7. What will be the value of destination operand after the follov ng instruction
ID: 3733613 • Letter: 7
Question
7. What will be the value of destination operand after the follov ng instruction executes? Mov al, (Varl 2 d. 2 when left operand's larger than right operand. The CMP instruction sets the .. CMP let op, right op 8. Overlow fag b. Sign flag c. Zsro flag d. None of the flags 9 JZ will jump to the destination if a ZF-I c. ZF-1 and CF 1 10. The register always points to the top of the stack a. Ip b. 55 c. SP d, CX 11. What is the binary value of AL after the following instructions have executed. mov al, 01101011b shl al,2 a. 00011010 b. 10101101 c. 10101130 d. 00001101Explanation / Answer
8. d) None of the flags (since left operand is greater than right operand)
9. a) ZF=1 ( Zero Flag will be set to 1 if value equals Zero )
10. c) SP (Stack pointer)
11. c) 10101100
01101011
(we have to shift left 2 positions.So the bits starting from 3rd position are moved 2 positions left from their original positions.
i.e the bit in the 3rd position is moved to 1st position, 4th to 2nd and so on...
so the number becomes 101011--
The last two vacant bits towards right are filled with zeros.)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.