pub fn assemble_u64(regs: &[u16], byte_big: bool, word_big: bool) -> u64
Assemble up to the last 8 normalized bytes into a big-endian u64 (equivalent of Go’s assemble + decodeUint over the trailing window).