about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2014-09-05 14:20:31 +0200
committerCamille Mougey <camille.mougey@cea.fr>2014-09-05 14:20:31 +0200
commit5da3d8a17178a50bf2ced4b0d7d456ff121a25e9 (patch)
tree3310f741ba2fbca378ca789f97208d42686bfd56 /miasm2/arch/x86/sem.py
parent8c89e4546b5ef86747eee5e94127c6a77581e0d0 (diff)
downloadmiasm-5da3d8a17178a50bf2ced4b0d7d456ff121a25e9.tar.gz
miasm-5da3d8a17178a50bf2ced4b0d7d456ff121a25e9.zip
x86 sem: Typo
Diffstat (limited to '')
-rw-r--r--miasm2/arch/x86/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index bba53a14..aac61dbf 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -1575,7 +1575,7 @@ def cqo(ir, instr):
     e = []
     tempRAX = mRAX[instr.mode][:64]
     tempRDX = mRDX[instr.mode][:64]
-    c = tempEAX.signExtend(128)
+    c = tempRAX.signExtend(128)
     e.append(ExprAff(tempRAX, c[:64]))
     e.append(ExprAff(tempRDX, c[64:127]))
     return e, []