X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Finval-movbe.l;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Finval-movbe.l;h=981bca8dd27dd93505f9820831827ab5621b47b3;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/inval-movbe.l b/gas/testsuite/gas/i386/inval-movbe.l new file mode 100644 index 0000000..981bca8 --- /dev/null +++ b/gas/testsuite/gas/i386/inval-movbe.l @@ -0,0 +1,25 @@ +.*: Assembler messages: +.*:4: Error: .* +.*:5: Error: .* +.*:6: Error: .* +.*:7: Error: .* +.*:10: Error: .* +.*:11: Error: .* +.*:12: Error: .* +.*:13: Error: .* +GAS LISTING .* + + +[ ]*1[ ]+\# Check illegal movbe +[ ]*2[ ]+\.text +[ ]*3[ ]+foo: +[ ]*4[ ]+movbe \(%ecx\),%bl +[ ]*5[ ]+movbe %ecx,%ebx +[ ]*6[ ]+movbe %bx,%ecx +[ ]*7[ ]+movbe %bl,\(%ecx\) +[ ]*8[ ]+ +[ ]*9[ ]+\.intel_syntax noprefix +[ ]*10[ ]+movbe bl, byte ptr \[ecx\] +[ ]*11[ ]+movbe ebx, ecx +[ ]*12[ ]+movbe ecx, bx +[ ]*13[ ]+movbe byte ptr \[ecx\], bl