* elf32-ppc.c (LWZU_0_X_11): Delete.
[binutils.git] / gas / config / m88k-opcode.h
blobb9a3c93032975874a4735ae6af9c8f7a6f695a1f
1 /* m88k-opcode.h -- Instruction information for the Motorola 88000
2 Contributed by Devon Bowen of Buffalo University
3 and Torbjorn Granlund of the Swedish Institute of Computer Science.
4 Copyright 1989, 1990, 1991, 1993, 2000 Free Software Foundation, Inc.
6 This file is part of GAS, the GNU Assembler.
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 1, or (at your option)
11 any later version.
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GAS; see the file COPYING. If not, write to
20 the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
22 #if !defined(__STDC__) && !defined(const)
23 #define const
24 #endif
27 Character codes for op_spec field below.
28 Reserved for self-matching: [ ] ,
30 d = GRF Destination register (21:5)
31 x = XRF register prefix. Makes next d, 1, or 2, match an extended register.
32 1 = Source register 1 (16:5)
33 2 = Source register 2 (0:5)
34 3 = Both source registers (same value) (0:5 and 16:5)
35 I = IMM16 (0:16)
36 b = bit field spec. (0:10)
37 p = 16 bit pc displ. (0:16)
38 P = 26 bit pc displ. (0:26)
39 B = bb0/bb1 condition (21:5)
40 M = bcnd condition (21:5)
41 f = fcr (5:6)
42 c = cr (5:6)
43 V = VEC9 (0:9)
44 o = O6 field of "prot" insn (10:7)
45 ? = Give warning for this insn/operand combination
48 /* instruction descriptor structure */
50 struct m88k_opcode
52 unsigned int opcode;
53 char *name;
54 char *op_spec;
57 /* and introducing... the Motorola 88100 and 88110 instruction sets... */
59 /* By default, include the 88110 instructions. */
60 #define MC88110
62 #if defined (MC88110)
63 #define _MC88100(OPCODE,MNEM,OP_SPEC)
64 #define _MC88110(OPCODE,MNEM,OP_SPEC) {OPCODE,MNEM,OP_SPEC},
65 #else
66 #define _MC88100(OPCODE,MNEM,OP_SPEC) {OPCODE,MNEM,OP_SPEC},
67 #define _MC88110(OPCODE,MNEM,OP_SPEC)
68 #endif
70 #define _MC88xxx(OPCODE,MNEM,OP_SPEC) {OPCODE,MNEM,OP_SPEC},
72 /* Equal mnemonics must be adjacent.
73 More specific operand specification must go before more general.
74 For example, "d,1,2" must go before "d,1,I" as a register for s2
75 would otherwise be considered a variable name. */
77 static struct m88k_opcode m88k_opcodes[] =
79 /* Opcode Mnemonic Opspec */
81 _MC88xxx (0xf4007000, "add", "d,1,2")
82 _MC88xxx (0x70000000, "add", "d,1,I")
83 _MC88xxx (0xf4007200, "add.ci", "d,1,2")
84 _MC88xxx (0xf4007300, "add.cio", "d,1,2")
85 _MC88xxx (0xf4007100, "add.co", "d,1,2")
86 _MC88xxx (0xf4006000, "addu", "d,1,2")
87 _MC88xxx (0x60000000, "addu", "d,1,I")
88 _MC88xxx (0xf4006200, "addu.ci", "d,1,2")
89 _MC88xxx (0xf4006300, "addu.cio", "d,1,2")
90 _MC88xxx (0xf4006100, "addu.co", "d,1,2")
91 _MC88xxx (0xf4004000, "and", "d,1,2")
92 _MC88xxx (0x40000000, "and", "d,1,I")
93 _MC88xxx (0xf4004400, "and.c", "d,1,2")
94 _MC88xxx (0x44000000, "and.u", "d,1,I")
95 _MC88xxx (0xd0000000, "bb0", "B,1,p")
96 _MC88xxx (0xd4000000, "bb0.n", "B,1,p")
97 _MC88xxx (0xd8000000, "bb1", "B,1,p")
98 _MC88xxx (0xdc000000, "bb1.n", "B,1,p")
99 _MC88xxx (0xe8000000, "bcnd", "M,1,p")
100 _MC88xxx (0xec000000, "bcnd.n", "M,1,p")
101 _MC88xxx (0xc0000000, "br", "P")
102 _MC88xxx (0xc4000000, "br.n", "P")
103 _MC88xxx (0xc8000000, "bsr", "P")
104 _MC88xxx (0xcc000000, "bsr.n", "P")
105 _MC88xxx (0xf4008000, "clr", "d,1,2")
106 _MC88xxx (0xf0008000, "clr", "d,1,b")
107 _MC88xxx (0xf4007c00, "cmp", "d,1,2")
108 _MC88xxx (0x7c000000, "cmp", "d,1,I")
109 _MC88xxx (0xf4007800, "div", "d,1,2")
110 _MC88xxx (0x78000000, "div", "d,1,I")
111 _MC88xxx (0xf4007800, "divs", "d,1,2")
112 _MC88xxx (0x78000000, "divs", "d,1,I")
113 _MC88110 (0xf4006900, "divu.d", "d,1,2")
114 _MC88xxx (0xf4006800, "divu", "d,1,2")
115 _MC88xxx (0x68000000, "divu", "d,1,I")
116 _MC88xxx (0xf4009000, "ext", "d,1,2")
117 _MC88xxx (0xf0009000, "ext", "d,1,b")
118 _MC88xxx (0xf4009800, "extu", "d,1,2")
119 _MC88xxx (0xf0009800, "extu", "d,1,b")
120 _MC88xxx (0x84002800, "fadd.sss", "d,1,2")
121 _MC88110 (0x8400a800, "fadd.sss", "xd,x1,x2")
122 _MC88xxx (0x84002880, "fadd.ssd", "d,1,2")
123 _MC88110 (0x8400a820, "fadd.ssd", "xd,x1,x2")
124 _MC88110 (0x8400a840, "fadd.ssx", "xd,x1,x2")
125 _MC88xxx (0x84002a00, "fadd.sds", "d,1,2")
126 _MC88110 (0x8400a880, "fadd.sds", "xd,x1,x2")
127 _MC88xxx (0x84002a80, "fadd.sdd", "d,1,2")
128 _MC88110 (0x8400a8a0, "fadd.sdd", "xd,x1,x2")
129 _MC88110 (0x8400a8c0, "fadd.sdx", "xd,x1,x2")
130 _MC88110 (0x8400a900, "fadd.sxs", "xd,x1,x2")
131 _MC88110 (0x8400a920, "fadd.sxd", "xd,x1,x2")
132 _MC88110 (0x8400a940, "fadd.sxx", "xd,x1,x2")
133 _MC88xxx (0x84002820, "fadd.dss", "d,1,2")
134 _MC88110 (0x8400aa00, "fadd.dss", "xd,x1,x2")
135 _MC88xxx (0x840028a0, "fadd.dsd", "d,1,2")
136 _MC88110 (0x8400aa20, "fadd.dsd", "xd,x1,x2")
137 _MC88110 (0x8400aa40, "fadd.dsx", "xd,x1,x2")
138 _MC88xxx (0x84002a20, "fadd.dds", "d,1,2")
139 _MC88110 (0x8400aa80, "fadd.dds", "xd,x1,x2")
140 _MC88xxx (0x84002aa0, "fadd.ddd", "d,1,2")
141 _MC88110 (0x8400aaa0, "fadd.ddd", "xd,x1,x2")
142 _MC88110 (0x8400aac0, "fadd.ddx", "xd,x1,x2")
143 _MC88110 (0x8400ab00, "fadd.dxs", "xd,x1,x2")
144 _MC88110 (0x8400ab20, "fadd.dxd", "xd,x1,x2")
145 _MC88110 (0x8400ab40, "fadd.dxx", "xd,x1,x2")
146 _MC88110 (0x8400ac00, "fadd.xss", "xd,x1,x2")
147 _MC88110 (0x8400ac20, "fadd.xsd", "xd,x1,x2")
148 _MC88110 (0x8400ac40, "fadd.xsx", "xd,x1,x2")
149 _MC88110 (0x8400ac80, "fadd.xds", "xd,x1,x2")
150 _MC88110 (0x8400aca0, "fadd.xdd", "xd,x1,x2")
151 _MC88110 (0x8400acc0, "fadd.xdx", "xd,x1,x2")
152 _MC88110 (0x8400ad00, "fadd.xxs", "xd,x1,x2")
153 _MC88110 (0x8400ad20, "fadd.xxd", "xd,x1,x2")
154 _MC88110 (0x8400ad40, "fadd.xxx", "xd,x1,x2")
155 _MC88xxx (0x84003a80, "fcmp.sdd", "d,1,2")
156 _MC88110 (0x8400ba80, "fcmp.sdd", "d,x1,x2")
157 _MC88xxx (0x84003a00, "fcmp.sds", "d,1,2")
158 _MC88110 (0x8400ba00, "fcmp.sds", "d,x1,x2")
159 _MC88110 (0x8400bb00, "fcmp.sdx", "d,x1,x2")
160 _MC88xxx (0x84003880, "fcmp.ssd", "d,1,2")
161 _MC88110 (0x8400b880, "fcmp.ssd", "d,x1,x2")
162 _MC88xxx (0x84003800, "fcmp.sss", "d,1,2")
163 _MC88110 (0x8400b800, "fcmp.sss", "d,x1,x2")
164 _MC88110 (0x8400b900, "fcmp.ssx", "d,x1,x2")
165 _MC88110 (0x8400bc80, "fcmp.sxd", "d,x1,x2")
166 _MC88110 (0x8400bc00, "fcmp.sxs", "d,x1,x2")
167 _MC88110 (0x8400bd00, "fcmp.sxx", "d,x1,x2")
168 _MC88110 (0x84003aa0, "fcmpu.sdd", "d,1,2")
169 _MC88110 (0x8400baa0, "fcmpu.sdd", "d,x1,x2")
170 _MC88110 (0x84003a20, "fcmpu.sds", "d,1,2")
171 _MC88110 (0x8400ba20, "fcmpu.sds", "d,x1,x2")
172 _MC88110 (0x8400bb20, "fcmpu.sdx", "d,x1,x2")
173 _MC88110 (0x840038a0, "fcmpu.ssd", "d,1,2")
174 _MC88110 (0x8400b8a0, "fcmpu.ssd", "d,x1,x2")
175 _MC88110 (0x84003820, "fcmpu.sss", "d,1,2")
176 _MC88110 (0x8400b820, "fcmpu.sss", "d,x1,x2")
177 _MC88110 (0x8400b920, "fcmpu.ssx", "d,x1,x2")
178 _MC88110 (0x8400bca0, "fcmpu.sxd", "d,x1,x2")
179 _MC88110 (0x8400bc20, "fcmpu.sxs", "d,x1,x2")
180 _MC88110 (0x8400bd20, "fcmpu.sxx", "d,x1,x2")
181 _MC88110 (0x84000880, "fcvt.ds", "d,2")
182 _MC88110 (0x84008880, "fcvt.ds", "xd,x2")
183 _MC88110 (0x840088c0, "fcvt.dx", "xd,x2")
184 _MC88110 (0x84000820, "fcvt.sd", "d,2")
185 _MC88110 (0x84008820, "fcvt.sd", "xd,x2")
186 _MC88110 (0x84008840, "fcvt.sx", "xd,x2")
187 _MC88110 (0x84008920, "fcvt.xd", "xd,x2")
188 _MC88110 (0x84008900, "fcvt.xs", "xd,x2")
189 _MC88xxx (0x84007000, "fdiv.sss", "d,1,2")
190 _MC88110 (0x8400f000, "fdiv.sss", "xd,x1,x2")
191 _MC88xxx (0x84007080, "fdiv.ssd", "d,1,2")
192 _MC88110 (0x8400f020, "fdiv.ssd", "xd,x1,x2")
193 _MC88110 (0x8400f040, "fdiv.ssx", "xd,x1,x2")
194 _MC88xxx (0x84007200, "fdiv.sds", "d,1,2")
195 _MC88110 (0x8400f080, "fdiv.sds", "xd,x1,x2")
196 _MC88xxx (0x84007280, "fdiv.sdd", "d,1,2")
197 _MC88110 (0x8400f0a0, "fdiv.sdd", "xd,x1,x2")
198 _MC88110 (0x8400f0c0, "fdiv.sdx", "xd,x1,x2")
199 _MC88110 (0x8400f100, "fdiv.sxs", "xd,x1,x2")
200 _MC88110 (0x8400f120, "fdiv.sxd", "xd,x1,x2")
201 _MC88110 (0x8400f140, "fdiv.sxx", "xd,x1,x2")
202 _MC88xxx (0x84007020, "fdiv.dss", "d,1,2")
203 _MC88110 (0x8400f200, "fdiv.dss", "xd,x1,x2")
204 _MC88xxx (0x840070a0, "fdiv.dsd", "d,1,2")
205 _MC88110 (0x8400f220, "fdiv.dsd", "xd,x1,x2")
206 _MC88110 (0x8400f240, "fdiv.dsx", "xd,x1,x2")
207 _MC88xxx (0x84007220, "fdiv.dds", "d,1,2")
208 _MC88110 (0x8400f280, "fdiv.dds", "xd,x1,x2")
209 _MC88xxx (0x840072a0, "fdiv.ddd", "d,1,2")
210 _MC88110 (0x8400f2a0, "fdiv.ddd", "xd,x1,x2")
211 _MC88110 (0x8400f2c0, "fdiv.ddx", "xd,x1,x2")
212 _MC88110 (0x8400f300, "fdiv.dxs", "xd,x1,x2")
213 _MC88110 (0x8400f320, "fdiv.dxd", "xd,x1,x2")
214 _MC88110 (0x8400f340, "fdiv.dxx", "xd,x1,x2")
215 _MC88110 (0x8400f400, "fdiv.xss", "xd,x1,x2")
216 _MC88110 (0x8400f420, "fdiv.xsd", "xd,x1,x2")
217 _MC88110 (0x8400f440, "fdiv.xsx", "xd,x1,x2")
218 _MC88110 (0x8400f480, "fdiv.xds", "xd,x1,x2")
219 _MC88110 (0x8400f4a0, "fdiv.xdd", "xd,x1,x2")
220 _MC88110 (0x8400f4c0, "fdiv.xdx", "xd,x1,x2")
221 _MC88110 (0x8400f500, "fdiv.xxs", "xd,x1,x2")
222 _MC88110 (0x8400f520, "fdiv.xxd", "xd,x1,x2")
223 _MC88110 (0x8400f540, "fdiv.xxx", "xd,x1,x2")
224 _MC88xxx (0xf400ec00, "ff0", "d,2")
225 _MC88xxx (0xf400e800, "ff1", "d,2")
226 _MC88xxx (0x80004800, "fldcr", "d,f")
227 _MC88xxx (0x84002020, "flt.ds", "d,2")
228 _MC88110 (0x84002220, "flt.ds", "xd,2")
229 _MC88xxx (0x84002000, "flt.ss", "d,2")
230 _MC88110 (0x84002200, "flt.ss", "xd,2")
231 _MC88110 (0x84002240, "flt.xs", "xd,2")
232 _MC88xxx (0x84000000, "fmul.sss", "d,1,2")
233 _MC88110 (0x84008000, "fmul.sss", "xd,x1,x2")
234 _MC88xxx (0x84000080, "fmul.ssd", "d,1,2")
235 _MC88110 (0x84008020, "fmul.ssd", "xd,x1,x2")
236 _MC88110 (0x84008040, "fmul.ssx", "xd,x1,x2")
237 _MC88xxx (0x84000200, "fmul.sds", "d,1,2")
238 _MC88110 (0x84008080, "fmul.sds", "xd,x1,x2")
239 _MC88xxx (0x84000280, "fmul.sdd", "d,1,2")
240 _MC88110 (0x840080a0, "fmul.sdd", "xd,x1,x2")
241 _MC88110 (0x840080c0, "fmul.sdx", "xd,x1,x2")
242 _MC88110 (0x84008100, "fmul.sxs", "xd,x1,x2")
243 _MC88110 (0x84008120, "fmul.sxd", "xd,x1,x2")
244 _MC88110 (0x84008140, "fmul.sxx", "xd,x1,x2")
245 _MC88xxx (0x84000020, "fmul.dss", "d,1,2")
246 _MC88110 (0x84008200, "fmul.dss", "xd,x1,x2")
247 _MC88xxx (0x840000a0, "fmul.dsd", "d,1,2")
248 _MC88110 (0x84008220, "fmul.dsd", "xd,x1,x2")
249 _MC88110 (0x84008240, "fmul.dsx", "xd,x1,x2")
250 _MC88xxx (0x84000220, "fmul.dds", "d,1,2")
251 _MC88110 (0x84008280, "fmul.dds", "xd,x1,x2")
252 _MC88xxx (0x840002a0, "fmul.ddd", "d,1,2")
253 _MC88110 (0x840082a0, "fmul.ddd", "xd,x1,x2")
254 _MC88110 (0x840082c0, "fmul.ddx", "xd,x1,x2")
255 _MC88110 (0x84008300, "fmul.dxs", "xd,x1,x2")
256 _MC88110 (0x84008320, "fmul.dxd", "xd,x1,x2")
257 _MC88110 (0x84008340, "fmul.dxx", "xd,x1,x2")
258 _MC88110 (0x84008400, "fmul.xss", "xd,x1,x2")
259 _MC88110 (0x84008420, "fmul.xsd", "xd,x1,x2")
260 _MC88110 (0x84008440, "fmul.xsx", "xd,x1,x2")
261 _MC88110 (0x84008480, "fmul.xds", "xd,x1,x2")
262 _MC88110 (0x840084a0, "fmul.xdd", "xd,x1,x2")
263 _MC88110 (0x840084c0, "fmul.xdx", "xd,x1,x2")
264 _MC88110 (0x84008500, "fmul.xxs", "xd,x1,x2")
265 _MC88110 (0x84008520, "fmul.xxd", "xd,x1,x2")
266 _MC88110 (0x84008540, "fmul.xxx", "xd,x1,x2")
267 _MC88110 (0x840078a0, "fsqrt.dd", "d,2")
268 _MC88110 (0x8400f8a0, "fsqrt.dd", "xd,x2")
269 _MC88110 (0x84007880, "fsqrt.ds", "d,2")
270 _MC88110 (0x8400f880, "fsqrt.ds", "xd,x2")
271 _MC88110 (0x8400f8c0, "fsqrt.dx", "xd,x2")
272 _MC88110 (0x84007820, "fsqrt.sd", "d,2")
273 _MC88110 (0x8400f820, "fsqrt.sd", "xd,x2")
274 _MC88110 (0x84007800, "fsqrt.ss", "d,2")
275 _MC88110 (0x8400f800, "fsqrt.ss", "xd,x2")
276 _MC88110 (0x8400f840, "fsqrt.sx", "xd,x2")
277 _MC88110 (0x8400f920, "fsqrt.xd", "xd,x2")
278 _MC88110 (0x8400f900, "fsqrt.xs", "xd,x2")
279 _MC88110 (0x8400f940, "fsqrt.xx", "xd,x2")
280 _MC88xxx (0x80008800, "fstcr", "3,f")
281 _MC88xxx (0x84003000, "fsub.sss", "d,1,2")
282 _MC88110 (0x8400b000, "fsub.sss", "xd,x1,x2")
283 _MC88xxx (0x84003080, "fsub.ssd", "d,1,2")
284 _MC88110 (0x8400b020, "fsub.ssd", "xd,x1,x2")
285 _MC88110 (0x8400b040, "fsub.ssx", "xd,x1,x2")
286 _MC88xxx (0x84003200, "fsub.sds", "d,1,2")
287 _MC88110 (0x8400b080, "fsub.sds", "xd,x1,x2")
288 _MC88xxx (0x84003280, "fsub.sdd", "d,1,2")
289 _MC88110 (0x8400b0a0, "fsub.sdd", "xd,x1,x2")
290 _MC88110 (0x8400b0c0, "fsub.sdx", "xd,x1,x2")
291 _MC88110 (0x8400b100, "fsub.sxs", "xd,x1,x2")
292 _MC88110 (0x8400b120, "fsub.sxd", "xd,x1,x2")
293 _MC88110 (0x8400b140, "fsub.sxx", "xd,x1,x2")
294 _MC88xxx (0x84003020, "fsub.dss", "d,1,2")
295 _MC88110 (0x8400b200, "fsub.dss", "xd,x1,x2")
296 _MC88xxx (0x840030a0, "fsub.dsd", "d,1,2")
297 _MC88110 (0x8400b220, "fsub.dsd", "xd,x1,x2")
298 _MC88110 (0x8400b240, "fsub.dsx", "xd,x1,x2")
299 _MC88xxx (0x84003220, "fsub.dds", "d,1,2")
300 _MC88110 (0x8400b280, "fsub.dds", "xd,x1,x2")
301 _MC88xxx (0x840032a0, "fsub.ddd", "d,1,2")
302 _MC88110 (0x8400b2a0, "fsub.ddd", "xd,x1,x2")
303 _MC88110 (0x8400b2c0, "fsub.ddx", "xd,x1,x2")
304 _MC88110 (0x8400b300, "fsub.dxs", "xd,x1,x2")
305 _MC88110 (0x8400b320, "fsub.dxd", "xd,x1,x2")
306 _MC88110 (0x8400b340, "fsub.dxx", "xd,x1,x2")
307 _MC88110 (0x8400b400, "fsub.xss", "xd,x1,x2")
308 _MC88110 (0x8400b420, "fsub.xsd", "xd,x1,x2")
309 _MC88110 (0x8400b440, "fsub.xsx", "xd,x1,x2")
310 _MC88110 (0x8400b480, "fsub.xds", "xd,x1,x2")
311 _MC88110 (0x8400b4a0, "fsub.xdd", "xd,x1,x2")
312 _MC88110 (0x8400b4c0, "fsub.xdx", "xd,x1,x2")
313 _MC88110 (0x8400b500, "fsub.xxs", "xd,x1,x2")
314 _MC88110 (0x8400b520, "fsub.xxd", "xd,x1,x2")
315 _MC88110 (0x8400b540, "fsub.xxx", "xd,x1,x2")
316 _MC88xxx (0x8000c800, "fxcr", "d,3,f")
317 _MC88xxx (0x8400fc01, "illop1", "")
318 _MC88xxx (0x8400fc02, "illop2", "")
319 _MC88xxx (0x8400fc03, "illop3", "")
320 _MC88xxx (0x84004880, "int.sd", "d,2")
321 _MC88110 (0x8400c880, "int.sd", "d,x2")
322 _MC88xxx (0x84004800, "int.ss", "d,2")
323 _MC88110 (0x8400c800, "int.ss", "d,x2")
324 _MC88110 (0x8400c900, "int.sx", "d,x2")
325 _MC88xxx (0xf400c000, "jmp", "2")
326 _MC88xxx (0xf400c400, "jmp.n", "2")
327 _MC88xxx (0xf400c800, "jsr", "2")
328 _MC88xxx (0xf400cc00, "jsr.n", "2")
329 _MC88xxx (0xf4001400, "ld", "d,1,2")
330 _MC88xxx (0xf4001600, "ld", "d,1[2]")
331 _MC88xxx (0x14000000, "ld", "d,1,I")
332 _MC88110 (0xf0001600, "ld", "xd,1[2]")
333 _MC88110 (0xf0001400, "ld", "xd,1,2")
334 _MC88110 (0x04000000, "ld", "xd,1,I")
335 _MC88xxx (0xf4001e00, "ld.b", "d,1[2]")
336 _MC88xxx (0xf4001c00, "ld.b", "d,1,2")
337 _MC88xxx (0x1c000000, "ld.b", "d,1,I")
338 _MC88xxx (0xf4001d00, "ld.b.usr", "d,1,2")
339 _MC88xxx (0xf4001f00, "ld.b.usr", "d,1[2]")
340 _MC88xxx (0xf4000e00, "ld.bu", "d,1[2]")
341 _MC88xxx (0xf4000c00, "ld.bu", "d,1,2")
342 _MC88xxx (0x0c000000, "ld.bu", "d,1,I")
343 _MC88xxx (0xf4000d00, "ld.bu.usr", "d,1,2")
344 _MC88xxx (0xf4000f00, "ld.bu.usr", "d,1[2]")
345 _MC88xxx (0xf4001200, "ld.d", "d,1[2]")
346 _MC88xxx (0xf4001000, "ld.d", "d,1,2")
347 _MC88xxx (0x10000000, "ld.d", "d,1,I")
348 _MC88110 (0xf0001200, "ld.d", "xd,1[2]")
349 _MC88110 (0xf0001000, "ld.d", "xd,1,2")
350 _MC88110 (0x00000000, "ld.d", "xd,1,I")
351 _MC88xxx (0xf4001100, "ld.d.usr", "d,1,2")
352 _MC88xxx (0xf4001300, "ld.d.usr", "d,1[2]")
353 _MC88110 (0xf0001100, "ld.d.usr", "xd,1,2")
354 _MC88110 (0xf0001300, "ld.d.usr", "xd,1[2]")
355 _MC88xxx (0xf4001a00, "ld.h", "d,1[2]")
356 _MC88xxx (0xf4001800, "ld.h", "d,1,2")
357 _MC88xxx (0x18000000, "ld.h", "d,1,I")
358 _MC88xxx (0xf4001900, "ld.h.usr", "d,1,2")
359 _MC88xxx (0xf4001b00, "ld.h.usr", "d,1[2]")
360 _MC88xxx (0xf4000a00, "ld.hu", "d,1[2]")
361 _MC88xxx (0xf4000800, "ld.hu", "d,1,2")
362 _MC88xxx (0x08000000, "ld.hu", "d,1,I")
363 _MC88xxx (0xf4000900, "ld.hu.usr", "d,1,2")
364 _MC88xxx (0xf4000b00, "ld.hu.usr", "d,1[2]")
365 _MC88xxx (0xf4001500, "ld.usr", "d,1,2")
366 _MC88xxx (0xf4001700, "ld.usr", "d,1[2]")
367 _MC88110 (0xf0001500, "ld.usr", "xd,1,2")
368 _MC88110 (0xf0001700, "ld.usr", "xd,1[2]")
369 _MC88110 (0xf0001a00, "ld.x", "xd,1[2]")
370 _MC88110 (0xf0001800, "ld.x", "xd,1,2")
371 _MC88110 (0x3c000000, "ld.x", "xd,1,I")
372 _MC88110 (0xf0001900, "ld.x.usr", "xd,1,2")
373 _MC88110 (0xf0001b00, "ld.x.usr", "xd,1[2]")
374 _MC88xxx (0xf4003600, "lda", "d,1[2]")
375 _MC88xxx (0xf4006000, "lda", "?d,1,2") /* Output addu */
376 _MC88xxx (0x60000000, "lda", "?d,1,I") /* Output addu */
377 _MC88xxx (0xf4006000, "lda.b", "?d,1[2]") /* Output addu */
378 _MC88xxx (0xf4006000, "lda.b", "?d,1,2") /* Output addu */
379 _MC88xxx (0x60000000, "lda.b", "?d,1,I") /* Output addu */
380 _MC88xxx (0xf4003200, "lda.d", "d,1[2]")
381 _MC88xxx (0xf4006000, "lda.d", "?d,1,2") /* Output addu */
382 _MC88xxx (0x60000000, "lda.d", "?d,1,I") /* Output addu */
383 _MC88110 (0xf4003e00, "lda.x", "d,1[2]")
384 _MC88xxx (0xf4003a00, "lda.h", "d,1[2]")
385 _MC88xxx (0xf4006000, "lda.h", "?d,1,2") /* Output addu */
386 _MC88xxx (0x60000000, "lda.h", "?d,1,I") /* Output addu */
387 _MC88xxx (0x80004000, "ldcr", "d,c")
388 _MC88xxx (0xf400a000, "mak", "d,1,2")
389 _MC88xxx (0xf000a000, "mak", "d,1,b")
390 _MC88xxx (0x48000000, "mask", "d,1,I")
391 _MC88xxx (0x4c000000, "mask.u", "d,1,I")
392 _MC88110 (0x8400c000, "mov.s", "d,x2")
393 _MC88110 (0x84004200, "mov.s", "xd,2")
394 _MC88110 (0x8400c080, "mov.d", "d,x2")
395 _MC88110 (0x84004280, "mov.d", "xd,2")
396 _MC88110 (0x8400c300, "mov", "xd,x2")
397 _MC88xxx (0xf4006c00, "mul", "d,1,2")
398 _MC88xxx (0x6c000000, "mul", "d,1,I")
399 _MC88xxx (0xf4006e00, "muls", "d,1,2")
400 _MC88xxx (0x6c000000, "muls", "d,1,I")
401 _MC88xxx (0xf4006c00, "mulu", "d,1,2") /* synonym for mul */
402 _MC88xxx (0x6c000000, "mulu", "d,1,I") /* synonym for mul */
403 _MC88110 (0xf4006d00, "mulu.d", "d,1,2")
404 _MC88xxx (0x84005080, "nint.sd", "d,2")
405 _MC88110 (0x8400d080, "nint.sd", "d,x2")
406 _MC88xxx (0x84005000, "nint.ss", "d,2")
407 _MC88110 (0x8400d000, "nint.ss", "d,x2")
408 _MC88110 (0x8400d100, "nint.sx", "d,x2")
409 _MC88xxx (0xf4005800, "or", "d,1,2")
410 _MC88xxx (0x58000000, "or", "d,1,I")
411 _MC88xxx (0xf4005c00, "or.c", "d,1,2")
412 _MC88xxx (0x5c000000, "or.u", "d,1,I")
413 _MC88110 (0x88002020, "padd.b", "d,1,2")
414 _MC88110 (0x88002040, "padd.h", "d,1,2")
415 _MC88110 (0x88002060, "padd", "d,1,2")
416 _MC88110 (0x880020a0, "padds.u.b", "d,1,2")
417 _MC88110 (0x880020c0, "padds.u.h", "d,1,2")
418 _MC88110 (0x880020e0, "padds.u", "d,1,2")
419 _MC88110 (0x88002120, "padds.us.b", "d,1,2")
420 _MC88110 (0x88002140, "padds.us.h", "d,1,2")
421 _MC88110 (0x88002160, "padds.us", "d,1,2")
422 _MC88110 (0x880021a0, "padds.s.b", "d,1,2")
423 _MC88110 (0x880021c0, "padds.s.h", "d,1,2")
424 _MC88110 (0x880021e0, "padds.s", "d,1,2")
425 _MC88110 (0x88003860, "pcmp", "d,1,2")
426 _MC88110 (0x88000000, "pmul", "d,1,2")
427 _MC88110 (0x88006420, "ppack.32.b", "d,1,2")
428 _MC88110 (0x88006240, "ppack.16.h", "d,1,2")
429 _MC88110 (0x88006440, "ppack.32.h", "d,1,2")
430 _MC88110 (0x88006160, "ppack.8", "d,1,2")
431 _MC88110 (0x88006260, "ppack.16", "d,1,2")
432 _MC88110 (0x88006460, "ppack.32", "d,1,2")
433 _MC88110 (0x88007800, "prot", "d,1,2")
434 _MC88110 (0x88007000, "prot", "d,1,o")
435 _MC88110 (0x88003020, "psub.b", "d,1,2")
436 _MC88110 (0x88003040, "psub.h", "d,1,2")
437 _MC88110 (0x88003060, "psub", "d,1,2")
438 _MC88110 (0x880030a0, "psubs.u.b", "d,1,2")
439 _MC88110 (0x880030c0, "psubs.u.h", "d,1,2")
440 _MC88110 (0x880030e0, "psubs.u", "d,1,2")
441 _MC88110 (0x88003120, "psubs.us.b", "d,1,2")
442 _MC88110 (0x88003140, "psubs.us.h", "d,1,2")
443 _MC88110 (0x88003160, "psubs.us", "d,1,2")
444 _MC88110 (0x880031a0, "psubs.s.b", "d,1,2")
445 _MC88110 (0x880031c0, "psubs.s.h", "d,1,2")
446 _MC88110 (0x880031e0, "psubs.s", "d,1,2")
447 _MC88110 (0x88006800, "punpk.n", "d,1")
448 _MC88110 (0x88006820, "punpk.b", "d,1")
449 _MC88110 (0x88006840, "punpk.h", "d,1")
450 _MC88xxx (0xf400a800, "rot", "d,1,2")
451 _MC88xxx (0xf000a800, "rot", "d,1,b")
452 _MC88xxx (0xf400fc00, "rte", "")
453 _MC88xxx (0xf4008800, "set", "d,1,2")
454 _MC88xxx (0xf0008800, "set", "d,1,b")
455 _MC88xxx (0xf4002600, "st", "d,1[2]")
456 _MC88xxx (0xf4002400, "st", "d,1,2")
457 _MC88xxx (0x24000000, "st", "d,1,I")
458 _MC88110 (0xf0002600, "st", "xd,1[2]")
459 _MC88110 (0xf0002400, "st", "xd,1,2")
460 _MC88110 (0x34000000, "st", "xd,1,I")
461 _MC88xxx (0xf4002e00, "st.b", "d,1[2]")
462 _MC88xxx (0xf4002c00, "st.b", "d,1,2")
463 _MC88xxx (0x2c000000, "st.b", "d,1,I")
464 _MC88xxx (0xf4002d00, "st.b.usr", "d,1,2")
465 _MC88xxx (0xf4002f00, "st.b.usr", "d,1[2]")
466 _MC88110 (0xf4002d80, "st.b.usr.wt", "d,1,2")
467 _MC88110 (0xf4002f80, "st.b.usr.wt", "d,1[2]")
468 _MC88110 (0xf4002c80, "st.b.wt", "d,1,2")
469 _MC88110 (0xf4002e80, "st.b.wt", "d,1[2]")
470 _MC88xxx (0xf4002200, "st.d", "d,1[2]")
471 _MC88xxx (0xf4002000, "st.d", "d,1,2")
472 _MC88xxx (0x20000000, "st.d", "d,1,I")
473 _MC88110 (0xf0002200, "st.d", "xd,1[2]")
474 _MC88110 (0xf0002000, "st.d", "xd,1,2")
475 _MC88110 (0x30000000, "st.d", "xd,1,I")
476 _MC88xxx (0xf4002100, "st.d.usr", "d,1,2")
477 _MC88xxx (0xf4002300, "st.d.usr", "d,1[2]")
478 _MC88110 (0xf0002100, "st.d.usr", "xd,1,2")
479 _MC88110 (0xf0002300, "st.d.usr", "xd,1[2]")
480 _MC88110 (0xf4002180, "st.d.usr.wt", "d,1,2")
481 _MC88110 (0xf4002380, "st.d.usr.wt", "d,1[2]")
482 _MC88110 (0xf0002180, "st.d.usr.wt", "xd,1,2")
483 _MC88110 (0xf0002380, "st.d.usr.wt", "xd,1[2]")
484 _MC88110 (0xf4002080, "st.d.wt", "d,1,2")
485 _MC88110 (0xf4002280, "st.d.wt", "d,1[2]")
486 _MC88110 (0xf0002080, "st.d.wt", "xd,1,2")
487 _MC88110 (0xf0002280, "st.d.wt", "xd,1[2]")
488 _MC88xxx (0xf4002a00, "st.h", "d,1[2]")
489 _MC88xxx (0xf4002800, "st.h", "d,1,2")
490 _MC88xxx (0x28000000, "st.h", "d,1,I")
491 _MC88xxx (0xf4002900, "st.h.usr", "d,1,2")
492 _MC88xxx (0xf4002b00, "st.h.usr", "d,1[2]")
493 _MC88110 (0xf4002980, "st.h.usr.wt", "d,1,2")
494 _MC88110 (0xf4002b80, "st.h.usr.wt", "d,1[2]")
495 _MC88110 (0xf4002880, "st.h.wt", "d,1,2")
496 _MC88110 (0xf4002a80, "st.h.wt", "d,1[2]")
497 _MC88xxx (0xf4002500, "st.usr", "d,1,2")
498 _MC88xxx (0xf4002700, "st.usr", "d,1[2]")
499 _MC88110 (0xf0002500, "st.usr", "xd,1,2")
500 _MC88110 (0xf0002700, "st.usr", "xd,1[2]")
501 _MC88110 (0xf4002580, "st.usr.wt", "d,1,2")
502 _MC88110 (0xf4002780, "st.usr.wt", "d,1[2]")
503 _MC88110 (0xf0002580, "st.usr.wt", "xd,1,2")
504 _MC88110 (0xf0002780, "st.usr.wt", "xd,1[2]")
505 _MC88110 (0xf4002480, "st.wt", "d,1,2")
506 _MC88110 (0xf4002680, "st.wt", "d,1[2]")
507 _MC88110 (0xf0002480, "st.wt", "xd,1,2")
508 _MC88110 (0xf0002680, "st.wt", "xd,1[2]")
509 _MC88110 (0xf0002a00, "st.x", "xd,1[2]")
510 _MC88110 (0xf0002800, "st.x", "xd,1,2")
511 _MC88110 (0x38000000, "st.x", "xd,1,I")
512 _MC88110 (0xf0002900, "st.x.usr", "xd,1,2")
513 _MC88110 (0xf0002b00, "st.x.usr", "xd,1[2]")
514 _MC88110 (0xf0002980, "st.x.usr.wt", "xd,1,2")
515 _MC88110 (0xf0002b80, "st.x.usr.wt", "xd,1[2]")
516 _MC88110 (0xf0002880, "st.x.wt", "xd,1,2")
517 _MC88110 (0xf0002a80, "st.x.wt", "xd,1[2]")
518 _MC88xxx (0x80008000, "stcr", "3,c")
519 _MC88xxx (0xf4007400, "sub", "d,1,2")
520 _MC88xxx (0x74000000, "sub", "d,1,I")
521 _MC88xxx (0xf4007600, "sub.ci", "d,1,2")
522 _MC88xxx (0xf4007700, "sub.cio", "d,1,2")
523 _MC88xxx (0xf4007500, "sub.co", "d,1,2")
524 _MC88xxx (0xf4006400, "subu", "d,1,2")
525 _MC88xxx (0x64000000, "subu", "d,1,I")
526 _MC88xxx (0xf4006600, "subu.ci", "d,1,2")
527 _MC88xxx (0xf4006700, "subu.cio", "d,1,2")
528 _MC88xxx (0xf4006500, "subu.co", "d,1,2")
529 _MC88xxx (0xf000d000, "tb0", "B,1,V")
530 _MC88xxx (0xf000d800, "tb1", "B,1,V")
531 _MC88xxx (0xf400f800, "tbnd", "1,2")
532 _MC88xxx (0xf8000000, "tbnd", "1,I")
533 _MC88xxx (0xf000e800, "tcnd", "M,1,V")
534 _MC88xxx (0x84005880, "trnc.sd", "d,2")
535 _MC88110 (0x8400d880, "trnc.sd", "d,x2")
536 _MC88xxx (0x84005800, "trnc.ss", "d,2")
537 _MC88110 (0x8400d800, "trnc.ss", "d,x2")
538 _MC88110 (0x8400d900, "trnc.sx", "d,x2")
539 _MC88xxx (0x8000c000, "xcr", "d,3,c")
540 _MC88xxx (0xf4000600, "xmem", "d,1[2]")
541 _MC88xxx (0xf4000400, "xmem", "d,1,2")
542 _MC88100 (0x04000000, "xmem", "?d,1,I")
543 _MC88xxx (0xf4000200, "xmem.bu", "d,1[2]")
544 _MC88xxx (0xf4000000, "xmem.bu", "d,1,2")
545 _MC88100 (0x00000000, "xmem.bu", "?d,1,I")
546 _MC88xxx (0xf4000300, "xmem.bu.usr", "d,1[2]")
547 _MC88xxx (0xf4000100, "xmem.bu.usr", "d,1,2")
548 _MC88100 (0x00000100, "xmem.bu.usr", "?d,1,I")
549 _MC88xxx (0xf4000700, "xmem.usr", "d,1[2]")
550 _MC88xxx (0xf4000500, "xmem.usr", "d,1,2")
551 _MC88100 (0x04000100, "xmem.usr", "?d,1,I")
552 _MC88xxx (0xf4005000, "xor", "d,1,2")
553 _MC88xxx (0x50000000, "xor", "d,1,I")
554 _MC88xxx (0xf4005400, "xor.c", "d,1,2")
555 _MC88xxx (0x54000000, "xor.u", "d,1,I")
556 _MC88xxx (0x00000000, "", 0)
559 #define NUMOPCODES ((sizeof m88k_opcodes)/(sizeof m88k_opcodes[0]))