shithub: scc

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