x86-32-ms-inline-asm.s revision b3009eec47d2aaa61cc848a66a7bbd69ad9e0f19
1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3.intel_syntax
4mov eax, [ebx].0
5mov [ebx].4, ecx
6.att_syntax
7
8; CHECK: movl (%ebx), %eax
9; CHECK: encoding: [0x8b,0x03]
10; CHECK: movl %ecx, 4(%ebx)
11; CHECK: encoding: [0x89,0x4b,0x04]
12
13