diff options
| author | Camille Mougey <commial@gmail.com> | 2015-02-10 13:29:21 +0100 |
|---|---|---|
| committer | Camille Mougey <commial@gmail.com> | 2015-02-10 13:29:21 +0100 |
| commit | b9c7954bc3ec3ca237cdaee5fa9c859df3954383 (patch) | |
| tree | dc299683a2853c1221506d25dfd9eb5518f01d97 | |
| parent | 13af8801cc6c45a4b658c80bbd0023765a83369d (diff) | |
| parent | b2545f9999ca4db94bacd9559f57bc7ad8a2e0de (diff) | |
| download | miasm-b9c7954bc3ec3ca237cdaee5fa9c859df3954383.tar.gz miasm-b9c7954bc3ec3ca237cdaee5fa9c859df3954383.zip | |
Merge pull request #57 from serpilliere/x86_fix
X86/sem: fix fpu mnemonic api
| -rw-r--r-- | miasm2/arch/x86/sem.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 0acad7ee..36d8e618 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -1823,16 +1823,16 @@ def fucomip(ir, instr, a, b): def fcomp(ir, instr, a, b = None): - dst, e, extra = fcom(ir, instr, a, b) + e, extra = fcom(ir, instr, a, b) e += float_pop() e += set_float_cs_eip(instr) - return dst, e, extra + return e, extra def ficomp(ir, instr, a, b = None): - dst, e, extra = ficom(ir, instr, a, b) + e, extra = ficom(ir, instr, a, b) e += float_pop() e += set_float_cs_eip(instr) - return dst, e, extra + return e, extra def fld(ir, instr, a): @@ -1874,9 +1874,9 @@ def fst(ir, instr, a): def fstp(ir, instr, a): - dst, e, extra = fst(ir, instr, a) + e, extra = fst(ir, instr, a) e += float_pop(a) - return dst, e, extra + return e, extra def fist(ir, instr, a): @@ -1887,9 +1887,9 @@ def fist(ir, instr, a): return e, [] def fistp(ir, instr, a): - dst, e, extra = fist(ir, instr, a) + e, extra = fist(ir, instr, a) e += float_pop(a) - return dst, e, extra + return e, extra def fist(ir, instr, a): e = [] @@ -1912,9 +1912,9 @@ def fild(ir, instr, a): src = ExprOp('int_%.2d_to_double' % a.size, a) e = [] e += set_float_cs_eip(instr) - dst, e_fld, extra = fld(ir, instr, src) + e_fld, extra = fld(ir, instr, src) e += e_fld - return dst, e, extra + return e, extra def fldz(ir, instr): |