Mercurial > lcfOS
diff python/testasm.py @ 234:83781bd10fdb
wip
author | Windel Bouwman |
---|---|
date | Sun, 14 Jul 2013 19:29:21 +0200 |
parents | e621e3ba78d2 |
children | 8786811a5a59 |
line wrap: on
line diff
--- a/python/testasm.py Sun Jul 14 12:28:23 2013 +0200 +++ b/python/testasm.py Sun Jul 14 19:29:21 2013 +0200 @@ -194,6 +194,12 @@ self.feed('str r0, [sp + 4]') self.check('0190') + def testLdrPcRel(self): + self.feed('ldr r1, henkie') + self.feed('dcd 1') + self.feed('henkie: dcd 2') + self.check('04490100000002000000') + def testCmpRegReg(self): self.feed('cmp r0, r1') self.check('8842')