scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

longjmp.s (320B)


      1 	.file	"longjmp.s"
      2 
      3 	.text
      4 	.globl	longjmp,_longjmp
      5 _longjmp:
      6 longjmp:
      7 	mov  	4(%esp),%edx
      8 	mov  	8(%esp),%eax
      9 	test    %eax,%eax
     10 	jnz 	1f
     11 	inc     %eax
     12 1:
     13 	movl   	(%edx),%ebx
     14 	movl  	4(%edx),%ecx
     15 	movl 	8(%edx),%esi
     16 	movl 	12(%edx),%edi
     17 	movl	16(%edx),%ebp
     18 	movl	20(%edx),%esp
     19 	pushl   24(%edx)
     20 	popl	%edx
     21 	jmp 	*%edx