shithub: scc

ref: 0aee0027b0ae4f745250ca8ca90e7d5c6017151d
dir: /src/libc/arch/i386/setjmp.s/

View raw version
	.file	"setjmp.s"

	.text
	.globl	setjmp,_setjmp
_setjmp:
setjmp:
	movl    4(%esp),%eax
	movl    %ebx,(%eax)
	movl    %ecx,4(%eax)
	movl    %esi,8(%eax)
	movl    %edi,12(%eax)
	movl    %ebp,16(%eax)
	movl    %esp,20(%eax)
	pushl   (%esp)
	popl	24(%eax)
	xor     %eax,%eax
	ret