scc

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

setjmp.s (402B)


      1 	.file   "setjmp.s"
      2 
      3 	.text
      4 	.globl	setjmp
      5 setjmp:
      6 	// IHI0055B_aapcs64.pdf 5.1.1, 5.1.2 callee saved registers
      7 	stp x19, x20, [x0,#0]
      8 	stp x21, x22, [x0,#16]
      9 	stp x23, x24, [x0,#32]
     10 	stp x25, x26, [x0,#48]
     11 	stp x27, x28, [x0,#64]
     12 	stp x29, x30, [x0,#80]
     13 	mov x2, sp
     14 	str x2, [x0,#96]
     15 	stp  d8,  d9, [x0,#104]
     16 	stp d10, d11, [x0,#120]
     17 	stp d12, d13, [x0,#136]
     18 	stp d14, d15, [x0,#152]
     19 	mov x0, #0
     20 	ret