def parse_bit(data):
    """
    The operator byte is encoded as:
      0    1   2   3   4  5   6   7
    +---+---+---+---+---+---+---+---+
    | e | a |  len  | 0 |lt |gt |eq |
    +---+---+---+---+---+---+---+---+
    """
    bit_list = []
    for i in range(8):
        bit_list.append(data >> i & 1)
    bit_list.reverse()
    result = {'0': bit_list[0], '1': bit_list[1], '2': bit_list[2], '3':
        bit_list[3], '4': bit_list[4], '5': bit_list[5], '6': bit_list[6],
        '7': bit_list[7]}
    return result
