diff test/testmsp430asm.py @ 381:6df89163e114

Fix section and ldr pseudo instruction
author Windel Bouwman
date Sat, 26 Apr 2014 17:41:56 +0200
parents 442fb043d149
children 173e20a47fda
line wrap: on
line diff
--- a/test/testmsp430asm.py	Fri Apr 18 13:08:45 2014 +0200
+++ b/test/testmsp430asm.py	Sat Apr 26 17:41:56 2014 +0200
@@ -1,13 +1,11 @@
 #!/usr/bin/python
 
 import unittest
-from ppci.assembler import tokenize, Assembler
 from ppci.objectfile import ObjectFile
 from ppci.outstream import BinaryOutputStream
 from ppci.target.target_list import msp430target
 from testasm import AsmTestCaseBase
 
-a = Assembler(msp430target)
 
 class Msp430AssemblerTestCase(AsmTestCaseBase):
     def setUp(self):
@@ -15,7 +13,7 @@
         self.obj = ObjectFile()
         self.ostream = BinaryOutputStream(self.obj)
         self.ostream.select_section('.text')
-        self.a = a
+        self.assembler = msp430target.assembler
 
     def testMov(self):
         self.feed("mov r14, r15")