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 / tools / exp445 / arms / examples / nibble_mirror / program.omegese

7 lines · 124 bytes Raw Blame History
1fn nibble_mirror x ushort to bool
2a = and x 15
3b = and shr x 4 15
4c = and shr x 8 15
5d = shr x 12
6ret and eq a d eq b c
7end