Page 1 of 1

Question 17/17 (1 p) Assume a function foo takes two arguments. When calling foolarg1, arg2), which is the correct order

Posted: Fri Jun 10, 2022 11:56 am
by correctanswer
Question 17 17 1 P Assume A Function Foo Takes Two Arguments When Calling Foolarg1 Arg2 Which Is The Correct Order 1
Question 17 17 1 P Assume A Function Foo Takes Two Arguments When Calling Foolarg1 Arg2 Which Is The Correct Order 1 (24.31 KiB) Viewed 99 times
Question 17/17 (1 p) Assume a function foo takes two arguments. When calling foolarg1, arg2), which is the correct order of operations assuming x86 calling conventions and that foo must allocate stack space (implies that we must save the %ebp)? O push arg1, push arg2, call foo, push %ebp O push arg1, push arg2, push %ebp, call foo Opush arg2, push arg1, push %ebp. call foo O push arg2, push arg1, call foo, push %ebp < Previous Submit Powered by testportal Question 17- V