longjmp.s - scc - simple c99 compiler (HTM) git clone git://git.simple-cc.org/scc (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- longjmp.s (374B) --- 1 .file "longjmp.s" 2 3 .text 4 .globl longjmp 5 longjmp: 6 ldp x19, x20, [x0,#0] 7 ldp x21, x22, [x0,#16] 8 ldp x23, x24, [x0,#32] 9 ldp x25, x26, [x0,#48] 10 ldp x27, x28, [x0,#64] 11 ldp x29, x30, [x0,#80] 12 ldr x2, [x0,#96] 13 mov sp, x2 14 ldp d8 , d9, [x0,#104] 15 ldp d10, d11, [x0,#120] 16 ldp d12, d13, [x0,#136] 17 ldp d14, d15, [x0,#152] 18 19 mov x0, x1 20 cbnz x1, 1f 21 mov x0, #1 22 1: br x30