1 // RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
10 # CHECK: addl $3, %eax
19 # CHECK: addl $1, 8(%eax)
21 # CHECK: addl $1, 8(%eax)
23 # CHECK: addl $1, 8(%eax)
25 # CHECK: addl $1, (%eax)
27 # CHECK: addl $1, 8(,%eax)
30 # Indirect Memory Operands
31 # CHECK: addl $1, 1(%eax)
33 # CHECK: addl $1, 1(%eax,%ebx)
35 # CHECK: addl $1, 1(%eax,%ebx)
36 addl $1, 1(%eax,%ebx,)
37 # CHECK: addl $1, 1(%eax,%ebx,4)
38 addl $1, 1(%eax,%ebx,4)
39 # CHECK: addl $1, 1(,%ebx)
41 # CHECK: addl $1, 1(,%ebx)
43 # CHECK: addl $1, 1(,%ebx,4)
45 # CHECK: addl $1, 1(,%ebx,4)
46 addl $1, 1(,%ebx,(2+2))
53 # CHECK: calll *4(%eax)
57 # CHECK: calll foo{{$}}
59 # CHECK: calll foo{{$}}
61 # CHECK: movl %gs:8, %eax