about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2019-06-17 17:35:27 +0200
committerGitHub <noreply@github.com>2019-06-17 17:35:27 +0200
commitfa1bb958fdfbbe0eb5aaccb745aa97a3677c8b73 (patch)
tree8905e46ef0458d52ae19ed2aa1346263883dca1e
parent338dd94dbb83ed12467e6e2465308a35d08734d8 (diff)
parent75edf2c7ffa161a9c1705979aa42fa12f28bbac4 (diff)
downloadmiasm-fa1bb958fdfbbe0eb5aaccb745aa97a3677c8b73.tar.gz
miasm-fa1bb958fdfbbe0eb5aaccb745aa97a3677c8b73.zip
Merge pull request #1047 from Ninjananas/fix_msp430
fix typo in msp430's sem.py
-rw-r--r--miasm/arch/msp430/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/msp430/sem.py b/miasm/arch/msp430/sem.py
index 52056e5a..68605ae4 100644
--- a/miasm/arch/msp430/sem.py
+++ b/miasm/arch/msp430/sem.py
@@ -268,7 +268,7 @@ def xor_w(ir, instr, a, b):
     e += [ExprAssign(zf, ExprOp('FLAG_EQ_CMP', arg2, arg1))]
     e += update_flag_nf(res)
     e += reset_sr_res()
-    e += update_flag_cf_inv_zf(c)
+    e += update_flag_cf_inv_zf(res)
     e.append(ExprAssign(of, arg2.msb() & arg1.msb()))
 
     return e, []