X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Finval-movbe.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Finval-movbe.s;h=9b11b4cf969736703badcfbc02a62665e6480132;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/i386/inval-movbe.s b/gas/testsuite/gas/i386/inval-movbe.s new file mode 100644 index 0000000..9b11b4c --- /dev/null +++ b/gas/testsuite/gas/i386/inval-movbe.s @@ -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