shithub: scc

ref: b2fdb4fc96e55083316e80a1c42dafea7b8184fc
dir: /src/libc/arch/i386/longjmp.s/

View raw version
	.file	"longjmp.s"

	.text
	.globl	_longjmp
_longjmp:
	mov  	4(%esp),%edx
	mov  	8(%esp),%eax
	test    %eax,%eax
	jnz 	1f
	inc     %eax
1:
	mov   	(%edx),%ebx
	mov  	4(%edx),%esi
	mov  	8(%edx),%edi
	mov 	12(%edx),%ebp
	mov 	16(%edx),%ecx
	mov     %ecx,%esp
	mov 	20(%edx),%ecx
	jmp 	*%ecx