The fixed24 payload is exactly three bytes. Reuse the qualified low-to-high
bit writer; preserve neighboring bits and one-field24-bit telemetry.
467def sm86PlaceWord24BitsUnchecked =
468 (lambda unrestricted position : Nat .
469 unrestricted byte0 : Byte .
470 unrestricted byte1 : Byte .
471 unrestricted byte2 : Byte .
472 unrestricted encoded : Bytes .
473 sm86PlaceFieldBitsUnchecked
474 (naturalAdd position 16)
475 8
476 (byte-to-nat byte2)
477 (sm86PlaceFieldBitsUnchecked
478 (naturalAdd position 8)
479 8
480 (byte-to-nat byte1)
481 (sm86PlaceFieldBitsUnchecked position 8 (byte-to-nat byte0) encoded)))The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.