AFSR_BITS
snprintb(bits, sizeof(bits), AFSR_BITS, afsr);
snprintb(buf, sizeof(buf), AFSR_BITS, afsr);