X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fscore%2Fsyscontrol_32.s;fp=gas%2Ftestsuite%2Fgas%2Fscore%2Fsyscontrol_32.s;h=7997cb10be9bc2cc7615b453c73a8bf4c2953d04;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/score/syscontrol_32.s b/gas/testsuite/gas/score/syscontrol_32.s new file mode 100644 index 0000000..7997cb1 --- /dev/null +++ b/gas/testsuite/gas/score/syscontrol_32.s @@ -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"