X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fmovbe.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fmovbe.s;h=40f8bab45a3e64351202c3a1a318e6121218768f;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/i386/movbe.s b/gas/testsuite/gas/i386/movbe.s new file mode 100644 index 0000000..40f8bab --- /dev/null +++ b/gas/testsuite/gas/i386/movbe.s @@ -0,0 +1,17 @@ +# Check movbe + .text +foo: + movbe (%ecx),%bx + movbe (%ecx),%ebx + movbe %bx,(%ecx) + movbe %ebx,(%ecx) + movbew (%ecx),%bx + movbel (%ecx),%ebx + movbew %bx,(%ecx) + movbel %ebx,(%ecx) + + .intel_syntax noprefix + movbe bx, word ptr [ecx] + movbe ebx, dword ptr [ecx] + movbe word ptr [ecx], bx + movbe dword ptr [ecx], ebx