about summary refs log tree commit diff stats
path: root/miasm2/core/parse_asm.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/core/parse_asm.py')
-rw-r--r--miasm2/core/parse_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py
index 3a5751ac..1df8e85b 100644
--- a/miasm2/core/parse_asm.py
+++ b/miasm2/core/parse_asm.py
@@ -134,7 +134,7 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None, gen_label_index=0):
                 base_expr = gen_base_expr()[2]
                 my_var_parser = parse_ast(lambda x: m2_expr.ExprId(x, size),
                                           lambda x:
-                                              m2_expr.ExprInt_fromsize(size, x))
+                                              m2_expr.ExprInt(x, size))
                 base_expr.setParseAction(my_var_parser)
 
                 for b in data_raw: