X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval-movbe.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval-movbe.s;h=38f09b14d64c10fb90668c8a34dc024869b28f36;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/x86-64-inval-movbe.s b/gas/testsuite/gas/i386/x86-64-inval-movbe.s new file mode 100644 index 0000000..38f09b1 --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-inval-movbe.s @@ -0,0 +1,15 @@ +# Check illegal movbe in 64bit mode. + .text +foo: + movbe (%rcx),%bl + movbe %ecx,%ebx + movbe %bx,%rcx + movbe %rbx,%rcx + movbe %bl,(%rcx) + + .intel_syntax noprefix + movbe bl, byte ptr [rcx] + movbe ebx, ecx + movbe rcx, bx + movbe rcx, rbx + movbe byte ptr [rcx], bl