comparison test/testarmasm.py @ 352:899ae3aea803

First kernel run for vexpressA9
author Windel Bouwman
date Sun, 09 Mar 2014 11:55:55 +0100
parents 13a6e73b448f
children 5477e499b039
comparison
equal deleted inserted replaced
351:62803b073d11 352:899ae3aea803
81 self.feed('ldr r10, lab1') 81 self.feed('ldr r10, lab1')
82 self.feed('lab1:') 82 self.feed('lab1:')
83 self.feed('dcd 0x12345566') 83 self.feed('dcd 0x12345566')
84 self.check('04509fe5 00b09fe5 04a01fe5 66553412') 84 self.check('04509fe5 00b09fe5 04a01fe5 66553412')
85 85
86 def testCmp(self):
87 self.feed('cmp r4, r11')
88 self.feed('cmp r5, 0x50000')
89 self.check('0b0054e1 050855e3')
90
86 def testSequence1(self): 91 def testSequence1(self):
87 self.feed('sub r4,r5,23') 92 self.feed('sub r4,r5,23')
88 self.feed('blt x') 93 self.feed('blt x')
89 self.feed('x:') 94 self.feed('x:')
90 self.feed('mul r4,r5,r2') 95 self.feed('mul r4,r5,r2')