diff options
Diffstat (limited to 'miasm2/arch/mips32/sem.py')
| -rw-r--r-- | miasm2/arch/mips32/sem.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/arch/mips32/sem.py b/miasm2/arch/mips32/sem.py index e83d9b48..365444d7 100644 --- a/miasm2/arch/mips32/sem.py +++ b/miasm2/arch/mips32/sem.py @@ -225,6 +225,11 @@ def seb(ir, instr, a, b): e.append(ExprAff(a, b[:8].signExtend(32))) return e, [] +def seh(ir, instr, a, b): + e = [] + e.append(ExprAff(a, b[:16].signExtend(32))) + return e, [] + def bltz(ir, instr, a, b): e = [] n = ExprId(ir.get_next_break_label(instr)) @@ -475,6 +480,7 @@ mnemo_func = { "xori" : l_xor, "xor" : l_xor, "seb" : seb, + "seh" : seh, "bltz" : bltz, "blez" : blez, "wsbh" : wsbh, |