comparison 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
comparison
equal deleted inserted replaced
200:5e391d9a3381 201:d5debbfc0200
50 50
51 class ANumber(AExpression): 51 class ANumber(AExpression):
52 def __init__(self, n): 52 def __init__(self, n):
53 assert type(n) is int 53 assert type(n) is int
54 self.n = n 54 self.n = n
55 self.number = n
55 def __repr__(self): 56 def __repr__(self):
56 return '{0}'.format(self.n) 57 return '{0}'.format(self.n)
57 58