about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/sem.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2019-01-16 15:10:22 +0100
committerGitHub <noreply@github.com>2019-01-16 15:10:22 +0100
commit28285a330da5fd586e31dceb152a35c6171698ba (patch)
treeb9f3649a1c0d0bacef142bfcf2b98310c89a5f70 /miasm2/arch/arm/sem.py
parent026069748a814259018ddc660e0a3d43cc0d681c (diff)
parente8a12bea1445afd764f4ef7075075a773fe84677 (diff)
downloadmiasm-28285a330da5fd586e31dceb152a35c6171698ba.tar.gz
miasm-28285a330da5fd586e31dceb152a35c6171698ba.zip
Merge pull request #942 from serpilliere/rename_idiv_sdiv
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)