Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/om/gpu/dsv41/emit-cli.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / om / gpu / dsv41 / emit-cli.om` 25 lines ยท 380 bytes Raw Blame History 1 note SPDX-License-Identifier: AGPL-3.0-only 2 fn dsWrite w view ulong 4 to void 3 bytes = new uchar 16 0 4 for i ulong 16 5 put bytes i uchar and shr get w div i 4 mul rem i 4 8 255 6 end 7 if ne write 1 bytes 0 16 16 8 exit 4 9 end 10 end 11 fn main to int 12 arg = new uchar 2 0 13 if ne argcnt 2 14 ret 2 15 end 16 if ne argread 1 arg 0 2 1 17 ret 2 18 end 19 kind = get arg 0 20 if not dsKernel kind 21 ret 2 22 end 23 done 24 ret 0 25 end