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 / tests / x86efi / exit / e2.om

22 lines · 397 bytes Raw Blame History
1target x86efi
2note gate 7: write \X.TXT and trap 3 after the write without efi 12 sub 4; the exit must flush and close.
3global pa uchar 8
4global db uchar 16
5
6fn main to ulong
7put pa 0 92
8put pa 1 88
9put pa 2 46
10put pa 3 84
11put pa 4 88
12put pa 5 84
13i = ulong 0
14while lt i 10
15put db i uchar add 65 i
16i = add i 1
17end
18r = efi 12 65281 pa 0 6
19w = efi 12 65283 db 0 10
20x = efi 12 65283 db 12 8
21ret 0
22end