Question: 1.Suppose a program has the following data segment: source BYTE ASSEMBLY, 0 target BYTE LENGTHOF source dup(#) Which of the options below will move the
1.Suppose a program has the following data segment:
source BYTE ASSEMBLY, 0
target BYTE LENGTHOF source dup(#)
Which of the options below will move the address of the L into BOTH eax AND ebx?
| A-) mov eax, OFFSET source + SIZEOF source -2 mov ebx, OFFSET target 3 |
| D-) mov eax, OFFSET source + SIZEOF source -3 mov ebx, OFFSET target 3 |
| C-) mov eax, OFFSET source + SIZEOF source -2 mov ebx, OFFSET target 2 |
| B-) mov eax, OFFSET source + SIZEOF source -3 mov ebx, OFFSET target 2
2.Suppose a program has the following memory layout:
All of the following data segments would result in this memory layout EXCEPT:
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
