]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/lm32/csr.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / lm32 / csr.s
diff --git a/gas/testsuite/gas/lm32/csr.s b/gas/testsuite/gas/lm32/csr.s
new file mode 100644 (file)
index 0000000..6f3e17e
--- /dev/null
@@ -0,0 +1,20 @@
+                
+        wcsr    IE, r0
+        wcsr    IE, r31
+        wcsr    IM, r0
+        wcsr    IM, r31
+        wcsr    ICC, r0
+        wcsr    ICC, r31
+        wcsr    DCC, r0
+        wcsr    DCC, r31
+        
+        rcsr    r0, IE
+        rcsr    r31, IE
+        rcsr    r0, IM
+        rcsr    r31, IM
+        rcsr    r0, IP
+        rcsr    r31, IP
+        rcsr    r0, CC
+        rcsr    r31, CC
+        rcsr    r0, CFG
+        rcsr    r31, CFG