ModeCore.cm.mask: def of bend-osdev-mode-core@0.1.0.0 Import: import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCore Lines 268-270 of bend-osdev-mode-core@0.1.0.0/mode_core.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-mode-core@0.1.0.0/mode_core.bend&start_line=268&end_line=270 import Base # 0 for a 0 bit, all ones for a 1 bit (the low bit of b) def cm.mask(b: U32) -> U32: U32.sub(0, U32.and(1, b)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub