interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / om / omega-reference / vendor / skills / omega-encoding / examples / trap_narrow.om

9 lines · 281 bytes Raw Blame History
1note edge: narrowing a value that does not fit traps 5, so the program exits 105
2note the masked store on line 6 is fine (300 and 255 = 44); the unmasked store on line 7 traps
3global b uchar 2
4fn main to int
5x = uint 300
6put b 0 uchar and x 255
7put b 1 uchar x
8ret int get b 0
9end