]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/inval-movbe.s
Imported binutils-2.20
[msp430-binutils.git] / gas / testsuite / gas / i386 / inval-movbe.s
diff --git a/gas/testsuite/gas/i386/inval-movbe.s b/gas/testsuite/gas/i386/inval-movbe.s
new file mode 100644 (file)
index 0000000..9b11b4c
--- /dev/null
@@ -0,0 +1,13 @@
+# Check illegal movbe
+       .text
+foo:
+       movbe   (%ecx),%bl
+       movbe   %ecx,%ebx
+       movbe   %bx,%ecx
+       movbe   %bl,(%ecx)
+
+       .intel_syntax noprefix
+       movbe bl, byte ptr [ecx]
+       movbe ebx, ecx
+       movbe ecx, bx
+       movbe byte ptr [ecx], bl