def set_blanking_values(self, blk_pos, blk_neg, ld, seq_dict):
    start_loc = seq_dict['Start_Loc'][1]
    pos_len = (seq_dict['Tbl_Len'][1] & 255)
    vec_len = ((seq_dict['Tbl_Len'][1] & 65280) >> 8)
    pos_ptr = ((seq_dict['Pos_Off'][1] * 2) + 16384)
    vec_ptr = ((seq_dict['Vec_Off'][1] * 2) + 16384)
    start_pos = (start_loc + 2)
    pos_tbl = []
    for i in range(pos_len):
        if (i == 0):
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + start_pos))
        else:
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + pos_tbl[(i - 1)]))
    blk_pos_loc = pos_tbl.index(blk_pos)
    blk_neg_loc = pos_tbl.index(blk_neg)
    blk_writes = {}
    for i in range(vec_len):
        if (i == blk_pos_loc):
            curr_vec = self.setbit((ld - 1), self.code_dict[(vec_ptr + i)])
        elif (i == blk_neg_loc):
            curr_vec = self.setbit((ld - 1), self.code_dict[(vec_ptr + i)])
        else:
            curr_vec = self.unsetbit((ld - 1), self.code_dict[(vec_ptr + i)])
        blk_writes[hex((vec_ptr + i))] = curr_vec
    return blk_writes
def set_blanking_values(self, blk_pos, blk_neg, ld, seq_dict):
    start_loc = seq_dict['Start_Loc'][1]
    pos_len = (seq_dict['Tbl_Len'][1] & 255)
    vec_len = ((seq_dict['Tbl_Len'][1] & 65280) >> 8)
    pos_ptr = ((seq_dict['Pos_Off'][1] * 2) + 16384)
    vec_ptr = ((seq_dict['Vec_Off'][1] * 2) + 16384)
    start_pos = (start_loc + 2)
    pos_tbl = []
    for i in range(pos_len):
        if (i == 0):
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + start_pos))
        else:
            pos_tbl.append((self.code_dict[(pos_ptr + i)] + pos_tbl[(i - 1)]))
    blk_pos_loc = pos_tbl.index(blk_pos)
    blk_neg_loc = pos_tbl.index(blk_neg)
    blk_writes = {}
    for i in range(vec_len):
        if (i == blk_pos_loc):
            curr_vec = self.setbit((ld - 1), self.code_dict[(vec_ptr + i)])
        elif (i == blk_neg_loc):
            curr_vec = self.setbit((ld - 1), self.code_dict[(vec_ptr + i)])
        else:
            curr_vec = self.unsetbit((ld - 1), self.code_dict[(vec_ptr + i)])
        blk_writes[hex((vec_ptr + i))] = curr_vec
    return blk_writes