hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

setjmp.s (439B)


      1 .section ".text.rt.setjmp","ax"
      2 .global rt.setjmp
      3 .type rt.setjmp,@function
      4 rt.setjmp:
      5 	// IHI0055B_aapcs64.pdf 5.1.1, 5.1.2 callee saved registers
      6 	stp x19, x20, [x0,#0]
      7 	stp x21, x22, [x0,#16]
      8 	stp x23, x24, [x0,#32]
      9 	stp x25, x26, [x0,#48]
     10 	stp x27, x28, [x0,#64]
     11 	stp x29, x30, [x0,#80]
     12 	mov x2, sp
     13 	str x2, [x0,#104]
     14 	stp  d8,  d9, [x0,#112]
     15 	stp d10, d11, [x0,#128]
     16 	stp d12, d13, [x0,#144]
     17 	stp d14, d15, [x0,#160]
     18 	mov x0, #0
     19 	ret