Indentation change.
[llvm/avr.git] / test / MC / AsmParser / x86_operands.s
blobc6f886b9502bcc9c248e510209e739b3982f1c49
1 // FIXME: Actually test that we get the expected results.
3 // RUN: llvm-mc -triple i386-unknown-unknown %s > %t 2> %t2
5 # Immediates
6 push $1
7 push $(1+2)
8 push $a
9 push $1 + 2
11 # Disambiguation
12 push 4+4
13 push (4+4)
14 push (4+4)(%eax)
15 push 8(%eax)
16 push (%eax)
17 push (4+4)(,%eax)
19 # Indirect Memory Operands
20 push 1(%eax)
21 push 1(%eax,%ebx)
22 push 1(%eax,%ebx,)
23 push 1(%eax,%ebx,4)
24 push 1(,%ebx)
25 push 1(,%ebx,)
26 push 1(,%ebx,4)
27 push 1(,%ebx,(2+2))
29 # '*'
30 call a
31 call *a
32 call *%eax
33 call 4(%eax) # FIXME: Warn or reject.
34 call *4(%eax)