OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [rel-2.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
! Like rel-1.s, but using "$", not "datalabel $" as self expression.  It's
2
! not as useful, but should emit the obvious output.
3
 
4
        .mode SHmedia
5
        .text
6
start:
7
        movi data1 - $,r10
8
        movi (data2 - $) & 65535,r10
9
        movi ((data3 - $) >> 0) & 65535,r10
10
        movi ((data4 - $) >> 16) & 65535,r10
11
        movi data5 + 8 - $,r10
12
        movi (data6 + 16 - $) & 65535,r10
13
        movi ((data7 + 12 - $) >> 0) & 65535,r10
14
        movi ((data8 + 4 - $) >> 16) & 65535,r10
15
 
16
        movi othertext1 - $,r10
17
        movi (othertext2 - $) & 65535,r10
18
        movi ((othertext3 - $) >> 0) & 65535,r10
19
        movi ((othertext4 - $) >> 16) & 65535,r10
20
        movi othertext5 + 8 - $,r10
21
        movi (othertext6 + 16 - $) & 65535,r10
22
        movi ((othertext7 + 12 - $) >> 0) & 65535,r10
23
        movi ((othertext8 + 4 - $) >> 16) & 65535,r10
24
 
25
        movi extern1 - $,r10
26
        movi (extern2 - $) & 65535,r10
27
        movi ((extern3 - $) >> 0) & 65535,r10
28
        movi ((extern4 - $) >> 16) & 65535,r10
29
        movi extern5 + 8 - $,r10
30
        movi (extern6 + 16 - $) & 65535,r10
31
        movi ((extern7 + 12 - $) >> 0) & 65535,r10
32
        movi ((extern8 + 4 - $) >> 16) & 65535,r10
33
 
34
        movi gdata1 - $,r10
35
        movi (gdata2 - $) & 65535,r10
36
        movi ((gdata3 - $) >> 0) & 65535,r10
37
        movi ((gdata4 - $) >> 16) & 65535,r10
38
        movi gdata5 + 8 - $,r10
39
        movi (gdata6 + 16 - $) & 65535,r10
40
        movi ((gdata7 + 12 - $) >> 0) & 65535,r10
41
        movi ((gdata8 + 4 - $) >> 16) & 65535,r10
42
 
43
        movi gothertext1 - $,r10
44
        movi (gothertext2 - $) & 65535,r10
45
        movi ((gothertext3 - $) >> 0) & 65535,r10
46
        movi ((gothertext4 - $) >> 16) & 65535,r10
47
        movi gothertext5 + 8 - $,r10
48
        movi (gothertext6 + 16 - $) & 65535,r10
49
        movi ((gothertext7 + 12 - $) >> 0) & 65535,r10
50
        movi ((gothertext8 + 4 - $) >> 16) & 65535,r10
51
 
52
        .section .othertext,"ax"
53
x:
54
        nop
55
othertext1:
56
        nop
57
othertext2:
58
        nop
59
othertext3:
60
        nop
61
othertext4:
62
        nop
63
othertext5:
64
        nop
65
othertext6:
66
        nop
67
othertext7:
68
        nop
69
othertext8:
70
        nop
71
        .global gothertext1
72
gothertext1:
73
        nop
74
        .global gothertext2
75
gothertext2:
76
        nop
77
        .global gothertext3
78
gothertext3:
79
        nop
80
        .global gothertext4
81
gothertext4:
82
        nop
83
        .global gothertext5
84
gothertext5:
85
        nop
86
        .global gothertext6
87
gothertext6:
88
        nop
89
        .global gothertext7
90
gothertext7:
91
        nop
92
        .global gothertext8
93
gothertext8:
94
        nop
95
 
96
        .data
97
y:
98
        .long 0
99
data1:
100
        .long 0
101
data2:
102
        .long 0
103
data3:
104
        .long 0
105
data4:
106
        .long 0
107
data5:
108
        .long 0
109
data6:
110
        .long 0
111
data7:
112
        .long 0
113
data8:
114
        .long 0
115
        .global gdata1
116
gdata1:
117
        .long 0
118
        .global gdata2
119
gdata2:
120
        .long 0
121
        .global gdata3
122
gdata3:
123
        .long 0
124
        .global gdata4
125
gdata4:
126
        .long 0
127
        .global gdata5
128
gdata5:
129
        .long 0
130
        .global gdata6
131
gdata6:
132
        .long 0
133
        .global gdata7
134
gdata7:
135
        .long 0
136
        .global gdata8
137
gdata8:
138
        .long 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.