Question: A. What value does rfun store in the callee-saved register%rbx? B. Fill in the missing expressions in the C code shown above. C. What does

A. What value does rfun store in the callee-saved register%rbx?
B. Fill in the missing expressions in the C code shown above.
C. What does rfun(3,4)return in%rax?
Problem 9. (8 points): Extra Credit Consider a C function having the general structure: long int rrun(long int x, long int y) long init nx long int ny - longint ry - 0 return 1 IV - rfun (nx, nyl; return This Coude yields the following y86 64 machine code: fun: irmova remove anda js $0, Srax Ardi, rdx Srd, rdx .LB .LB: pushg Srbx renoversi, Srbx irmov -1, "rdx adda rdx, si adda rdx, Erdi call rtun addq Srba, rax pop ret The questions on the next page are about these pieces of code, Problem 9. (8 points): Extra Credit Consider a C function having the general structure: long int rrun(long int x, long int y) long init nx long int ny - longint ry - 0 return 1 IV - rfun (nx, nyl; return This Coude yields the following y86 64 machine code: fun: irmova remove anda js $0, Srax Ardi, rdx Srd, rdx .LB .LB: pushg Srbx renoversi, Srbx irmov -1, "rdx adda rdx, si adda rdx, Erdi call rtun addq Srba, rax pop ret The questions on the next page are about these pieces of code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
