shithub: scc

ref: 9a9ce743c36439d96753c68bbdb8de743743dcc4
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