diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-01-15 08:13:09 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-01-15 08:13:09 +0100 |
| commit | e8a12bea1445afd764f4ef7075075a773fe84677 (patch) | |
| tree | 4cbe00760c2b888255e273d3ce7adbf1b0599918 /miasm2/arch/mips32/sem.py | |
| parent | 056ef4cd26c98cd8b9c121f2a791c01c5a7052a8 (diff) | |
| download | miasm-e8a12bea1445afd764f4ef7075075a773fe84677.tar.gz miasm-e8a12bea1445afd764f4ef7075075a773fe84677.zip | |
Rename idiv/imod into sdiv/smod
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/mips32/sem.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/mips32/sem.py b/miasm2/arch/mips32/sem.py index a57d2200..62a85355 100644 --- a/miasm2/arch/mips32/sem.py +++ b/miasm2/arch/mips32/sem.py @@ -393,8 +393,8 @@ def multu(arg1, arg2): @sbuild.parse def div(arg1, arg2): """Divide (signed) @arg1 by @arg2 and stores the remaining/result in $R_HI/$R_LO""" - R_LO = ExprOp('idiv' ,arg1, arg2) - R_HI = ExprOp('imod', arg1, arg2) + R_LO = ExprOp('sdiv' ,arg1, arg2) + R_HI = ExprOp('smod', arg1, arg2) @sbuild.parse def divu(arg1, arg2): |