x86: Add tests for -n option of x86 assembler
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / string-bad.s
index 7c739a1d868c3b94ba44c543855bcc847886519a..17d7d89d0cb98c3f305bf013b965043fca2e5f9d 100644 (file)
@@ -8,6 +8,11 @@ start:
        cmpsb   %ds:(%edi), (%esi)
        scasb   %ds:(%edi)
        insb    (%dx), %ds:(%edi)
+       xlatb   (%esi)
+       xlatb   (,%ebx)
+       xlatb   1(%ebx)
+       xlatb   x(%ebx)
+       xlatb   0
 
        .intel_syntax noprefix
 
@@ -20,3 +25,8 @@ start:
        cmps    byte ptr [esi], dword ptr [edi]
        scas    byte ptr ds:[edi]
        ins     byte ptr ds:[edi], dx
+       xlat    byte ptr [esi]
+       xlat    byte ptr [%ebx*1]
+       xlat    byte ptr [ebx+1]
+       xlat    byte ptr x[ebx]
+       xlat    byte ptr FLAT:0
This page took 0.025245 seconds and 4 git commands to generate.