Tell llvm-mc we're using intel syntax, so we don't have to use directives.
[oota-llvm.git] / test / MC / X86 / x86-32-ms-inline-asm.s
1 // RUN: llvm-mc -x86-asm-syntax=intel -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3 mov eax, [ebx].0
4 mov [ebx].4, ecx
5
6 // CHECK: movl (%ebx), %eax
7 // CHECK: encoding: [0x8b,0x03]
8 // CHECK: movl %ecx, 4(%ebx)
9 // CHECK: encoding: [0x89,0x4b,0x04]
10