scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

udivdi3.s (264B)


      1 	.file	"udivdi3.s"
      2 
      3 	.text
      4 	.globl	__udivdi3
      5 __udivdi3:
      6 	pushl	%ebp
      7 	movl	%esp,%ebp
      8 	addl	$-16,%esp
      9 
     10 	movl	8(%ebp),%ecx
     11 	movl	%ecx,-16(%ebp)
     12 	movl	16(%ebp),%ecx
     13 	movl	%ecx,-8(%ebp)
     14 	movl	-16(%ebp),%eax
     15 	xor	%edx,%edx
     16 	divl	-8(%ebp)
     17 	movl	%ebp,%esp
     18 	popl	%ebp
     19 	ret