diff 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
line wrap: on
line diff
--- a/test/testarmasm.py	Sat Mar 08 16:46:51 2014 +0100
+++ b/test/testarmasm.py	Sun Mar 09 11:55:55 2014 +0100
@@ -83,6 +83,11 @@
         self.feed('dcd 0x12345566')
         self.check('04509fe5 00b09fe5 04a01fe5 66553412')
 
+    def testCmp(self):
+        self.feed('cmp r4, r11')
+        self.feed('cmp r5, 0x50000')
+        self.check('0b0054e1 050855e3')
+
     def testSequence1(self):
         self.feed('sub r4,r5,23')
         self.feed('blt x')