shithub: scc

ref: 4cd120c00e9285d5900c7e5a568f82ba6413cb7e
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