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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started