interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tools / exp445 / arms / examples / rotl8 / prompt

2 lines · 200 bytes Raw Blame History
1Write a function rotl8 that takes two unsigned 8-bit numbers x and k and rotates the 8 bits of x to
2the left by k mod 8 places: bits shifted out on the left come back in on the right. It never traps.