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 / si / harness / examples / trap7_shift.om
| 1 | note trap7_shift: a shift amount outside 0..width-1 traps 7, exit 107 |
| 2 | text before "before\n" |
| 3 | fn main to int |
| 4 | k = write 1 before 0 len before |
| 5 | s = uint 32 |
| 6 | x = shl uint 1 s |
| 7 | ret 0 |
| 8 | end |