diff python/target.py @ 205:d77cb5962cc5

Added some handcoded arm code generation
author Windel Bouwman
date Sun, 23 Jun 2013 18:23:18 +0200
parents ca1ea402f6a1
children 6c6bf8890d8a
line wrap: on
line diff
--- a/python/target.py	Fri Jun 21 15:01:08 2013 +0200
+++ b/python/target.py	Sun Jun 23 18:23:18 2013 +0200
@@ -16,7 +16,7 @@
 
 class Instruction:
     def encode(self):
-        raise NotImplementedError('TODO')
+        raise NotImplementedError('Instruction {0} has no encode yet, TODO'.format(type(self)))
 
 class Target:
     def __init__(self, name, desc=''):