Mercurial > lcfOS
diff test/testarmasm.py @ 354:5477e499b039
Added some sort of string functionality
author | Windel Bouwman |
---|---|
date | Thu, 13 Mar 2014 18:59:06 +0100 |
parents | 899ae3aea803 |
children | 52492b304adf |
line wrap: on
line diff
--- a/test/testarmasm.py Sun Mar 09 18:49:10 2014 +0100 +++ b/test/testarmasm.py Thu Mar 13 18:59:06 2014 +0100 @@ -95,6 +95,16 @@ self.feed('mul r4,r5,r2') self.check('174045e2 ffffffba 950204e0') + def testAdr(self): + self.feed('adr r5, cval') + self.feed('adr r9, cval') + self.feed('adr r8, cval') + self.feed('cval:') + self.feed('adr r11, cval') + self.feed('adr r12, cval') + self.feed('adr r1, cval') + self.check('04508fe2 00908fe2 04804fe2 08b04fe2 0cc04fe2 10104fe2') + if __name__ == '__main__': unittest.main()