annotate src/instab.c @ 0:57495da01900

Initial checking of LWASM
author lost
date Fri, 03 Oct 2008 02:44:20 +0000
parents
children 34568fab6058
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
1 /*
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
2 * instab.c
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
3 *
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
4 * instruction table for assembling
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
5 */
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
6
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
7 #include <stdlib.h>
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
8
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
9 #define __instab_c_seen__
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
10 #include "instab.h"
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
11
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
12 extern void insn_gen(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
13 extern void insn_inh(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
14 extern void insn_indexed(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
15 extern void insn_rtor(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
16 extern void insn_rlist(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
17 extern void insn_logicmem(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
18 extern void insn_bitbit(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
19 extern void insn_tfm(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
20 extern void insn_rel8(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
21 extern void insn_rel16(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
22 extern void pseudo_org(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
23 extern void pseudo_equ(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
24 extern void pseudo_setdp(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
25 extern void pseudo_fcb(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
26 extern void pseudo_fdb(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
27 extern void pseudo_fqb(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
28 extern void pseudo_fcc(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
29 extern void pseudo_fcs(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
30 extern void pseudo_fcn(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
31 extern void pseudo_rmb(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
32 extern void pseudo_rmd(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
33 extern void pseudo_rmq(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
34 extern void pseudo_zmb(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
35 extern void pseudo_zmd(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
36 extern void pseudo_zmq(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
37 extern void pseudo_align(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
38 extern void pseudo_end(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
39 extern void pseudo_include(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
40 extern void pseudo_macro(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
41 extern void pseudo_endm(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
42 extern void pseudo_cond(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
43 extern void pseudo_else(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
44 extern void pseudo_endc(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
45 extern void pseudo_ifne(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
46 extern void pseudo_ifeq(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
47 extern void pseudo_ifge(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
48 extern void pseudo_ifgt(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
49 extern void pseudo_ifle(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
50 extern void pseudo_iflt(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
51 extern void pseudo_error(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
52 extern void pseudo_set(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
53 extern void pseudo_pragma(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
54 extern void pseudo_starpragma(asmstate_t *as, sourceline_t *cl, char **optr);
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
55
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
56 instab_t instab[] =
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
57 {
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
58 { "abx", { 0x3a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
59 { "adca", { 0x99, 0xa9, 0xb9, 0x89 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
60 { "adcb", { 0xd9, 0xe9, 0xf9, 0xc9 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
61 { "adcd", { 0x1099, 0x10a9, 0x10b9, 0x1089 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
62 { "adcr", { 0x1031, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
63 { "adda", { 0x9b, 0xab, 0xbb, 0x8b }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
64 { "addb", { 0xdb, 0xeb, 0xfb, 0xcb }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
65 { "addd", { 0xd3, 0xe3, 0xf3, 0xc3 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
66 { "adde", { 0x119b, 0x11ab, 0x11bb, 0x118b }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
67 { "addf", { 0x11db, 0x11eb, 0x11fb, 0x11cb }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
68 { "addr", { 0x1030, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
69 { "addw", { 0x109b, 0x10ab, 0x10bb, 0x108b }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
70 { "aim", { 0x02, 0x62, 0x72, -0x1 }, INSTYPE_LOGICMEM, 0, insn_logicmem },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
71 { "anda", { 0x94, 0xa4, 0xb4, 0x84 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
72 { "andb", { 0xd4, 0xe4, 0xf4, 0xc4 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
73 { "andcc", { 0x1c, -0x1, -0x1, 0x1c }, INSTYPE_IMM8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
74 { "andd", { 0x1094, 0x10a4, 0x10b4, 0x1084 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
75 { "andr", { 0x1034, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
76 { "asl", { 0x08, 0x68, 0x78, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
77 { "asla", { 0x48, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
78 { "aslb", { 0x58, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
79 { "asld", { 0x1048, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
80 { "asr", { 0x07, 0x67, 0x77, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
81 { "asra", { 0x47, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
82 { "asrb", { 0x57, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
83 { "asrd", { 0x1047, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
84
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
85 { "band", { 0x1130, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
86 { "bcc", { 0x24, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
87 { "bcs", { 0x25, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
88 { "beor", { 0x1134, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
89 { "beq", { 0x27, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
90 { "bge", { 0x2c, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
91 { "bgt", { 0x2e, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
92 { "bhi", { 0x22, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
93 { "bhs", { 0x24, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
94 { "biand", { 0x1131, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
95 { "bieor", { 0x1135, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
96 { "bior", { 0x1133, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
97 { "bita", { 0x95, 0xa5, 0xb5, 0x85 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
98 { "bitb", { 0xd5, 0xe5, 0xf5, 0xc5 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
99 { "bitd", { 0x1095, 0x10a5, 0x10b5, 0x1085 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
100 { "bitmd", { 0x113c, -0x1, -0x1, 0x113c }, INSTYPE_IMM8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
101 { "ble", { 0x2f, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
102 { "blo", { 0x25, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
103 { "bls", { 0x23, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
104 { "blt", { 0x2d, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
105 { "bmi", { 0x2b, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
106 { "bne", { 0x26, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
107 { "bor", { 0x1132, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
108 { "bpl", { 0x2a, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
109 { "bra", { 0x20, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
110 { "brn", { 0x21, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
111 { "bsr", { 0x8d, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
112 { "bvc", { 0x28, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
113 { "bvs", { 0x29, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
114
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
115 { "clr", { 0x0f, 0x6f, 0x7f, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
116 { "clra", { 0x4f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
117 { "clrb", { 0x5f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
118 { "clrd", { 0x104f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
119 { "clre", { 0x114f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
120 { "clrf", { 0x115f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
121 { "clrw", { 0x105f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
122 { "cmpa", { 0x91, 0xa1, 0xb1, 0x81 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
123 { "cmpb", { 0xd1, 0xe1, 0xf1, 0xc1 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
124 { "cmpd", { 0x1093, 0x10a3, 0x10b3, 0x1083 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
125 { "cmpe", { 0x1191, 0x11a1, 0x11b1, 0x1181 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
126 { "cmpf", { 0x11d1, 0x11e1, 0x11f1, 0x11c1 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
127 { "cmpr", { 0x1037, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
128 { "cmps", { 0x119c, 0x11ac, 0x11bc, 0x118c }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
129 { "cmpu", { 0x1193, 0x11a3, 0x11b3, 0x1183 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
130 { "cmpw", { 0x1091, 0x10a1, 0x10b1, 0x1081 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
131 { "cmpx", { 0x9c, 0xac, 0xbc, 0x8c }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
132 { "cmpy", { 0x109c, 0x10ac, 0x10bc, 0x108c }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
133 { "com", { 0x03, 0x63, 0x73, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
134 { "coma", { 0x43, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
135 { "comb", { 0x53, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
136 { "comd", { 0x1043, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
137 { "come", { 0x1143, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
138 { "comf", { 0x1153, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
139 { "comw", { 0x1053, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
140 { "cwai", { 0x3c, -0x1, -0x1, -0x1 }, INSTYPE_IMM8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
141
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
142 { "daa", { 0x19, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
143 { "dec", { 0x0a, 0x6a, 0x7a, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
144 { "deca", { 0x4a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
145 { "decb", { 0x5a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
146 { "decd", { 0x104a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
147 { "dece", { 0x114a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
148 { "decf", { 0x115a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
149 { "decw", { 0x105a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
150 { "divd", { 0x118d, 0x119d, 0x11ad, 0x11bd }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
151 { "divq", { 0x118e, 0x119e, 0x11ae, 0x11be }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
152
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
153 { "eim", { 0x05, 0x65, 0x75, -0x1 }, INSTYPE_LOGICMEM, 0, insn_logicmem },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
154 { "eora", { 0x98, 0xa8, 0xb8, 0x88 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
155 { "eorb", { 0xd8, 0xe9, 0xf9, 0xc8 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
156 { "eord", { 0x1098, 0x10a8, 0x10b8, 0x1088 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
157 { "eorr", { 0x1036, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
158 { "exg", { 0x1e, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
159
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
160 { "inc", { 0x0c, 0x6c, 0x7c, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
161 { "inca", { 0x4c, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
162 { "incb", { 0x5c, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
163 { "incd", { 0x104c, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
164 { "ince", { 0x114c, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
165 { "incf", { 0x115c, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
166 { "incw", { 0x105c, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
167
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
168 { "jmp", { 0x0e, 0x6e, 0x7e, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
169 { "jsr", { 0x9d, 0xad, 0xbd, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
170
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
171 { "lbcc", { 0x1024, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
172 { "lbcs", { 0x1025, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
173 { "lbeq", { 0x1027, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
174 { "lbge", { 0x102c, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
175 { "lbgt", { 0x102e, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
176 { "lbhi", { 0x1022, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
177 { "lbhs", { 0x1024, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
178 { "lble", { 0x102f, -0x1, -0x1, -0x1 }, INSTYPE_REL8, 0, insn_rel8 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
179 { "lblo", { 0x1025, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
180 { "lbls", { 0x1023, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
181 { "lblt", { 0x102d, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
182 { "lbmi", { 0x102b, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
183 { "lbne", { 0x1026, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
184 { "lbpl", { 0x102a, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
185 { "lbra", { 0x16, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
186 { "lbrn", { 0x1021, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
187 { "lbsr", { 0x17, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
188 { "lbvc", { 0x1028, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
189 { "lbvs", { 0x1029, -0x1, -0x1, -0x1 }, INSTYPE_REL16, 0, insn_rel16 },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
190 { "lda", { 0x96, 0xa6, 0xb6, 0x86 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
191 { "ldb", { 0xd6, 0xe6, 0xf6, 0xc6 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
192 { "ldbt", { 0x1136, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
193 { "ldd", { 0xdc, 0xec, 0xfc, 0xcc }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
194 { "lde", { 0x1196, 0x11a6, 0x11b6, 0x1186 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
195 { "ldf", { 0x11d6, 0x11e6, 0x11f6, 0x11c6 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
196 { "ldq", { 0x10dc, 0x10ec, 0x10fc, 0xcd }, INSTYPE_GEN32, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
197 { "lds", { 0x10de, 0x10ee, 0x10fe, 0x10ce }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
198 { "ldu", { 0xde, 0xee, 0xfe, 0xce }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
199 { "ldw", { 0x1096, 0x10a6, 0x10b6, 0x1086 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
200 { "ldx", { 0x9e, 0xae, 0xbe, 0x8e }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
201 { "ldy", { 0x109e, 0x10ae, 0x10be, 0x108e }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
202 { "ldmd", { 0x113d, -0x1, -0x1, 0x113d }, INSTYPE_IMM8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
203 { "leas", { 0x32, -0x1, -0x1, -0x1 }, INSTYPE_INDEX, 0, insn_indexed },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
204 { "leau", { 0x33, -0x1, -0x1, -0x1 }, INSTYPE_INDEX, 0, insn_indexed },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
205 { "leax", { 0x30, -0x1, -0x1, -0x1 }, INSTYPE_INDEX, 0, insn_indexed },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
206 { "leay", { 0x31, -0x1, -0x1, -0x1 }, INSTYPE_INDEX, 0, insn_indexed },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
207 { "lsl", { 0x08, 0x68, 0x78, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
208 { "lsla", { 0x48, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
209 { "lslb", { 0x58, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
210 { "lsld", { 0x1048, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
211 { "lsr", { 0x04, 0x64, 0x74, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
212 { "lsra", { 0x44, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
213 { "lsrb", { 0x54, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
214 { "lsrd", { 0x1044, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
215 { "lsrw", { 0x1054, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
216
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
217 { "mul", { 0x3d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
218 { "muld", { 0x118f, 0x119f, 0x11af, 0x11bf }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
219
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
220 { "neg", { 0x00, 0x60, 0x70, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
221 { "nega", { 0x40, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
222 { "negb", { 0x50, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
223 { "negd", { 0x1040, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
224 { "nop", { 0x12, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
225
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
226 { "oim", { 0x01, 0x61, 0x71, -0x1 }, INSTYPE_LOGICMEM, 0, insn_logicmem },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
227 { "ora", { 0x9a, 0xaa, 0xba, 0x8a }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
228 { "orb", { 0xda, 0xea, 0xfa, 0xca }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
229 { "orcc", { 0x1a, -0x1, -0x1, 0x1a }, INSTYPE_IMM8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
230 { "ord", { 0x109a, 0x10aa, 0x10ba, 0x108a }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
231 { "orr", { 0x1035, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
232
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
233 { "pshs", { 0x34, -0x1, -0x1, -0x1 }, INSTYPE_RLIST, 0, insn_rlist },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
234 { "pshsw", { 0x1038, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
235 { "pshu", { 0x36, -0x1, -0x1, -0x1 }, INSTYPE_RLIST, 0, insn_rlist },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
236 { "pshuw", { 0x103a, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
237 { "puls", { 0x35, -0x1, -0x1, -0x1 }, INSTYPE_RLIST, 0, insn_rlist },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
238 { "pulsw", { 0x1039, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
239 { "pulu", { 0x37, -0x1, -0x1, -0x1 }, INSTYPE_RLIST, 0, insn_rlist },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
240 { "puluw", { 0x103b, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
241
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
242 { "rol", { 0x09, 0x69, 0x79, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
243 { "rola", { 0x49, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
244 { "rolb", { 0x59, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
245 { "rold", { 0x1049, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
246 { "rolw", { 0x1059, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
247 { "ror", { 0x06, 0x66, 0x76, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
248 { "rora", { 0x46, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
249 { "rorb", { 0x56, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
250 { "rord", { 0x1046, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
251 { "rorw", { 0x1056, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
252 { "rti", { 0x3b, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
253 { "rts", { 0x39, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
254
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
255 { "sbca", { 0x92, 0xa2, 0xb2, 0x82 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
256 { "sbcb", { 0xd2, 0xe2, 0xf2, 0xc2 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
257 { "sbcd", { 0x1092, 0x10a2, 0x10b2, 0x1082 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
258 { "sbcr", { 0x1033, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
259 { "sex", { 0x1d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
260 { "sexw", { 0x14, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
261 { "sta", { 0x97, 0xa7, 0xb7, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
262 { "stb", { 0xd7, 0xe7, 0xf7, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
263 { "stbt", { 0x1137, -0x1, -0x1, -0x1 }, INSTYPE_BITBIT, 0, insn_bitbit },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
264 { "std", { 0xdd, 0xed, 0xfd, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
265 { "ste", { 0x1197, 0x11a7, 0x11b7, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
266 { "stf", { 0x11d7, 0x11e7, 0x11f7, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
267 { "stq", { 0x10dd, 0x10ed, 0x10fd, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
268 { "sts", { 0x10df, 0x10ef, 0x10ff, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
269 { "stu", { 0xdf, 0xef, 0xff, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
270 { "stw", { 0x1097, 0x10a7, 0x10b7, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
271 { "stx", { 0x9f, 0xaf, 0xbf, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
272 { "sty", { 0x109f, 0x10af, 0x10bf, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
273 { "suba", { 0x90, 0xa0, 0xb0, 0x80 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
274 { "subb", { 0xd0, 0xe0, 0xf0, 0xc0 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
275 { "subd", { 0x93, 0xa3, 0xb3, 0x83 }, INSTYPE_GEN, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
276 { "sube", { 0x1190, 0x11a0, 0x11b0, 0x1180 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
277 { "subf", { 0x11d0, 0x11e0, 0x11f0, 0x11c0 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
278 { "subr", { 0x1032, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
279 { "subw", { 0x1090, 0x10a0, 0x1090, 0x1080 }, INSTYPE_GEN8, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
280 { "swi", { 0x3f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
281 { "swi2", { 0x103f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
282 { "swi3", { 0x113f, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
283 { "sync", { 0x13, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
284
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
285 // note: r+,r+ r-,r- r+,r r,r+
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
286 { "tfm", { 0x1138, 0x1139, 0x113a, 0x113b }, INSTYPE_TFM, 0, insn_tfm },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
287
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
288 { "tfr", { 0x1f, -0x1, -0x1, -0x1 }, INSTYPE_RTOR, 0, insn_rtor },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
289 { "tim", { 0x0b, 0x6b, 0x7b, -0x1 }, INSTYPE_LOGICMEM, 0, insn_logicmem },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
290 { "tst", { 0x0d, 0x6d, 0x7d, -0x1 }, INSTYPE_GENNOIMM, 0, insn_gen },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
291 { "tsta", { 0x4d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
292 { "tstb", { 0x5d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
293 { "tstd", { 0x104d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
294 { "tste", { 0x114d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
295 { "tstf", { 0x115d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
296 { "tstw", { 0x105d, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
297
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
298 // pseudo ops are here
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
299 { "org", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_ORG, pseudo_org },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
300 { "equ", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_EQU, pseudo_equ },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
301 { "=", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_EQU, pseudo_equ },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
302 { "setdp", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_SETDP, pseudo_setdp },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
303 { "fcb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_FCB, pseudo_fcb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
304 { "fdb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_FDB, pseudo_fdb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
305 { "fqb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_FQB, pseudo_fqb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
306 { "fcc", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_FCC, pseudo_fcc },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
307 { "fcs", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_FCS, pseudo_fcs },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
308 { "fcn", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_FCN, pseudo_fcn },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
309 { "rmb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_RMB, pseudo_rmb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
310 { "align", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_ALIGN, pseudo_align },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
311 { "end", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_END, pseudo_end },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
312 { "include",{ -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_INCLUDE, pseudo_include },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
313 // { "absolute", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
314 // { "bsz", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
315 // { "byte", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_fcb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
316 // { "cond", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_cond },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
317 // { "db", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_fcb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
318 // { "ds", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_rmb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
319 // { "dtb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
320 // { "dts", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
321 // { "dw", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_fdb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
322 // { "dword", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_fqb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
323 { "else", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_ELSE, pseudo_else },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
324 // { "emod", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
325 { "endc", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_ENDC, pseudo_endc },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
326 { "endif", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_ENDC, pseudo_endc },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
327 // { "even", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
328 // { "fcr", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
329 // { "fill", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
330 // { "fzb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
331 // { "fzd", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
332 // { "fzq", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
333 { "if", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_ifne },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
334 { "ifeq", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_ifeq },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
335 { "ifge", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_ifge },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
336 { "ifgt", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_ifgt },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
337 { "ifle", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_ifle },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
338 { "iflt", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_iflt },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
339 { "ifne", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_COND, pseudo_ifne },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
340 // { "ifp1", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
341 // { "ifp2", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
342 // { "lib", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
343 // { "mod", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
344 // { "nam", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
345 // { "name", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
346 // { "nam", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
347 // { "odd", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
348 // { "opt", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
349 // { "pag", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
350 // { "page", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
351 // { "page0", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
352 // { "page1", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
353 { "rmd", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_rmd },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
354 { "rmq", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_rmq },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
355 // { "set", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
356 // { "spc", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
357 // { "title", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
358 // { "ttl", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
359 // { "use", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
360 // { "word", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_fdb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
361 { "zmb", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_zmb },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
362 { "zmd", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_zmd },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
363 { "zmq", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_zmq },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
364
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
365 { "macro", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_MACRO, pseudo_macro },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
366 { "endm", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, SPECIAL_ENDM, pseudo_endm },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
367 // { "struct", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
368 // { "endstruct", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, NULL },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
369
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
370 // { "namespace", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_namespace },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
371 // { "endnamespace", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_endnamespace },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
372 // { "endname", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_endnamespace },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
373 { "error", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_error },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
374
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
375 { "set", { -1, -1, -1, -1 }, INSTYPE_PSEUDO, 0, pseudo_set },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
376
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
377 { "pragma", { -1, -1, -1, -1}, INSTYPE_PSEUDO, 0, pseudo_pragma },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
378 { "*pragma", { -1, -1, -1, -1}, INSTYPE_PSEUDO, 0, pseudo_starpragma },
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
379
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
380 /* flag end of table */
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
381 { NULL, { -0x1, -0x1, -0x1, -0x1 }, INSTYPE_INH, 0, insn_inh }
57495da01900 Initial checking of LWASM
lost
parents:
diff changeset
382 };