Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help to check my work before I turning in assignment. Thanks. 1. (8 pts)

ID: 3916070 • Letter: I

Question

I need help to check my work before I turning in assignment. Thanks.

1. (8 pts) The following assembly code includes a call to the function "secretFunc" and the content of that same function. a. (2 pt) What is the return address of "secretFunc" b. (6 pts) Comment each line as to what it is doing. The comment should be in plain English as shown. 04014 Pusahs, che nd paamator of - OFFFFFF 80h push-128, the 2nd parameter of "SecretFunc'" NOTE: "push OxFFFFFF80 to the stack" is not acceptable push OPFFFFFFF 00401503 ?? ?? secretFunc 00401508 add esp, 8 0040150B mov [ebp-1], al declare a char in C for this 0040150E nop

Explanation / Answer

1. The return address of "secretFunc" after being called is 00401508 containing the address of next instruction to be saved on stack to which the call return backs after executing "secretFunc".

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote