diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-12 14:10:28 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-12 14:10:28 +0100 |
| commit | 8a27a796ffd54a6a3958745ab7b7ee45c11d613f (patch) | |
| tree | b1eb3a6c1a97cc098e6e0bc499f60456329a15ec | |
| parent | 5d0d3e5675005d38bfc926a3fe025182ade50720 (diff) | |
| download | miasm-8a27a796ffd54a6a3958745ab7b7ee45c11d613f.tar.gz miasm-8a27a796ffd54a6a3958745ab7b7ee45c11d613f.zip | |
X86: add movqu
| -rw-r--r-- | miasm2/arch/x86/sem.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 73ce8d1a..93e24350 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -2882,6 +2882,15 @@ def movd(ir, instr, a, b): e.append(ExprAff(a, b[0:32])) return e, [] +def movdqu(ir, instr, a, b): + e = [] + if isinstance(a, ExprMem): + a = ExprMem(a.arg, b.size) + elif isinstance(b, ExprMem): + b = ExprMem(b.arg, a.size) + e.append(ExprAff(a, b)) + return e, [] + def xorps(ir, instr, a, b): e = [] @@ -3275,6 +3284,7 @@ mnemo_func = {'mov': mov, "fnclex": fnclex, "str": l_str, "movd": movd, + "movdqu":movdqu, "movaps": movaps, "xorps": xorps, |