]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/score/syscontrol_32.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / score / syscontrol_32.s
diff --git a/gas/testsuite/gas/score/syscontrol_32.s b/gas/testsuite/gas/score/syscontrol_32.s
new file mode 100644 (file)
index 0000000..7997cb1
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * tests for system control instruction relaxation
+ *
+ * Author: libin
+ */
+
+.include "relaxation_macro.h"
+
+.text
+/* sdbbp Imm5 -> sdbbp! Imm5 */
+insn_32 "sdbbp 0"
+insn_32 "sdbbp 31"
+
+tran_16_32 "sdbbp! 0", "sdbbp 0"
+
+/* nop -> nop! */
+insn_32 "nop"
+
+tran_16_32 "nop!", "nop"