about summary refs log tree commit diff stats
path: root/test/arch/msp430/sem.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/arch/msp430/sem.py')
-rw-r--r--test/arch/msp430/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arch/msp430/sem.py b/test/arch/msp430/sem.py
index 5340a4d2..2488d633 100644
--- a/test/arch/msp430/sem.py
+++ b/test/arch/msp430/sem.py
@@ -14,7 +14,7 @@ logging.getLogger('cpuhelper').setLevel(logging.ERROR)
 EXCLUDE_REGS = set([res, ir_arch().IRDst])
 
 def M(addr):
-    return ExprMem(ExprInt_fromsize(16, addr), 16)
+    return ExprMem(ExprInt(addr, 16), 16)
 
 
 def compute(asm, inputstate={}, debug=False):