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