diff test/testarmasm.py @ 356:52492b304adf

Added newline to print
author Windel Bouwman
date Fri, 14 Mar 2014 13:02:16 +0100
parents 5477e499b039
children c05ab629976a
line wrap: on
line diff
--- a/test/testarmasm.py	Fri Mar 14 10:30:13 2014 +0100
+++ b/test/testarmasm.py	Fri Mar 14 13:02:16 2014 +0100
@@ -41,10 +41,25 @@
         self.feed('sub r0, r1, 0x80000001')
         self.check('060141e2')
 
+    def testAnd1(self):
+        self.feed('and r9, r0, r2')
+        self.feed('and r4, r8, r6')
+        self.check('029000e0 064008e0')
+
     def testOrr1(self):
         self.feed('orr r8, r7, r6')
         self.check('068087e1')
 
+    def testLsl(self):
+        self.feed('lsl r11, r5, r3')
+        self.feed('lsl r4, r8, r6')
+        self.check('15b3a0e1 1846a0e1')
+
+    def testLsr(self):
+        self.feed('lsr r9, r0, r2')
+        self.feed('lsr r4, r8, r6')
+        self.check('3092a0e1 3846a0e1')
+
     def testBranches(self):
         self.feed('b sjakie')
         self.feed('ble sjakie')