Question: Consider the following code (Next 2 Questions) 1. .data 2. Source BYTE 50 DUP(?) 3. Target BYTE 100 DUP(?) 4. .code 5. Mov cx, 50
Consider the following code (Next 2 Questions)
1. .data
2. Source BYTE 50 DUP(?)
3. Target BYTE 100 DUP(?)
4. .code
5. Mov cx, 50
6. Mov esi, OFFSET source
7. Mov edi, OFFSET target
8. Rep movsb
Which of the following is true?
a. Line 6 can be replaced with LEA esi, source
b. Line 7 can be replaced with LEA edi, target
c. After line 7, both ESI and EDI contain the same value
d. Both a and b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
