diff python/outstream.py @ 341:4d204f6f7d4e devel

Rewrite of assembler parts
author Windel Bouwman
date Fri, 28 Feb 2014 18:07:14 +0100
parents b00219172a42
children
line wrap: on
line diff
--- a/python/outstream.py	Sun Feb 23 16:24:01 2014 +0100
+++ b/python/outstream.py	Fri Feb 28 18:07:14 2014 +0100
@@ -48,7 +48,7 @@
 
     def emit(self, item):
         """ Encode instruction and add symbol and relocation information """
-        assert isinstance(item, Instruction)
+        assert isinstance(item, Instruction), str(item) + str(type(item))
         assert self.currentSection
         section = self.currentSection
         address = self.currentSection.Size