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
omega-mv / tools / exp445 / arms / examples / nibble_mirror / program.omegese
| 1 | fn nibble_mirror x ushort to bool |
| 2 | a = and x 15 |
| 3 | b = and shr x 4 15 |
| 4 | c = and shr x 8 15 |
| 5 | d = shr x 12 |
| 6 | ret and eq a d eq b c |
| 7 | end |