diff python/target/armtarget.py @ 322:44f336460c2a

Half of use of burg spec for arm
author Windel Bouwman
date Mon, 27 Jan 2014 19:58:07 +0100
parents 534b94b40aa8
children 6f4753202b9a
line wrap: on
line diff
--- a/python/target/armtarget.py	Sun Jan 19 18:48:45 2014 +0100
+++ b/python/target/armtarget.py	Mon Jan 27 19:58:07 2014 +0100
@@ -5,6 +5,8 @@
 from .arminstructions import Dcd, B
 from .arminstructions import R0, R1, R2, R3, R4, R5, R6, R7, LR, PC, SP
 
+from .armframe import ArmFrame
+from .arminstructionselector import ArmInstructionSelector
 
 """ ARM target description. """
 
@@ -21,6 +23,8 @@
             # TODO: fix this nicer?
             #setattr(self, i.__name__, i)
         self.check()
+        self.ins_sel = ArmInstructionSelector()
+        self.FrameClass = ArmFrame
 
     def startCode(self, outs):
         """ Emit some startup code in the output stream """