diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-06-13 14:07:59 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-06-13 14:07:59 +0200 |
| commit | 7f0544dada44c7ce0099bc61fd812adfebe06b01 (patch) | |
| tree | 8eb7ecb7d64fd9095bd6d4366f6c6acaac339360 | |
| parent | 443a811aa92a31d3c2ae89937c5abb497bcc30ff (diff) | |
| download | miasm-7f0544dada44c7ce0099bc61fd812adfebe06b01.tar.gz miasm-7f0544dada44c7ce0099bc61fd812adfebe06b01.zip | |
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 |