* tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED.
[binutils.git] / gas / testsuite / gasp / exp.out
blobcecb9a881e3733b775e549ebe4077b0c0db16de3
3 !; test all ops
4         ; test all ops
7 !a1     .EQU    4+10
8 !a2     .EQU    4-10
9 !a3     .EQU    4&10
10 !a4     .EQU    4|2
11 !a5     .EQU    4~2
12 !a6     .EQU    4*10
13 !a7     .EQU    40/10
14 !a8     .EQU    +7
15 !a9     .EQU    -7
16 !a10    .EQU    ~7
21 !       a1 a2 a3 a4 a5 a6 a7 a8 a9 a10
22         14 -6 0 6 6 40 4 7 -7 -8
25 !; test the priorities
26         ; test the priorities
29 !b1     .EQU    1|2~3&4+5-8*7/2
30 !b2     .EQU    (1|2~(3&(4+5-(8*(7/2)))))
31 !b3     .EQU    10*2/3*4
32 !b4     .EQU    (((10*2)/3)*4)
33 !b5     .EQU    10+2-3+4
34 !b6     .EQU    (((10+2)-3)+4)
37 !       b1 b2 b3 b4
38         2 2 24 24
41 !; test association
42         ; test association
45 !c1     .EQU    -~3
46 !c2     .EQU    ~-3
47 !c3     .EQU    -(~3)
48 !c4     .EQU    ~(-3)
51 !       c1 c2 c3 c4
52         4 2 4 2
55 !; test rules for symbols
56         ; test rules for symbols
59 !ok1    .EQU    FOO
60 !ok2    .EQU    FOO+10
61 !ok3    .EQU    10+FOO
62 !ok4    .EQU    FOO-10
65 !       ok1
66         FOO
67 !       ok2 
68         FOO+10 
69 !       ok3 
70         FOO+10 
71 !       ok4
72         FOO+-10
75 !ok5    .EQU    FOO+3+4+5+6
76 !ok6    .EQU    FOO-BAR
79 !       ok5
80         FOO+18
81 !       ok6
82         FOO-FOO
85 !bad1   .EQU    FOO+FOO
86 !bad2   .EQU    FOO*2
87 !bad3   .EQU    FOO/2
88 !bad4   .EQU    FOO|2
89 !bad5   .EQU    FOO&2
90 !bad6   .EQU    FOO~2
91 !bad7   .EQU    FOO*2
94 !; test spacing
95         ; test spacing
98 !space1 .EQU    1 +     2       +3+FOO + 3
99 !space2
100 space2:
103 !; from the SH manual
104         ; from the SH manual
107 !       .DATA.L 1+(2-(3+(4-5))),1
108         .long   1,1
111 !       .DATA.L -H'fffffff1+H'000000f0*H'00000010|H'000000f0&H'0000ffff,H'00000fff
112         .long   4095,4095
115 !       .DATA.L -~-~H'0000000f,H'00
116         .long   17,0
121 !       
124 !       .END