Mercurial > lcfOS
comparison python/asm.py @ 235:ff40407c0240
Fix ALabel to Label
author | Windel Bouwman |
---|---|
date | Mon, 15 Jul 2013 17:20:37 +0200 |
parents | 1fa3e0050b49 |
children | 8786811a5a59 |
comparison
equal
deleted
inserted
replaced
234:83781bd10fdb | 235:ff40407c0240 |
---|---|
191 self.binout.extend(b) | 191 self.binout.extend(b) |
192 | 192 |
193 def back_patch(self): | 193 def back_patch(self): |
194 """ Fix references to earlier labels """ | 194 """ Fix references to earlier labels """ |
195 pass | 195 pass |
196 #self.output.backpatch() | |
196 | 197 |
197 | 198 |
198 if __name__ == '__main__': | 199 if __name__ == '__main__': |
199 # When run as main file, try to grab command line arguments: | 200 # When run as main file, try to grab command line arguments: |
200 parser = argparse.ArgumentParser(description="Assembler") | 201 parser = argparse.ArgumentParser(description="Assembler") |