2. What is the value of ECX in decimal after the following completes executing?
ID: 3865753 • Letter: 2
Question
2. What is the value of ECX in decimal after the following completes executing?
mov ECX, 5000
here: nop
loop here
3. What is the value of EDI after the following code has completed running?
mov EDI, 10
mov ECX, 2
rep movsb
Note: you can not run this in Visual C++... figure it out.
4. Given the string called 'letters' in memory which is equal to 'Fancy' in ASCII and the following code:
lea ESI,letters
mov al,[ESI+4]
What value is placed in the AL register?
59 hex
79 hex
52 hex
70 hex
Need help answering these 3 questions all of them please.
A.59 hex
B.79 hex
C.52 hex
D.70 hex
Need help answering these 3 questions all of them please.
Explanation / Answer
2 Answer. 0.0
3 Answer.8
4.Answer:79 hex
->ECX is a volatile general-purpose register that is occasionally used
as a function parameter or as a loop counter.i.e store the loop count
in iterative operations.
->EDI is a non-volatile general-purpose register that is often used as
a pointer. It is similar to esi, except that it is generally used as a
destination for data.
-- It is used as destination index for string operations.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.