Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. .text
  2. .globl padovan
  3. .type padovan, @function
  4. padovan:
  5. .LFB0:
  6.  
  7. pushl %ebp
  8. movl %esp, %ebp
  9. subl $12, %esp
  10. movl $1, -4(%ebp)
  11. cmpl $2, 8(%ebp)
  12. jle .L3
  13. jmp .L5
  14.  
  15. .L5:
  16. movl 8(%ebp), %eax
  17. subl $2, %eax
  18. subl $12, %esp
  19. pushl %eax
  20. call padovan
  21. addl $16, %esp
  22. movl %eax, -8(%ebp)
  23. movl 8(%ebp), %eax
  24. subl $3, %eax
  25. subl $12, %esp
  26. pushl %eax
  27. call padovan
  28. addl $16, %esp
  29. movl -8(%ebp), %edx
  30. addl %edx, %eax
  31. movl %eax, -4(%ebp)
  32. .L3:
  33. movl -4(%ebp), %eax
  34. leave
  35.  
  36. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement