shithub: scc

ref: d7f0e25b97d041a2645e2d90f6033949b01c7cc6
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