예제 #1
0
def get_cd(a_flag):
    return get_bits(a_flag, 4, 4)
예제 #2
0
def get_z(a_flag):
    return get_bits(a_flag, 6, 6)
예제 #3
0
def get_ad(a_flag):
    return get_bits(a_flag, 5, 5)
예제 #4
0
def get_rd(a_flag):
    return get_bits(a_flag, 8, 8)
예제 #5
0
def get_ra(a_flag):
    return get_bits(a_flag, 7, 7)
예제 #6
0
def get_tc(a_flag):
    return get_bits(a_flag, 9, 9)
예제 #7
0
def get_aa(a_flag):
    return get_bits(a_flag, 10, 10)
예제 #8
0
def get_rcode(a_flag):
    return get_bits(a_flag, 0, 3)
예제 #9
0
def get_opcode(a_flag):
    return get_bits(a_flag, 11, 14)
예제 #10
0
def get_qr(a_flag):
    return get_bits(a_flag, 15, 15)