From e401e48b6e074c27eda658bd578f705bf07410b0 Mon Sep 17 00:00:00 2001 From: serpilliere Date: Wed, 28 Oct 2015 23:36:20 +0100 Subject: Core/parse_asm: align support int/hex --- miasm2/core/parse_asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2/core/parse_asm.py') 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', -- cgit 1.4.1