def show_bits(string: int, nbits: int = 16) -> str:
    """Return a string showing the occupations of the bitstring

    Args:
        string (int) - bit string

        nbits (int) - the number of bits to show
    """
    return str(bin(string)[2:].zfill(nbits))