COUNTING TO 100 MILLION TEST
This commit is contained in:
5
main.py
5
main.py
@@ -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()
|
||||
|
Reference in New Issue
Block a user