comparison python/testasm.py @ 251:6ed3d3a82a63

Added another c3 example. First import attempt
author Windel Bouwman
date Mon, 29 Jul 2013 20:23:13 +0200
parents 90637d1bbfad
children ed14e077124c
comparison
equal deleted inserted replaced
250:f5fba5b554d7 251:6ed3d3a82a63
240 self.feed('b henkie') 240 self.feed('b henkie')
241 self.feed('b henkie') 241 self.feed('b henkie')
242 self.feed('b henkie') 242 self.feed('b henkie')
243 self.feed('b henkie') 243 self.feed('b henkie')
244 self.check('05e004e0 03e002e0 01e000e0 ffe7fee7 fde7fce7 fbe7') 244 self.check('05e004e0 03e002e0 01e000e0 ffe7fee7 fde7fce7 fbe7')
245
246 def testBl(self):
247 self.feed('bl henkie')
248 self.feed('bl henkie')
249 self.feed('henkie:')
250 self.feed('bl henkie')
251 self.feed('bl henkie')
252 self.check('00f0 02f8 00f0 00f8 fff7 feff fff7 fcff')
245 253
246 def testCmpRegReg(self): 254 def testCmpRegReg(self):
247 self.feed('cmp r0, r1') 255 self.feed('cmp r0, r1')
248 self.check('8842') 256 self.check('8842')
249 257