Stop indexed move byte instructions from being relaxed.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m68hc11 / m68hc11.exp
index 8764777742ac28878ae4ff44928e1b7710831bf3..2bfa8803aab5b17f99115b891f1176c9debe332e 100644 (file)
@@ -140,11 +140,21 @@ gas_m68hc11_error "-m68hc12" "movb 200,x,3,y\n" \
     "Offset out of 5-bit range for movw/movb insn: 200"
 gas_m68hc11_error "-m68hc12" "movb 2,x,300,y\n" \
     "Offset out of 5-bit range for movw/movb insn: 300"
+gas_m68hc11_error "-m68hc12" "movb 2,x,bar,y\nbar=300\n" \
+    "Offset out of 5-bit range for movw/movb insn: 300"
+gas_m68hc11_error "-m68hc12" "movb bar,y,2,x\nbar=300\n" \
+    "Offset out of 5-bit range for movw/movb insn: 300"
+gas_m68hc11_error "-m68hc12" "movb 200,pc,3,y\n" \
+    "Offset out of 5-bit range for movw/movb insn: 200"
+gas_m68hc11_error "-m68hc12" "movb 2,x,300,pc\n" \
+    "Offset out of 5-bit range for movw/movb insn: 300"
+gas_m68hc11_error "-m68hc12" "movb 2,x,bar,pc\nbar=300\n" \
+    "Offset out of 5-bit range for movw/movb insn: 300"
+gas_m68hc11_error "-m68hc12" "movb bar,pc,2,x\nbar=300\n" \
+    "Offset out of 5-bit range for movw/movb insn: 300"
 
 setup_xfail m6811-*-*
 setup_xfail m6812-*-*
-gas_m68hc11_error "-m68hc12" "movb 2,x,bar,y\nbar=300\n" \
-    "Offset out of 5-bit range for movw/movb insn: 300"
 
 # ------------------
 # Specific commands
@@ -173,3 +183,4 @@ run_dump_test branchs12
 run_dump_test insns12
 run_dump_test indexed12
 run_dump_test bug-1825
+run_dump_test movb
This page took 0.024368 seconds and 4 git commands to generate.