about summary refs log tree commit diff stats
path: root/miasm2/arch/msp430/sem.py
diff options
context:
space:
mode:
authorFlorent <florent.monjalet@gmail.com>2015-10-29 15:47:55 +0100
committerFlorent <florent.monjalet@gmail.com>2015-10-29 15:47:55 +0100
commitfefb609f7ed8267815e3ab4b7467a8fada7040b8 (patch)
tree03b82bcf93d36fa36f7cdee28b36eba3c7d59d40 /miasm2/arch/msp430/sem.py
parent967be0c4e0f8d32f6bf3e8aa9f85d0abc9ab95da (diff)
parentc4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e (diff)
downloadmiasm-fefb609f7ed8267815e3ab4b7467a8fada7040b8.tar.gz
miasm-fefb609f7ed8267815e3ab4b7467a8fada7040b8.zip
Merge pull request #250 from serpilliere/ExprInt_api
Expression: normalize ExprInt api
Diffstat (limited to 'miasm2/arch/msp430/sem.py')
-rw-r--r--miasm2/arch/msp430/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/msp430/sem.py b/miasm2/arch/msp430/sem.py
index 7f753381..169a631f 100644
--- a/miasm2/arch/msp430/sem.py
+++ b/miasm2/arch/msp430/sem.py
@@ -25,7 +25,7 @@ def bcd2hex(val):
 
 
 def reset_sr_res():
-    return [ExprAff(res, ExprInt_fromsize(7, 0))]
+    return [ExprAff(res, ExprInt(0, 7))]
 
 
 def update_flag_zf(a):