diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-07-03 22:30:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-03 22:30:57 +0200 |
| commit | 64810368f42ec90d1f604388aace5e472c500f15 (patch) | |
| tree | 164748689b80e43802a0113b557f4dd7dcbb948f | |
| parent | 4202a41f13ad0968025c64d1a0481913f675880f (diff) | |
| parent | 7f0544dada44c7ce0099bc61fd812adfebe06b01 (diff) | |
| download | miasm-64810368f42ec90d1f604388aace5e472c500f15.tar.gz miasm-64810368f42ec90d1f604388aace5e472c500f15.zip | |
Merge pull request #569 from serpilliere/fix_msp
MSP430:fix api
| -rw-r--r-- | miasm2/arch/msp430/sem.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/msp430/sem.py b/miasm2/arch/msp430/sem.py index 5bf2999f..5fd96ae2 100644 --- a/miasm2/arch/msp430/sem.py +++ b/miasm2/arch/msp430/sem.py @@ -407,8 +407,8 @@ composed_sr = ExprCompose(cf, zf, nf, gie, cpuoff, osc, scg0, scg1, of, res) def ComposeExprAff(dst, src): e = [] - for x, start, stop in dst.args: - e.append(ExprAff(x, src[start:stop])) + for start, arg in dst.iter_args(): + e.append(ExprAff(arg, src[start:start+arg.size])) return e |