Remove tic80 support
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / mips / mips16-pcrel.s
CommitLineData
860b03a8
MR
1 .module mips64
2 .set mips16
3 .set noreorder
4 .set noautoextend
5
6 .align 12, 0
7foo0:
8 nop
9 nop
10 addiu $2, $pc, 0x3fc
11 nop
12 nop
13 nop
14 lw $3, 0x3fc($pc)
15 nop
16 nop
17 nop
18 daddiu $4, $pc, 0x7c
19 nop
20 nop
21 nop
22 nop
23 nop
24 ld $5, 0xf8($pc)
25
26 .align 12, 0
27foo1:
28 jal bar0
29 addiu $2, $pc, 0x3fc
30 nop
31 jal bar0
32 lw $3, 0x3fc($pc)
33 nop
34 jal bar0
35 daddiu $4, $pc, 0x7c
36 nop
37 nop
38 nop
39 jal bar0
40 ld $5, 0xf8($pc)
41
42 .align 12, 0
43foo2:
44 jalx bar1
45 addiu $2, $pc, 0x3fc
46 nop
47 jalx bar1
48 lw $3, 0x3fc($pc)
49 nop
50 jalx bar1
51 daddiu $4, $pc, 0x7c
52 nop
53 nop
54 nop
55 jalx bar1
56 ld $5, 0xf8($pc)
57
58 .align 12, 0
59foo3:
60 nop
61 jr $16
62 addiu $2, $pc, 0x3fc
63 nop
64 nop
65 jr $16
66 lw $3, 0x3fc($pc)
67 nop
68 nop
69 jr $16
70 daddiu $4, $pc, 0x7c
71 nop
72 nop
73 nop
74 nop
75 jr $16
76 ld $5, 0xf8($pc)
77
78 .align 12, 0
79foo4:
80 nop
81 jr $31
82 addiu $2, $pc, 0x3fc
83 nop
84 nop
85 jr $31
86 lw $3, 0x3fc($pc)
87 nop
88 nop
89 jr $31
90 daddiu $4, $pc, 0x7c
91 nop
92 nop
93 nop
94 nop
95 jr $31
96 ld $5, 0xf8($pc)
97
98 .align 12, 0
99foo5:
100 nop
101 jalr $16
102 addiu $2, $pc, 0x3fc
103 nop
104 nop
105 jalr $16
106 lw $3, 0x3fc($pc)
107 nop
108 nop
109 jalr $16
110 daddiu $4, $pc, 0x7c
111 nop
112 nop
113 nop
114 nop
115 jalr $16
116 ld $5, 0xf8($pc)
117
118 .align 12, 0
119foo6:
120 nop
121 .half 0xe860
122 addiu $2, $pc, 0x3fc
123 nop
124 nop
125 .half 0xe860
126 lw $3, 0x3fc($pc)
127 nop
128 nop
129 .half 0xe860
130 daddiu $4, $pc, 0x7c
131 nop
132 nop
133 nop
134 nop
135 .half 0xe860
136 ld $5, 0xf8($pc)
137
138 .align 12, 0
139foo7:
140 nop
141 jrc $16
142 addiu $2, $pc, 0x3fc
143 nop
144 nop
145 jrc $16
146 lw $3, 0x3fc($pc)
147 nop
148 nop
149 jrc $16
150 daddiu $4, $pc, 0x7c
151 nop
152 nop
153 nop
154 nop
155 jrc $16
156 ld $5, 0xf8($pc)
157
158 .align 12, 0
159foo8:
160 nop
161 jrc $31
162 addiu $2, $pc, 0x3fc
163 nop
164 nop
165 jrc $31
166 lw $3, 0x3fc($pc)
167 nop
168 nop
169 jrc $31
170 daddiu $4, $pc, 0x7c
171 nop
172 nop
173 nop
174 nop
175 jrc $31
176 ld $5, 0xf8($pc)
177
178 .align 12, 0
179foo9:
180 nop
181 jalrc $16
182 addiu $2, $pc, 0x3fc
183 nop
184 nop
185 jalrc $16
186 lw $3, 0x3fc($pc)
187 nop
188 nop
189 jalrc $16
190 daddiu $4, $pc, 0x7c
191 nop
192 nop
193 nop
194 nop
195 jalrc $16
196 ld $5, 0xf8($pc)
197
198 .align 12, 0
199fooa:
200 nop
201 .half 0xe960
202 addiu $2, $pc, 0x3fc
203 nop
204 nop
205 .half 0xe960
206 lw $3, 0x3fc($pc)
207 nop
208 nop
209 .half 0xe960
210 daddiu $4, $pc, 0x7c
211 nop
212 nop
213 nop
214 nop
215 .half 0xe960
216 ld $5, 0xf8($pc)
217
218# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
219 .align 12, 0
This page took 0.149099 seconds and 4 git commands to generate.