9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

setjmp.s (303B)


      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,#104]
     15 	mov x0, #0
     16 	ret