about summary refs log tree commit diff stats
path: root/example/jitter/mips32.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/jitter/mips32.py')
-rw-r--r--example/jitter/mips32.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/mips32.py b/example/jitter/mips32.py
index e41096cc..20d451ab 100644
--- a/example/jitter/mips32.py
+++ b/example/jitter/mips32.py
@@ -38,7 +38,7 @@ def code_sentinelle(jitter):
     return True
 
 def jit_mips32_binary(args):
-    filepath, entryp = args.binary, int(args.addr, 16)
+    filepath, entryp = args.binary, int(args.addr, 0)
     myjit = machine.jitter(jit_type = args.jitter)
     myjit.init_stack()