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 / tensix / mix.unit.om

7 lines · 197 bytes Raw Blame History
1note Exercises CONST (lui+addi), MOV, mul and xor in irrv32.om: out[i] = ((a[i]+b[i])*3000000000) xor a[i].
2fn mix a uint b uint to uint
3x = add a b
4y = mul x uint 3000000000
5z = y
6ret xor z a
7end