~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to gas/testsuite/gas/mips/usd.s

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Source file used to test the usd 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
        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
 
63
 
 
64
# Round to a 16 byte boundary, for ease in testing multiple targets.
 
65
        nop
 
66
        nop