Question: Question 6 1 pts The function many_params takes an unknown number of int parameters. The C and assembly forms of the function are given below,

Question 6 1 pts The function many_params takes an unknown number of int parameters. The C and assembly forms of the function are given below, except we do not know the full signature. int many_params(int param1, (additional int params), int last_param) { return paraml + last_param; } many_params: movl %edi, %eax addl 24(%rsp), %eax ret How many parameters does many_params take? Hint: remember that a call instruction modifies the stack pointer, and the ABI must account for this on the callee side
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
