Simple Memory/Bits utilities