def cm.b0
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
79# the bytes of w, most significant first
80def cm.b0(w: U32) -> U32:
81 match w:
82 case U32{x}:
83 cm.of8(W.W64.bits.hi(8n, 8n, W.W64.bits.hi(8n, 16n, W.W64.bits.hi(8n, 24n, x))))