(i)Annotate the assembly code (use the line numbers in your
(i)Annotate the assembly code (use the line numbers in your annotations). (ii) Hence work out the C-function that it was compiled from.1. pushq %rbp2. movq %rsp, %rbp 3. movl %edi, -4(%rbp) 4. movl %esi, -8(%rbp) 5. movl -4(%rbp), %eax 6. cmpl -8(%rbp), %eax 7. jge .L2 8. movl -4(%rbp), %eax 9. jmp .L3 10. .L2:11. movl -8(%rbp), %eax 12. .L3:13. popq %rbp14. ret_________________________________________________________________________________int fun1(int a, int b) { if (b < a) return b; else return a;}________________________________________________________________________________int fun2(int a, int b){if (a < b) return a; else return b;}_________________________________________________________________________________int fun3(int a, int b) {unsigned ua = (unsigned) a; if (ua < b) return b; else return ua;}
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
