Question: please explain. and this is all the information I have, so DO NOT comment asking for more information Question 7 1 pts Consider the following

 please explain. and this is all the information I have, so

please explain. and this is all the information I have, so DO NOT comment asking for more information

Question 7 1 pts Consider the following function where X, Y, Z, and W represent incomplete code. int math (int a int b, int c f int res1 X; int res2 Y; int res 3 Z int res4. return res4; The function above is implemented in assembly code below where the function's parameters a, b and c are at the effective addresses 0x8 ebp), 0xc ebp) and 0x10 sebp), respectively. mov 0xc(%ebp),%eax not %eax mov %eax 0x10 (%ebp) mov 0x10 (%ebp),%eax nov 0x8 (%ebp),%edx add %edx,%eax mov %eax -exc(%ebp) mov ex10 (%ebp),%eax imul $0x17,%eax,%eax mov %eax, -0x8 (%ebp) mov 0x10 (%ebp),%eax sar $0x5,%eax mov %eax, 0x4 (%ebp) Choose the correct options for X, Y, Z and W to complete the function so that it corresponds with its assembly code. Select X is [Select Y is Select Z is Select W is Question 7 1 pts Consider the following function where X, Y, Z, and W represent incomplete code. int math (int a int b, int c f int res1 X; int res2 Y; int res 3 Z int res4. return res4; The function above is implemented in assembly code below where the function's parameters a, b and c are at the effective addresses 0x8 ebp), 0xc ebp) and 0x10 sebp), respectively. mov 0xc(%ebp),%eax not %eax mov %eax 0x10 (%ebp) mov 0x10 (%ebp),%eax nov 0x8 (%ebp),%edx add %edx,%eax mov %eax -exc(%ebp) mov ex10 (%ebp),%eax imul $0x17,%eax,%eax mov %eax, -0x8 (%ebp) mov 0x10 (%ebp),%eax sar $0x5,%eax mov %eax, 0x4 (%ebp) Choose the correct options for X, Y, Z and W to complete the function so that it corresponds with its assembly code. Select X is [Select Y is Select Z is Select W is

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!