interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / omc / om2 / s5 / scrub-floor.om

15 lines · 370 bytes Raw Blame History
1note S5 scrub: three nested frames of 2.5 MiB each leave under 1 MiB of the 8 MiB stack pool, so
2note SP - 1048576 is below the floor X28: trap 6 (exit 106) before any byte is written.
3om2
4fn deep d ulong to long
5a = new uchar 2621440 0
6if lt d 2
7ret add deep add d 1 long get a 0
8end
9k = scrub 1048576
10ret add k long get a 0
11end
12fn main to int
13k = deep 0
14ret int k
15end