diff options
| -rw-r--r-- | miasm2/arch/msp430/arch.py | 2 | ||||
| -rw-r--r-- | miasm2/arch/x86/arch.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/msp430/arch.py b/miasm2/arch/msp430/arch.py index 038c327f..02e3ca60 100644 --- a/miasm2/arch/msp430/arch.py +++ b/miasm2/arch/msp430/arch.py @@ -498,7 +498,7 @@ class bs_cond_off_s(bs_cond): raise NotImplementedError("unknown value v[a_s] = %d" % v['a_s']) def encode(self): - return super(bs_cond, self).encode() + return super(bs_cond_off_s, self).encode() def decode(self, v): if self.l == 0: diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py index e9103ace..8f9a1f79 100644 --- a/miasm2/arch/x86/arch.py +++ b/miasm2/arch/x86/arch.py @@ -2589,7 +2589,7 @@ class bs_cond_scale(bs_cond): self.value = 0 self.l = 0 return True - return super(bs_cond, self).encode() + return super(bs_cond_scale, self).encode() def decode(self, v): self.value = v |