Update README.md
Browse files
README.md
CHANGED
@@ -49,7 +49,8 @@ for opt_state in OPT:
|
|
49 |
subprocess.run(compile_command, shell=True, check=True)
|
50 |
|
51 |
input_asm = ''
|
52 |
-
|
|
|
53 |
asm = asm.split('Disassembly of section .text:')[-1].strip()
|
54 |
for tmp in asm.split('\n'):
|
55 |
tmp_asm = tmp.split('\t')[-1]#remove the binary code
|
|
|
49 |
subprocess.run(compile_command, shell=True, check=True)
|
50 |
|
51 |
input_asm = ''
|
52 |
+
with open(output_file+'.s') as f:#asm file
|
53 |
+
asm= f.read()
|
54 |
asm = asm.split('Disassembly of section .text:')[-1].strip()
|
55 |
for tmp in asm.split('\n'):
|
56 |
tmp_asm = tmp.split('\t')[-1]#remove the binary code
|