diff python/testasm.py @ 207:8b2f20aae086

cleaning of files
author Windel Bouwman
date Sat, 29 Jun 2013 10:05:42 +0200
parents 6c6bf8890d8a
children 62386bcee1ba
line wrap: on
line diff
--- a/python/testasm.py	Fri Jun 28 16:49:38 2013 +0200
+++ b/python/testasm.py	Sat Jun 29 10:05:42 2013 +0200
@@ -183,10 +183,7 @@
         self.feed('add r4, r5, 0')
         self.feed('loop: add r6, r4, 7')
         self.feed('cmp r6, 5')
-        #self.a.assemble('ble loop')
-        #self.assertEqual(bytes.fromhex('0325 2c1c e61d 052e fcdd'), self.a.binout)
-        self.assertEqual(bytes.fromhex('0325 2c1c e61d 052e'), self.a.binout) # without branch
-
+        self.check('0325 2c1c e61d 052e')
 
 if __name__ == '__main__':
     #cProfile.run('unittest.main()')