diff options
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index d4274755..dd9ee472 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -4069,6 +4069,9 @@ class ir_x86_16(ir): args[i] = m2_expr.ExprMem(m2_expr.ExprOp('segm', my_ss, a.arg), a.size) + if not instr.name.lower() in mnemo_func: + raise NotImplementedError("Mnemonic %s not implemented" % instr.name) + instr_ir, extra_ir = mnemo_func[ instr.name.lower()](self, instr, *args) self.mod_pc(instr, instr_ir, extra_ir) |