Mercurial > lcfOS
diff python/target/armtarget.py @ 334:6f4753202b9a
Added more recipes
author | Windel Bouwman |
---|---|
date | Thu, 13 Feb 2014 22:02:08 +0100 |
parents | 44f336460c2a |
children | c7cc54c0dfdf |
line wrap: on
line diff
--- a/python/target/armtarget.py Sun Feb 09 15:27:57 2014 +0100 +++ b/python/target/armtarget.py Thu Feb 13 22:02:08 2014 +0100 @@ -25,12 +25,3 @@ self.check() self.ins_sel = ArmInstructionSelector() self.FrameClass = ArmFrame - - def startCode(self, outs): - """ Emit some startup code in the output stream """ - outs.selectSection('code') - # assembly glue to make it work: - # TODO: this must be in source code, not in compiler - outs.emit(Dcd(Imm32(0x20000678))) # initial SP - outs.emit(Dcd(Imm32(0x08000009))) # reset vector - outs.emit(B(LabelRef('main')))