Mercurial > lcfOS
comparison python/testc3.py @ 160:10330be89bc2
Started from scratch with code edit
author | Windel Bouwman |
---|---|
date | Sat, 09 Mar 2013 11:56:48 +0100 |
parents | 9683a4cd848f |
children | d8c735dc31f9 |
comparison
equal
deleted
inserted
replaced
159:5e1dd04cb61c | 160:10330be89bc2 |
---|---|
84 x86gen.genBin(i) | 84 x86gen.genBin(i) |
85 | 85 |
86 with open('dummydummy.asm', 'w') as f: | 86 with open('dummydummy.asm', 'w') as f: |
87 f.write('bits 64\n') | 87 f.write('bits 64\n') |
88 for a in x86gen.asm: | 88 for a in x86gen.asm: |
89 print(a) | |
89 f.write(str(a) + '\n') | 90 f.write(str(a) + '\n') |
90 else: | 91 else: |
91 print('Not generating code') | 92 print('Not generating code') |
92 | 93 |
93 def do(): | 94 def do(): |