Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / mips / ulw.s
1 # Source file used to test the ulw macro.
2         
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
11         
12         .text
13         ulw     $4,0
14         ulw     $4,1
15         ulw     $4,0x8000
16         ulw     $4,-0x8000
17         ulw     $4,0x10000
18         ulw     $4,0x1a5a5
19         ulw     $4,0($5)
20         ulw     $4,1($5)
21         ulw     $4,data_label
22         ulw     $4,big_external_data_label
23         ulw     $4,small_external_data_label
24         ulw     $4,big_external_common
25         ulw     $4,small_external_common
26         ulw     $4,big_local_common
27         ulw     $4,small_local_common
28         ulw     $4,data_label+1
29         ulw     $4,big_external_data_label+1
30         ulw     $4,small_external_data_label+1
31         ulw     $4,big_external_common+1
32         ulw     $4,small_external_common+1
33         ulw     $4,big_local_common+1
34         ulw     $4,small_local_common+1
35         ulw     $4,data_label+0x8000
36         ulw     $4,big_external_data_label+0x8000
37         ulw     $4,small_external_data_label+0x8000
38         ulw     $4,big_external_common+0x8000
39         ulw     $4,small_external_common+0x8000
40         ulw     $4,big_local_common+0x8000
41         ulw     $4,small_local_common+0x8000
42         ulw     $4,data_label-0x8000
43         ulw     $4,big_external_data_label-0x8000
44         ulw     $4,small_external_data_label-0x8000
45         ulw     $4,big_external_common-0x8000
46         ulw     $4,small_external_common-0x8000
47         ulw     $4,big_local_common-0x8000
48         ulw     $4,small_local_common-0x8000
49         ulw     $4,data_label+0x10000
50         ulw     $4,big_external_data_label+0x10000
51         ulw     $4,small_external_data_label+0x10000
52         ulw     $4,big_external_common+0x10000
53         ulw     $4,small_external_common+0x10000
54         ulw     $4,big_local_common+0x10000
55         ulw     $4,small_local_common+0x10000
56         ulw     $4,data_label+0x1a5a5
57         ulw     $4,big_external_data_label+0x1a5a5
58         ulw     $4,small_external_data_label+0x1a5a5
59         ulw     $4,big_external_common+0x1a5a5
60         ulw     $4,small_external_common+0x1a5a5
61         ulw     $4,big_local_common+0x1a5a5
62         ulw     $4,small_local_common+0x1a5a5
63
64 # Round to a 16 byte boundary, for ease in testing multiple targets.
65         nop
66         nop