Mercurial > lcfOS
comparison test/testthumbasm.py @ 385:d056b552d3f4
Made better use of layout
author | Windel Bouwman |
---|---|
date | Thu, 01 May 2014 14:03:12 +0200 |
parents | 173e20a47fda |
children |
comparison
equal
deleted
inserted
replaced
384:94f5b719ad0b | 385:d056b552d3f4 |
---|---|
5 from ppci.target.target_list import thumb_target | 5 from ppci.target.target_list import thumb_target |
6 | 6 |
7 | 7 |
8 class ThumbAssemblerTestCase(AsmTestCaseBase): | 8 class ThumbAssemblerTestCase(AsmTestCaseBase): |
9 def setUp(self): | 9 def setUp(self): |
10 self.t = thumb_target | 10 self.target = thumb_target |
11 self.obj = ObjectFile() | 11 self.obj = ObjectFile() |
12 self.ostream = BinaryOutputStream(self.obj) | 12 self.ostream = BinaryOutputStream(self.obj) |
13 self.ostream.select_section('code') | 13 self.ostream.select_section('code') |
14 self.assembler = thumb_target.assembler | 14 self.assembler = thumb_target.assembler |
15 | 15 |