COUNTING TO 100 MILLION TEST

This commit is contained in:
SpookyDervish
2025-09-07 13:38:16 +10:00
parent cf1ea42232
commit 47e3e503b8
10 changed files with 198 additions and 59 deletions

View File

@@ -27,14 +27,15 @@ def main():
traceback(code, "fatal error", f"unkown architecture \"{arch}\"")
generator.init()
compile_time = time()-start
print(f"Compiled in {round(compile_time, 3)} seconds.")
system(f"nasm -felf64 {out_path}.asm")
system(f"ld -m elf_{arch} -o {out_path} {out_path}.o")
remove(out_path + ".o")
#remove(out_path + ".asm")
compile_time = time()-start
print(f"Compiled in {round(compile_time, 3)} seconds.")
if __name__ == "__main__":
main()