comparison python/ppci/target/msp430/registers.py @ 342:86b02c98a717 devel

Moved target directory
author Windel Bouwman
date Sat, 01 Mar 2014 15:40:31 +0100
parents
children
comparison
equal deleted inserted replaced
341:4d204f6f7d4e 342:86b02c98a717
1
2 from ..basetarget import Register
3
4 class Msp430Register(Register):
5 def __init__(self, num, name):
6 super().__init__(name)
7 self.num = num
8
9 # 8 bit registers:
10 PCB = Msp430Register(0, 'r0')
11 rpc = PCB
12 r10 = Msp430Register(10, 'r10')
13 r11 = Msp430Register(11, 'r11')
14 r12 = Msp430Register(12, 'r12')
15 r13 = Msp430Register(13, 'r13')
16 r14 = Msp430Register(14, 'r14')
17 r15 = Msp430Register(15, 'r15')
18