scc

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

longjmp.s (290B)


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