diff python/asmnodes.py @ 201:d5debbfc0200

Added all 27 core instructions of msp430
author Windel Bouwman
date Thu, 13 Jun 2013 00:07:28 +0200
parents 5e391d9a3381
children ca1ea402f6a1
line wrap: on
line diff
--- a/python/asmnodes.py	Sun Jun 09 16:06:49 2013 +0200
+++ b/python/asmnodes.py	Thu Jun 13 00:07:28 2013 +0200
@@ -52,6 +52,7 @@
     def __init__(self, n):
         assert type(n) is int
         self.n = n
+        self.number = n
     def __repr__(self):
         return '{0}'.format(self.n)