1. Explain in detail this instruction:
mov rdi, [rbp-8]
2. Assume that main calls foo. If foo and main follow standardcalling conventions, what is accomplished by these instructions infoo?
push rdi push rsi
3. What does this instruction accomplish?
imul rax, rsi, 4
4. Explain these two instructions (taken from fac.asm).
pop rsi mul rsi
Expert Answer
An answer will be send to you shortly. . . . .