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 / ng / tests / ir / n-oob.oir

14 lines · 262 bytes Raw Blame History
1omegair 1
2type %t32 = array u32 8
3type %t33 = ref edit host %t32
4global @g0 %t32 zero
5export @f0 flags 0 -> i32
6block ^0
7%1 = gaddr %t33 @g0
8%2 = const u64 4000000
9%3 = const u32 42
10%4 = store %0 %1 %2 %3
11%5 = load u32 %4 %1 %2
12%6 = conv i32 0 %5
13retv %4 %6
14end