diff python/ppci/buildfunctions.py @ 386:2a970e7270e2

Added repeat assembler macro
author Windel Bouwman
date Thu, 01 May 2014 17:40:59 +0200
parents d056b552d3f4
children 6ae782a085e0
line wrap: on
line diff
--- a/python/ppci/buildfunctions.py	Thu May 01 14:03:12 2014 +0200
+++ b/python/ppci/buildfunctions.py	Thu May 01 17:40:59 2014 +0200
@@ -75,6 +75,7 @@
     logger.debug('Assembling into code section')
     ostream = BinaryAndLoggingStream(output)
     ostream.select_section('code')
+    assembler.prepare()
     assembler.assemble(source, ostream)
     assembler.flush()
     return output