shithub: scc

ref: 1ce079ecedd0b95c5c367572b5872a78d2a309ba
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