Professional Documents
Culture Documents
rdata,"dr" LC0:
.scl
2;
.type
32;
.endef
.ascii "Faktorial od 10 e %d\12\0" .text .globl _main .def _main; .scl 2; .type _main: pushl movl andl subl call movl call movl movl call movl leave ret .globl .def _fact: pushl movl subl cmpl jg movl jmp L4: movl decl movl call imull L5: leave ret .def _printf; .scl 2; 8(%ebp), %eax %eax %eax, (%esp) _fact 8(%ebp), %eax %ebp %esp, %ebp $24, %esp $0, 8(%ebp) L4 $1, %eax L5 %ebp %esp, %ebp $-16, %esp $16, %esp ___main $10, (%esp) _fact %eax, 4(%esp) $LC0, (%esp) _printf $0, %eax _fact _fact; .scl
32;
.endef
2;
.type
32;
.endef
.type
32;
.endef