def cm.word
import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCoreimport Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
75# the word with bytes a, b, c, d, most significant first
76def cm.word(a: U32, b: U32, c: U32, d: U32) -> U32:
77 U32{W.W64.bits.cat(8n, 24n, cm.bits8(d), W.W64.bits.cat(8n, 16n, cm.bits8(c), W.W64.bits.cat(8n, 8n, cm.bits8(b), cm.bits8(a))))}