diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-19 10:43:32 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-19 10:43:32 +0200 |
| commit | 3674bace8dbc185aefca1b4fa85983adfe73956b (patch) | |
| tree | 3868dca81348cc0ef76b024d2d151293e9a911d9 /miasm2/arch/mips32/sem.py | |
| parent | 3f11ce8a64d4dcc37587c4750ae5381a808695ef (diff) | |
| download | miasm-3674bace8dbc185aefca1b4fa85983adfe73956b.tar.gz miasm-3674bace8dbc185aefca1b4fa85983adfe73956b.zip | |
merge
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, |