diff python/ppci/target/basetarget.py @ 381:6df89163e114

Fix section and ldr pseudo instruction
author Windel Bouwman
date Sat, 26 Apr 2014 17:41:56 +0200
parents 39bf68bf1891
children d056b552d3f4
line wrap: on
line diff
--- a/python/ppci/target/basetarget.py	Fri Apr 18 13:08:45 2014 +0200
+++ b/python/ppci/target/basetarget.py	Sat Apr 26 17:41:56 2014 +0200
@@ -16,6 +16,9 @@
     def symbols(self):
         return []
 
+    def literals(self, add_literal):
+        pass
+
 
 class Nop(Instruction):
     """ Instruction that does nothing and has zero size """
@@ -138,6 +141,7 @@
             if isinstance(im.assem, Instruction):
                 outs.emit(im.assem)
             else:
+                # TODO assert isinstance(Abs
                 ins = self.lower_functions[im.assem](im)
                 outs.emit(ins)