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 / si / harness / examples / trap7_shift.om

8 lines · 179 bytes Raw Blame History
1note trap7_shift: a shift amount outside 0..width-1 traps 7, exit 107
2text before "before\n"
3fn main to int
4k = write 1 before 0 len before
5s = uint 32
6x = shl uint 1 s
7ret 0
8end