shithub: scc

ref: 27e13dac39adc371f8bdf5f36e3bb3962aaea004
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