Mercurial > lcfOS
comparison test/testmsp430asm.py @ 348:442fb043d149
Added log option to zcc
author | Windel Bouwman |
---|---|
date | Sat, 08 Mar 2014 15:32:33 +0100 |
parents | 3bb7dcfe5529 |
children | 6df89163e114 |
comparison
equal
deleted
inserted
replaced
346:3bb7dcfe5529 | 348:442fb043d149 |
---|---|
12 class Msp430AssemblerTestCase(AsmTestCaseBase): | 12 class Msp430AssemblerTestCase(AsmTestCaseBase): |
13 def setUp(self): | 13 def setUp(self): |
14 self.t = msp430target | 14 self.t = msp430target |
15 self.obj = ObjectFile() | 15 self.obj = ObjectFile() |
16 self.ostream = BinaryOutputStream(self.obj) | 16 self.ostream = BinaryOutputStream(self.obj) |
17 self.ostream.selectSection('.text') | 17 self.ostream.select_section('.text') |
18 self.a = a | 18 self.a = a |
19 | 19 |
20 def testMov(self): | 20 def testMov(self): |
21 self.feed("mov r14, r15") | 21 self.feed("mov r14, r15") |
22 self.check('0F4E') | 22 self.check('0F4E') |