comparison python/ppci/assembler.py @ 336:d1ecc493384e

Added spiffy armtoken class for bit fiddeling. Added cool test that checks for build repeatability
author Windel Bouwman
date Wed, 19 Feb 2014 22:32:15 +0100
parents 6f4753202b9a
children b00219172a42
comparison
equal deleted inserted replaced
335:582a1aaa3983 336:d1ecc493384e
149 149
150 # Pre construct parser to save time: 150 # Pre construct parser to save time:
151 asmParser = Parser() 151 asmParser = Parser()
152 152
153 class Assembler: 153 class Assembler:
154 def __init__(self, target=None, stream=None): 154 def __init__(self, target, stream):
155 self.target = target 155 self.target = target
156 self.stream = stream 156 self.stream = stream
157 self.restart() 157 self.restart()
158 self.p = asmParser 158 self.p = asmParser
159 159