Initial revision
[binutils.git] / gas / testsuite / gas / mips / usd.s
blobfd367351b7002399da0f8aaecdd829f8ab553f01
1 # Source file used to test the usd macro.
3 .data
4 data_label:
5 .extern big_external_data_label,1000
6 .extern small_external_data_label,1
7 .comm big_external_common,1000
8 .comm small_external_common,1
9 .lcomm big_local_common,1000
10 .lcomm small_local_common,1
12 .text
13 usd $4,0
14 usd $4,1
15 usd $4,0x8000
16 usd $4,-0x8000
17 usd $4,0x10000
18 usd $4,0x1a5a5
19 usd $4,0($5)
20 usd $4,1($5)
21 usd $4,data_label
22 usd $4,big_external_data_label
23 usd $4,small_external_data_label
24 usd $4,big_external_common
25 usd $4,small_external_common
26 usd $4,big_local_common
27 usd $4,small_local_common
28 usd $4,data_label+1
29 usd $4,big_external_data_label+1
30 usd $4,small_external_data_label+1
31 usd $4,big_external_common+1
32 usd $4,small_external_common+1
33 usd $4,big_local_common+1
34 usd $4,small_local_common+1
35 usd $4,data_label+0x8000
36 usd $4,big_external_data_label+0x8000
37 usd $4,small_external_data_label+0x8000
38 usd $4,big_external_common+0x8000
39 usd $4,small_external_common+0x8000
40 usd $4,big_local_common+0x8000
41 usd $4,small_local_common+0x8000
42 usd $4,data_label-0x8000
43 usd $4,big_external_data_label-0x8000
44 usd $4,small_external_data_label-0x8000
45 usd $4,big_external_common-0x8000
46 usd $4,small_external_common-0x8000
47 usd $4,big_local_common-0x8000
48 usd $4,small_local_common-0x8000
49 usd $4,data_label+0x10000
50 usd $4,big_external_data_label+0x10000
51 usd $4,small_external_data_label+0x10000
52 usd $4,big_external_common+0x10000
53 usd $4,small_external_common+0x10000
54 usd $4,big_local_common+0x10000
55 usd $4,small_local_common+0x10000
56 usd $4,data_label+0x1a5a5
57 usd $4,big_external_data_label+0x1a5a5
58 usd $4,small_external_data_label+0x1a5a5
59 usd $4,big_external_common+0x1a5a5
60 usd $4,small_external_common+0x1a5a5
61 usd $4,big_local_common+0x1a5a5
62 usd $4,small_local_common+0x1a5a5
64 # Round to a 16 byte boundary, for ease in testing multiple targets.
65 nop
66 nop