diff options
| author | Ajax <commial@gmail.com> | 2017-04-06 16:23:55 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2017-04-18 16:09:05 +0200 |
| commit | dd102a77d2c2eadbbc3f9fa2236a90bf9e22ec5f (patch) | |
| tree | 9b04fd6454a48a091dfe3ace8ef54c4a8d17ccaa /miasm2/arch/msp430/regs.py | |
| parent | ab619c80e3deb7088700e465ec62f917fd18150a (diff) | |
| download | miasm-dd102a77d2c2eadbbc3f9fa2236a90bf9e22ec5f.tar.gz miasm-dd102a77d2c2eadbbc3f9fa2236a90bf9e22ec5f.zip | |
Introduce attrib_to_regs: map attrib to corresponding registers
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/msp430/regs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/miasm2/arch/msp430/regs.py b/miasm2/arch/msp430/regs.py index 1e35029f..11385779 100644 --- a/miasm2/arch/msp430/regs.py +++ b/miasm2/arch/msp430/regs.py @@ -92,6 +92,11 @@ all_regs_ids = [ all_regs_ids_no_alias = all_regs_ids +attrib_to_regs = { + 'l': all_regs_ids_no_alias, + 'b': all_regs_ids_no_alias, +} + all_regs_ids_byname = dict([(x.name, x) for x in all_regs_ids]) all_regs_ids_init = [PC_init, SP_init, SR_init, R3_init, |