about summary refs log tree commit diff stats
path: root/miasm/arch/mips32/sem.py
diff options
context:
space:
mode:
authorIridiumXOR <oliveriandrea@gmail.com>2020-05-22 18:37:38 +0200
committerIridiumXOR <oliveriandrea@gmail.com>2020-05-22 18:37:38 +0200
commitfb31ac0edc54d600579549153d631f3468215dd8 (patch)
tree70ce7ab47194fca0d4ffecb969c46b1599aac839 /miasm/arch/mips32/sem.py
parent30cee4528c5b1e9747370b6207db38b3ed56a609 (diff)
downloadmiasm-fb31ac0edc54d600579549153d631f3468215dd8.tar.gz
miasm-fb31ac0edc54d600579549153d631f3468215dd8.zip
Add test cases and fix args order
Diffstat (limited to '')
-rw-r--r--miasm/arch/mips32/sem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm/arch/mips32/sem.py b/miasm/arch/mips32/sem.py
index af858c70..4986a307 100644
--- a/miasm/arch/mips32/sem.py
+++ b/miasm/arch/mips32/sem.py
@@ -511,8 +511,8 @@ def ehb(arg1):
 
 @sbuild.parse
 def sc(arg1, arg2):
-    arg1 = arg2;
-    arg2 = ExprInt(0x1, 32)
+    arg2 = arg1;
+    arg1 = ExprInt(0x1, 32)
 
 @sbuild.parse
 def mthi(arg1):