]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/arm/archv6m.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / arm / archv6m.s
diff --git a/gas/testsuite/gas/arm/archv6m.s b/gas/testsuite/gas/arm/archv6m.s
new file mode 100644 (file)
index 0000000..013bba9
--- /dev/null
@@ -0,0 +1,20 @@
+       .arch   armv6-m
+       .syntax unified
+       .thumb
+       .text
+       .align  2
+       .global foo
+foo:
+       msr apsr,r6
+       msr epsr,r9
+       mrs r2, iapsr
+       yield
+       wfe
+       wfi
+       sev
+       add r0, r0, r1
+       nop
+       dmb
+       dsb
+       isb
+