comparison python/codegenarm.py @ 256:225f444019b1

Added build and flash menu option
author Windel Bouwman
date Sun, 04 Aug 2013 18:32:04 +0200
parents 7416c923a02a
children 04c19282a5aa
comparison
equal deleted inserted replaced
255:7416c923a02a 256:225f444019b1
60 self.emit(Label(l)) 60 self.emit(Label(l))
61 self.dcd(v) 61 self.dcd(v)
62 self.align() 62 self.align()
63 self.outs.backpatch() 63 self.outs.backpatch()
64 self.outs.backpatch() 64 self.outs.backpatch()
65 code = self.outs.getSection('code').to_bytes()
66 self.logger.info('Generated {} bytes code'.format(len(code)))
65 67
66 def dcd(self, x): 68 def dcd(self, x):
67 self.emit(arm.dcd_ins(Imm32(x))) 69 self.emit(arm.dcd_ins(Imm32(x)))
68 70
69 def align(self): 71 def align(self):