scc

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

longjmp.s (296B)


      1 	.file	"longjmp"
      2 
      3 	.text
      4 	.globl	longjmp,_longjmp
      5 _longjmp:
      6 longjmp:
      7 	mov	%rsi,%rax
      8 	test	%rax,%rax
      9 	jnz	1f
     10 	inc	%rax
     11 1:
     12 	mov	(%rdi),%rbx
     13 	mov	8(%rdi),%rbp
     14 	mov	16(%rdi),%r12
     15 	mov	24(%rdi),%r13
     16 	mov	32(%rdi),%r14
     17 	mov	40(%rdi),%r15
     18 	mov	48(%rdi),%rdx
     19 	mov	%rdx,%rsp
     20 	mov	56(%rdi),%rdx
     21 	jmp	*%rdx