Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/modules/tests/caller.S # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / modules / tests / caller.S` 43 lines ยท 849 bytes Raw Blame History 1 // Independent AArch64 OM2 ABI caller: preserve host state, supply private stack and X7. 2 .text 3 .global invoke 4 .type invoke, %function 5 invoke: 6 stp x19,x20,[sp,#-16]! 7 stp x21,x22,[sp,#-16]! 8 stp x23,x24,[sp,#-16]! 9 stp x25,x26,[sp,#-16]! 10 stp x27,x28,[sp,#-16]! 11 stp x29,x30,[sp,#-16]! 12 stp d8,d9,[sp,#-16]! 13 stp d10,d11,[sp,#-16]! 14 stp d12,d13,[sp,#-16]! 15 stp d14,d15,[sp,#-16]! 16 mov x19,sp 17 mov x16,x0 18 mov x17,x1 19 mov x7,x2 20 mov x0,x3 21 mov x1,x4 22 mov x2,x5 23 mov sp,x17 24 blr x16 25 mov sp,x19 26 ldp d14,d15,[sp],#16 27 ldp d12,d13,[sp],#16 28 ldp d10,d11,[sp],#16 29 ldp d8,d9,[sp],#16 30 ldp x29,x30,[sp],#16 31 ldp x27,x28,[sp],#16 32 ldp x25,x26,[sp],#16 33 ldp x23,x24,[sp],#16 34 ldp x21,x22,[sp],#16 35 ldp x19,x20,[sp],#16 36 ret 37 .global trap_entry 38 .type trap_entry, %function 39 trap_entry: 40 add x0,x1,#100 41 mov x8,#93 42 svc #0 43 .section .note.GNU-stack,"",%progbits