shithub: scc

ref: 919c865b5f8c58a9207b097c467fb94158f3a9b3
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