comparison python/testasm.py @ 224:5af52987f5bd

Fixup of pc rel operand
author Windel Bouwman
date Tue, 09 Jul 2013 17:59:15 +0200
parents 1fa3e0050b49
children e621e3ba78d2
comparison
equal deleted inserted replaced
223:85c8105318e7 224:5af52987f5bd
184 184
185 def testLdr5(self): 185 def testLdr5(self):
186 self.feed('ldr r4, [r0 + 0]') 186 self.feed('ldr r4, [r0 + 0]')
187 self.check('0468') 187 self.check('0468')
188 188
189 @unittest.skip
190 def testLdrSpRel(self): 189 def testLdrSpRel(self):
191 self.feed('ldr r0, [sp + 4]') 190 self.feed('ldr r0, [sp + 4]')
192 self.check('0198') 191 self.check('0198')
193 192
194 @unittest.skip
195 def testStrSpRel(self): 193 def testStrSpRel(self):
196 self.feed('str r0, [sp + 4]') 194 self.feed('str r0, [sp + 4]')
197 self.check('0190') 195 self.check('0190')
198 196
199 def testCmpRegReg(self): 197 def testCmpRegReg(self):