shithub: scc

ref: ef9e03046d35d4d0a3a73316e4675470228ebc98
dir: /src/libcrt/i386/umoddi3.s/

View raw version
	.file	"umoddi3.s"

	.text
	.globl	__umoddi3
__umoddi3:
	pushl	%ebp
	movl	%esp,%ebp
	addl	$-16,%esp

	movl	8(%ebp),%ecx
	movl	%ecx,-16(%ebp)
	movl	16(%ebp),%ecx
	movl	%ecx,-8(%ebp)
	movl	-16(%ebp),%eax
	xor	%edx,%edx
	divl	-8(%ebp)
	movl	%edx,%eax
	movl	%ebp,%esp
	popl	%ebp
	ret