about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-15 08:13:09 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-15 08:13:09 +0100
commite8a12bea1445afd764f4ef7075075a773fe84677 (patch)
tree4cbe00760c2b888255e273d3ce7adbf1b0599918 /miasm2/arch/arm/sem.py
parent056ef4cd26c98cd8b9c121f2a791c01c5a7052a8 (diff)
downloadmiasm-e8a12bea1445afd764f4ef7075075a773fe84677.tar.gz
miasm-e8a12bea1445afd764f4ef7075075a773fe84677.zip
Rename idiv/imod into sdiv/smod
Diffstat (limited to 'miasm2/arch/arm/sem.py')
-rw-r--r--miasm2/arch/arm/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py
index b5ab60d0..64403206 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -592,7 +592,7 @@ def sdiv(ir, instr, a, b, c=None):
 
 
 
-    r = ExprOp("idiv", b, c)
+    r = ExprOp("sdiv", b, c)
     do_div = []
     do_div.append(ExprAssign(a, r))
     dst = get_dst(a)