subject

Suppose that you are given the following program (with memory addresses shown on the left). After the instruction "mov ebp, esp", which of the following is referenced by each of the following?
.data
x DWORD 153461
y WORD 37
z WORD 90
.code
main PROC
push x
push y
push z
call someProcedure...
exit
main ENDP
someProcedure PROC
push ebp
mov ebp, esp
...
pop ebp
ret 8
someProcedure ENDP
END MAIN
Match
1) [ebp + 4] a. The previous value of EBP
2) [ebp + 8] b. the return address from someProcedure
3) [ebp + 10] c. The decimal value 90
4) [ebp + 12] d. the memory address of someProcedure
5) [ebp] e. The decimal value 37
6) [ebp + 6] f. The decimal value 153461
g. none of these

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
Drums installed, you would apply clicks of the parking brake to obtain a slight drag on both rear wheels
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Need getting google account back, big issue
Answers: 2
You know the right answer?
Suppose that you are given the following program (with memory addresses shown on the left). After t...
Questions
question
Mathematics, 02.10.2019 02:30