Mercurial > lcfOS
diff python/testasm.py @ 219:1fa3e0050b49
Expanded ad hoc code generator
author | Windel Bouwman |
---|---|
date | Sat, 06 Jul 2013 12:38:09 +0200 |
parents | 494828a7adf1 |
children | 5af52987f5bd |
line wrap: on
line diff
--- a/python/testasm.py Fri Jul 05 15:30:22 2013 +0200 +++ b/python/testasm.py Sat Jul 06 12:38:09 2013 +0200 @@ -186,6 +186,16 @@ self.feed('ldr r4, [r0 + 0]') self.check('0468') + @unittest.skip + def testLdrSpRel(self): + self.feed('ldr r0, [sp + 4]') + self.check('0198') + + @unittest.skip + def testStrSpRel(self): + self.feed('str r0, [sp + 4]') + self.check('0190') + def testCmpRegReg(self): self.feed('cmp r0, r1') self.check('8842')