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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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"