Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text
- .globl padovan
- .type padovan, @function
- padovan:
- .LFB0:
- pushl %ebp
- movl %esp, %ebp
- subl $12, %esp
- movl $1, -4(%ebp)
- cmpl $2, 8(%ebp)
- jle .L3
- jmp .L5
- .L5:
- movl 8(%ebp), %eax
- subl $2, %eax
- subl $12, %esp
- pushl %eax
- call padovan
- addl $16, %esp
- movl %eax, -8(%ebp)
- movl 8(%ebp), %eax
- subl $3, %eax
- subl $12, %esp
- pushl %eax
- call padovan
- addl $16, %esp
- movl -8(%ebp), %edx
- addl %edx, %eax
- movl %eax, -4(%ebp)
- .L3:
- movl -4(%ebp), %eax
- leave
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement