pack
.macro pack, rd, hw1, hw2
#define pack(a, b) (((a) << 16) | (b))
int pack(void *pbuf, u64 uval, size_t startbit, size_t endbit, size_t pbuflen,