interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / tests / native / x86 / outtrap.om

12 lines · 235 bytes Raw Blame History
1note Lowering top for an ABI-v2 out must not lower the true stack floor.
2om2
3fn outleaf x ulong to ulong
4ret add x 1
5end
6fn outmid x ulong to ulong
7ret outleaf x
8end
9export fn outtrap o out uchar 64 to ulong
10put o 0 1
11ret outmid 0
12end