diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-29 14:49:27 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-30 12:02:37 +0100 |
| commit | 7ed8f7c5638cdca4950d05b8021233d13e339fb7 (patch) | |
| tree | 678a6229f3ab9bd93207faedc9425d89da56275a | |
| parent | 9ef7ea583ab1e042565465e3abbdd66482ebf63d (diff) | |
| download | miasm-7ed8f7c5638cdca4950d05b8021233d13e339fb7.tar.gz miasm-7ed8f7c5638cdca4950d05b8021233d13e339fb7.zip | |
X86/sem: remove dummy mnemo
| -rw-r--r-- | miasm2/arch/x86/sem.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 5c670684..18410bf9 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -592,24 +592,6 @@ def shr(ir, instr, a, b): return _shift_tpl(">>", ir, instr, a, b, custom_of=a.msb()) -def shrd_cl(ir, instr, a, b): - e = [] - opmode, admode = s, instr.v_admode() - shifter = mRCX[instr.mode][:8].zeroExtend(a.size) - shifter &= m2_expr.ExprInt_from(a, 0x1f) - c = (a >> shifter) | (b << (m2_expr.ExprInt_from(a, a.size) - shifter)) - new_cf = (a >> (shifter - m2_expr.ExprInt_from(a, 1)))[:1] - e.append(m2_expr.ExprAff(cf, m2_expr.ExprCond(shifter, - new_cf, - cf) - ) - ) - e.append(m2_expr.ExprAff(of, a.msb())) - e += update_flag_znp(c) - e.append(m2_expr.ExprAff(a, c)) - return e, [] - - def shrd(ir, instr, a, b, c): return _shift_tpl(">>>", ir, instr, a, b, c, "<<<") @@ -634,10 +616,6 @@ def shl(ir, instr, a, b): return _shift_tpl("<<", ir, instr, a, b, left=True) -def shld_cl(ir, instr, a, b): - return shld(ir, instr, a, b, ecx) - - def shld(ir, instr, a, b, c): return _shift_tpl("<<<", ir, instr, a, b, c, ">>>", left=True) @@ -4015,10 +3993,8 @@ mnemo_func = {'mov': mov, 'rcr': rcr, 'sar': sar, 'shr': shr, - 'shrd_cl': shrd_cl, 'sal': sal, 'shl': shl, - 'shld_cl': shld_cl, 'shld': shld, 'cmc': cmc, 'clc': clc, |