def pop_inst(self, inst, opvals):
    for (op, val) in opvals.items():
        inst = inst.replace(op, val)
    return inst
def pop_inst(self, inst, opvals):
    for (op, val) in opvals.items():
        inst = inst.replace(op, val)
    return inst