Question: Please select the text that should be placed in the blank space labeled C in question 3. [ebp+12] 0x2080 [ebp+8] [edi] Please select the number

 Please select the text that should be placed in the blank

Please select the text that should be placed in the blank space labeled C in question 3.

[ebp+12]
0x2080
[ebp+8]
[edi]

Please select the number that should be placed in the blank space labeled D in question 3.

8
16
4
2
12

What hexadecimal number will ESP contain when the "mov eax,1" instruction is executed (this is referring to the code in question 3)?

This information is provided so that you can answer answer questions 3 through 7 The following is a partial main with a call to a procedure to calculate the factorial of integer argument x, and store the result (xl) in memory The initial address of the top of the stack is 0x0A50 The value at X is 12 (decimal) The address of result (DWORD) is 0x1200 The address of nextstep is 0x2080 The initial value inebp is 0x3B main PROC push OFFSET result push x call factorial nextstep: exit main ENDP factorial PROC push ebpo mov ebp, esp mov eax, 1. value of parameter x mov eCX again loop again address of result edi, mov eax save the factorial in result mov pop ebpo ret factorial ENDP END mal n

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!