about summary refs log tree commit diff stats
path: root/miasm2/arch/mips32/sem.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/arch/mips32/sem.py')
-rw-r--r--miasm2/arch/mips32/sem.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/arch/mips32/sem.py b/miasm2/arch/mips32/sem.py
index 93f7d8c3..d03772ca 100644
--- a/miasm2/arch/mips32/sem.py
+++ b/miasm2/arch/mips32/sem.py
@@ -131,8 +131,8 @@ def l_and(arg1, arg2, arg3):
 
 @sbuild.parse
 def ext(arg1, arg2, arg3, arg4):
-    pos = int(arg3.arg)
-    size = int(arg4.arg)
+    pos = int(arg3)
+    size = int(arg4)
     arg1 = arg2[pos:pos + size].zeroExtend(32)
 
 @sbuild.parse
@@ -311,8 +311,8 @@ def tlbp():
 
 def ins(ir, instr, a, b, c, d):
     e = []
-    pos = int(c.arg)
-    l = int(d.arg)
+    pos = int(c)
+    l = int(d)
 
     my_slices = []
     if pos != 0: