Mercurial > lcfOS
comparison python/ppci/target/msp430/msp430.py @ 398:c0d9837acde8
x86 target refactor
author | Windel Bouwman |
---|---|
date | Thu, 29 May 2014 12:13:37 +0200 |
parents | 6df89163e114 |
children |
comparison
equal
deleted
inserted
replaced
397:5d03c10fe19d | 398:c0d9837acde8 |
---|---|
47 self.add_keyword('reti') | 47 self.add_keyword('reti') |
48 self.add_instruction(['reti'], lambda rhs: Reti()) | 48 self.add_instruction(['reti'], lambda rhs: Reti()) |
49 | 49 |
50 self.assembler = Msp430Assembler(self) | 50 self.assembler = Msp430Assembler(self) |
51 | 51 |
52 self.registers.append(r10) | |
53 self.registers.append(r11) | |
54 self.registers.append(r12) | |
55 self.registers.append(r13) | |
56 self.registers.append(r14) | |
57 self.registers.append(r15) | |
52 | 58 |
53 msp430target = Msp430Target() | |
54 | 59 |
55 | 60 |
56 # Target description for the MSP430 processor | 61 # Target description for the MSP430 processor |
57 | 62 |
58 | 63 |
59 msp430target.registers.append(r10) | |
60 msp430target.registers.append(r11) | |
61 msp430target.registers.append(r12) | |
62 msp430target.registers.append(r13) | |
63 msp430target.registers.append(r14) | |
64 msp430target.registers.append(r15) | |
65 | 64 |