projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Remove tic80 support
[deliverable/binutils-gdb.git]
/
binutils
/
testsuite
/
binutils-all
/
mips
/
mips16-undecoded.s
1
.text
2
.set mips16
3
.globl foo
4
.ent foo
5
foo:
6
# Individual major opcodes.
7
addiu $2, $sp, 0x4011
8
.half 0xf008, 0x0211
9
.half 0xf008, 0x0231
10
.half 0xf008, 0x0251
11
.half 0xf008, 0x0291
12
13
addiu $2, $pc, 0x4011
14
.half 0xf008, 0x0a11
15
.half 0xf008, 0x0a31
16
.half 0xf008, 0x0a51
17
.half 0xf008, 0x0a91
18
19
b . + 0x8026
20
.half 0xf008, 0x1011
21
.half 0xf008, 0x1031
22
.half 0xf008, 0x1051
23
.half 0xf008, 0x1091
24
.half 0xf008, 0x1111
25
.half 0xf008, 0x1211
26
.half 0xf008, 0x1411
27
28
beqz $2, . + 0x8026
29
.half 0xf008, 0x2211
30
.half 0xf008, 0x2231
31
.half 0xf008, 0x2251
32
.half 0xf008, 0x2291
33
34
bnez $2, . + 0x8026
35
.half 0xf008, 0x2a11
36
.half 0xf008, 0x2a31
37
.half 0xf008, 0x2a51
38
.half 0xf008, 0x2a91
39
40
addiu $2, 0x4011
41
.half 0xf008, 0x4a11
42
.half 0xf008, 0x4a31
43
.half 0xf008, 0x4a51
44
.half 0xf008, 0x4a91
45
46
slti $2, 0x4011
47
.half 0xf008, 0x5211
48
.half 0xf008, 0x5231
49
.half 0xf008, 0x5251
50
.half 0xf008, 0x5291
51
52
sltiu $2, 0x4011
53
.half 0xf008, 0x5a11
54
.half 0xf008, 0x5a31
55
.half 0xf008, 0x5a51
56
.half 0xf008, 0x5a91
57
58
li $2, 0x4011
59
.half 0xf008, 0x6a11
60
.half 0xf008, 0x6a31
61
.half 0xf008, 0x6a51
62
.half 0xf008, 0x6a91
63
64
cmpi $2, 0x4011
65
.half 0xf008, 0x7211
66
.half 0xf008, 0x7231
67
.half 0xf008, 0x7251
68
.half 0xf008, 0x7291
69
70
lw $2, 0x4011($sp)
71
.half 0xf008, 0x9211
72
.half 0xf008, 0x9231
73
.half 0xf008, 0x9251
74
.half 0xf008, 0x9291
75
76
lw $2, 0x4011($pc)
77
.half 0xf008, 0xb211
78
.half 0xf008, 0xb231
79
.half 0xf008, 0xb251
80
.half 0xf008, 0xb291
81
82
sw $2, 0x4011($sp)
83
.half 0xf008, 0xd211
84
.half 0xf008, 0xd231
85
.half 0xf008, 0xd251
86
.half 0xf008, 0xd291
87
88
# I8 major opcode.
89
bteqz . + 0x8026
90
.half 0xf008, 0x6011
91
.half 0xf008, 0x6031
92
.half 0xf008, 0x6051
93
.half 0xf008, 0x6091
94
95
btnez . + 0x8026
96
.half 0xf008, 0x6111
97
.half 0xf008, 0x6131
98
.half 0xf008, 0x6151
99
.half 0xf008, 0x6191
100
101
sw $ra, 0x4011($sp)
102
.half 0xf008, 0x6211
103
.half 0xf008, 0x6231
104
.half 0xf008, 0x6251
105
.half 0xf008, 0x6291
106
107
addiu $sp, 0x4011
108
.half 0xf008, 0x6311
109
.half 0xf008, 0x6331
110
.half 0xf008, 0x6351
111
.half 0xf008, 0x6391
112
113
# SHIFT major opcode
114
sll $2, $3, 0x14
115
.half 0xf500, 0x3260
116
.half 0xf500, 0x3264
117
.half 0xf500, 0x3268
118
.half 0xf500, 0x3270
119
.half 0xf501, 0x3260
120
.half 0xf502, 0x3260
121
.half 0xf504, 0x3260
122
.half 0xf508, 0x3260
123
.half 0xf510, 0x3260
124
.half 0xf520, 0x3260
125
126
dsll $2, $3, 0x14
127
.half 0xf500, 0x3261
128
.half 0xf500, 0x3265
129
.half 0xf500, 0x3269
130
.half 0xf500, 0x3271
131
.half 0xf501, 0x3261
132
.half 0xf502, 0x3261
133
.half 0xf504, 0x3261
134
.half 0xf508, 0x3261
135
.half 0xf510, 0x3261
136
.half 0xf520, 0x3261
137
138
srl $2, $3, 0x14
139
.half 0xf500, 0x3262
140
.half 0xf500, 0x3266
141
.half 0xf500, 0x326a
142
.half 0xf500, 0x3272
143
.half 0xf501, 0x3262
144
.half 0xf502, 0x3262
145
.half 0xf504, 0x3262
146
.half 0xf508, 0x3262
147
.half 0xf510, 0x3262
148
.half 0xf520, 0x3262
149
150
sra $2, $3, 0x14
151
.half 0xf500, 0x3263
152
.half 0xf500, 0x3267
153
.half 0xf500, 0x326b
154
.half 0xf500, 0x3273
155
.half 0xf501, 0x3263
156
.half 0xf502, 0x3263
157
.half 0xf504, 0x3263
158
.half 0xf508, 0x3263
159
.half 0xf510, 0x3263
160
.half 0xf520, 0x3263
161
162
# RR major opcode
163
dsrl $2, 0x14
164
.half 0xf500, 0xe848
165
.half 0xf500, 0xe948
166
.half 0xf500, 0xea48
167
.half 0xf500, 0xec48
168
.half 0xf501, 0xe848
169
.half 0xf502, 0xe848
170
.half 0xf504, 0xe848
171
.half 0xf508, 0xe848
172
.half 0xf510, 0xe848
173
.half 0xf520, 0xe848
174
175
dsra $2, 0x14
176
.half 0xf500, 0xe853
177
.half 0xf500, 0xe953
178
.half 0xf500, 0xea53
179
.half 0xf500, 0xec53
180
.half 0xf501, 0xe853
181
.half 0xf502, 0xe853
182
.half 0xf504, 0xe853
183
.half 0xf508, 0xe853
184
.half 0xf510, 0xe853
185
.half 0xf520, 0xe853
186
187
# I64 major opcode.
188
daddiu $sp, 0x4011
189
.half 0xf008, 0xfb11
190
.half 0xf008, 0xfb31
191
.half 0xf008, 0xfb51
192
.half 0xf008, 0xfb91
193
.end foo
194
195
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
196
.align 4, 0
197
.space 16
This page took
0.034149 seconds
and
4
git commands to generate.