aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / omega-reference / vendor / 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 |