From 27a53280bdc299c109ded667b529620e332dfd43 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Tue, 15 Aug 2023 09:11:07 -0700 Subject: [PATCH] InstCountCI: Fixes bitness in script --- Scripts/InstructionCountParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/InstructionCountParser.py b/Scripts/InstructionCountParser.py index b84905cfd..5605cebdc 100755 --- a/Scripts/InstructionCountParser.py +++ b/Scripts/InstructionCountParser.py @@ -102,7 +102,7 @@ def parse_json_data(json_data, output_binary_path): logging.info("'{}' -> '{}' -> '{}'".format(key, tmp_asm, tmp_asm_out)) with open(tmp_asm, "w") as tmp_asm_file: - tmp_asm_file.write("BITS 64;\n") + tmp_asm_file.write("BITS {};\n".format(Bitness)) tmp_asm_file.write("{}\n".format(key)) Process = subprocess.Popen(["nasm", tmp_asm, "-o", tmp_asm_out])