about summary refs log tree commit diff stats
path: root/test/arch/msp430/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-05-18 14:43:57 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-06-09 00:33:48 +0200
commit61551fa78e9dd22ed1f982b4fe171fd6383c39a6 (patch)
treeb10543391f9a66ddd5e3f6852c30d96b169b623d /test/arch/msp430/sem.py
parenta2637cdf0b40df074865d23a7fd71f082ad7f40a (diff)
downloadmiasm-61551fa78e9dd22ed1f982b4fe171fd6383c39a6.tar.gz
miasm-61551fa78e9dd22ed1f982b4fe171fd6383c39a6.zip
Core: replace AsmLabel by LocKey
Diffstat (limited to 'test/arch/msp430/sem.py')
-rwxr-xr-xtest/arch/msp430/sem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/arch/msp430/sem.py b/test/arch/msp430/sem.py
index a7a9e4be..6693a6f0 100755
--- a/test/arch/msp430/sem.py
+++ b/test/arch/msp430/sem.py
@@ -26,8 +26,8 @@ def compute(asm, inputstate={}, debug=False):
     code = mn.asm(instr)[0]
     instr = mn.dis(code, mode)
     instr.offset = inputstate.get(PC, 0)
-    lbl = interm.add_instr(instr)
-    symexec.run_at(lbl, step=True)
+    loc_key = interm.add_instr(instr)
+    symexec.run_at(loc_key)
     if debug:
         for k, v in symexec.symbols.items():
             if regs_init.get(k, None) != v: