can someone check my answers for 12,13,14 and answer 15 please. Thank you. What
ID: 3841929 • Letter: C
Question
can someone check my answers for 12,13,14 and answer 15 please. Thank you.
What prefix would you use with the STOSB instruction to fill all elements of a string with a single value? REP The _____ instruction copies doublewords from the memory location pointed to by ESI to the memory location pointed to by EDI. MOVSB The _____ instruction compares a word operand pointed to by ESI to a word operand pointed to by EDI. CMPSD What does the following code do? mov eax, 7 mov edi OFESET dArray mov ecx, LENGTHOF dArray cld repne scaled jne L1 Loops 7 times Compares value in EAX to elements in dArray until a value not equal to 7 is found or the end of the array is reached. Compares value in AX to elements in dAmay until a value of 7 is found or the end of the array is reached.Explanation / Answer
Question 12:
what prefix would you use with the STOSB instruction to fill all elements of a string with a single value?
Ans: REP.
your answer is correct
Question 13:
The - instruction copies double words from the memory location pointed to by ESI to the memory location pointed by EDI?
Ans: MOVSW.
your answer is wrong.
Question 14:
The -- instruction compares a word operand pointed to by ESI to a word operand to by EDI?
Ans: CMPSB.
While comparing based on bytes ans is CMPSB.
Question 15:
Ans: Compares value in EAX to elements in dArray until a value of 7 found or the end of the array reachedm
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.