diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2015-10-28 23:36:20 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-10-29 21:40:20 +0100 |
| commit | e401e48b6e074c27eda658bd578f705bf07410b0 (patch) | |
| tree | 6f1e44274be3cb94955bc243e851eea174cc7826 /miasm2/core/parse_asm.py | |
| parent | 06fee2b133cd4e2d734d9e164de8028c26c636a8 (diff) | |
| download | focaccia-miasm-e401e48b6e074c27eda658bd578f705bf07410b0.tar.gz focaccia-miasm-e401e48b6e074c27eda658bd578f705bf07410b0.zip | |
Core/parse_asm: align support int/hex
Diffstat (limited to 'miasm2/core/parse_asm.py')
| -rw-r--r-- | miasm2/core/parse_asm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py index 2f409172..8f193705 100644 --- a/miasm2/core/parse_asm.py +++ b/miasm2/core/parse_asm.py @@ -194,7 +194,7 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None): lines.append(DirectiveDontSplit()) continue if directive == "align": - align_value = int(line[match_re.end():]) + align_value = int(line[match_re.end():], 0) lines.append(DirectiveAlign(align_value)) continue if directive in ['file', 'intel_syntax', 'globl', 'local', |