aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m10300-opc.c
blob: 99970d466f0e896b5c70fe945dd7b2416d28baa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
/* Assemble Matsushita MN10300 instructions.
   Copyright (C) 1996, 1997 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */

#include "ansidecl.h"
#include "opcode/mn10300.h"


const struct mn10300_operand mn10300_operands[] = {
#define UNUSED	0
  {0, 0, 0}, 

/* dn register in the first register operand position.  */
#define DN0      (UNUSED+1)
  {2, 0, MN10300_OPERAND_DREG},

/* dn register in the second register operand position.  */
#define DN1      (DN0+1)
  {2, 2, MN10300_OPERAND_DREG},

/* dn register in the third register operand position.  */
#define DN2      (DN1+1)
  {2, 4, MN10300_OPERAND_DREG},

/* dm register in the first register operand position.  */
#define DM0      (DN2+1)
  {2, 0, MN10300_OPERAND_DREG},

/* dm register in the second register operand position.  */
#define DM1      (DM0+1)
  {2, 2, MN10300_OPERAND_DREG},

/* dm register in the third register operand position.  */
#define DM2      (DM1+1)
  {2, 4, MN10300_OPERAND_DREG},

/* an register in the first register operand position.  */
#define AN0      (DM2+1)
  {2, 0, MN10300_OPERAND_AREG},

/* an register in the second register operand position.  */
#define AN1      (AN0+1)
  {2, 2, MN10300_OPERAND_AREG},

/* an register in the third register operand position.  */
#define AN2      (AN1+1)
  {2, 4, MN10300_OPERAND_AREG},

/* am register in the first register operand position.  */
#define AM0      (AN2+1)
  {2, 0, MN10300_OPERAND_AREG},

/* am register in the second register operand position.  */
#define AM1      (AM0+1)
  {2, 2, MN10300_OPERAND_AREG},

/* am register in the third register operand position.  */
#define AM2      (AM1+1)
  {2, 4, MN10300_OPERAND_AREG},

/* 8 bit unsigned immediate which may promote to a 16bit
   unsigned immediate.  */
#define IMM8    (AM2+1)
  {8, 0, MN10300_OPERAND_PROMOTE},

/* 16 bit unsigned immediate which may promote to a 32bit
   unsigned immediate.  */
#define IMM16    (IMM8+1)
  {16, 0, MN10300_OPERAND_PROMOTE},

/* 16 bit pc-relative immediate which may promote to a 16bit
   pc-relative immediate.  */
#define IMM16_PCREL    (IMM16+1)
  {16, 0, MN10300_OPERAND_PCREL | MN10300_OPERAND_RELAX | MN10300_OPERAND_SIGNED},

/* 16bit unsigned dispacement in a memory operation which
   may promote to a 32bit displacement.  */
#define IMM16_MEM    (IMM16_PCREL+1)
  {16, 0, MN10300_OPERAND_PROMOTE | MN10300_OPERAND_MEMADDR},

/* 32bit immediate, high 16 bits in the main instruction
   word, 16bits in the extension word. 

   The "bits" field indicates how many bits are in the
   main instruction word for MN10300_OPERAND_SPLIT!  */
#define IMM32    (IMM16_MEM+1)
  {16, 0, MN10300_OPERAND_SPLIT},

/* 32bit pc-relative offset.  */
#define IMM32_PCREL    (IMM32+1)
  {16, 0, MN10300_OPERAND_SPLIT | MN10300_OPERAND_PCREL},

/* 32bit memory offset.  */
#define IMM32_MEM    (IMM32_PCREL+1)
  {16, 0, MN10300_OPERAND_SPLIT | MN10300_OPERAND_MEMADDR},

/* 32bit immediate, high 16 bits in the main instruction
   word, 16bits in the extension word, low 16bits are left
   shifted 8 places. 

   The "bits" field indicates how many bits are in the
   main instruction word for MN10300_OPERAND_SPLIT!  */
#define IMM32_LOWSHIFT8    (IMM32_MEM+1)
  {16, 8, MN10300_OPERAND_SPLIT | MN10300_OPERAND_MEMADDR},

/* 32bit immediate, high 24 bits in the main instruction
   word, 8 in the extension word.

   The "bits" field indicates how many bits are in the
   main instruction word for MN10300_OPERAND_SPLIT!  */
#define IMM32_HIGH24    (IMM32_LOWSHIFT8+1)
  {24, 0, MN10300_OPERAND_SPLIT | MN10300_OPERAND_PCREL},

/* 32bit immediate, high 24 bits in the main instruction
   word, 8 in the extension word, low 8 bits are left
   shifted 16 places. 

   The "bits" field indicates how many bits are in the
   main instruction word for MN10300_OPERAND_SPLIT!  */
#define IMM32_HIGH24_LOWSHIFT16    (IMM32_HIGH24+1)
  {24, 16, MN10300_OPERAND_SPLIT | MN10300_OPERAND_PCREL},

/* Stack pointer.  */
#define SP    (IMM32_HIGH24_LOWSHIFT16+1)
  {8, 0, MN10300_OPERAND_SP},

/* Processor status word.  */
#define PSW    (SP+1)
  {0, 0, MN10300_OPERAND_PSW},

/* MDR register.  */
#define MDR    (PSW+1)
  {0, 0, MN10300_OPERAND_MDR},

/* Index register.  */
#define DI (MDR+1)
  {2, 2, MN10300_OPERAND_DREG},

/* 8 bit signed displacement, may promote to 16bit signed dispacement.  */
#define SD8    (DI+1)
  {8, 0, MN10300_OPERAND_SIGNED | MN10300_OPERAND_PROMOTE},

/* 16 bit signed displacement, may promote to 32bit dispacement.  */
#define SD16    (SD8+1)
  {16, 0, MN10300_OPERAND_SIGNED | MN10300_OPERAND_PROMOTE},

/* 8 bit signed displacement that can not promote.  */
#define SD8N    (SD16+1)
  {8, 0, MN10300_OPERAND_SIGNED},

/* 8 bit pc-relative displacement.  */
#define SD8N_PCREL    (SD8N+1)
  {8, 0, MN10300_OPERAND_SIGNED | MN10300_OPERAND_PCREL | MN10300_OPERAND_RELAX},

/* 8 bit signed displacement shifted left 8 bits in the instruction.  */
#define SD8N_SHIFT8    (SD8N_PCREL+1)
  {8, 8, MN10300_OPERAND_SIGNED},

/* 8 bit signed immediate which may promote to 16bit signed immediate.  */
#define SIMM8    (SD8N_SHIFT8+1)
  {8, 0, MN10300_OPERAND_SIGNED | MN10300_OPERAND_PROMOTE},

/* 16 bit signed immediate which may promote to 32bit  immediate.  */
#define SIMM16    (SIMM8+1)
  {16, 0, MN10300_OPERAND_SIGNED | MN10300_OPERAND_PROMOTE},

/* Either an open paren or close paren.  */
#define PAREN	(SIMM16+1)
  {0, 0, MN10300_OPERAND_PAREN}, 

/* dn register that appears in the first and second register positions.  */
#define DN01     (PAREN+1)
  {2, 0, MN10300_OPERAND_DREG | MN10300_OPERAND_REPEATED},

/* an register that appears in the first and second register positions.  */
#define AN01     (DN01+1)
  {2, 0, MN10300_OPERAND_AREG | MN10300_OPERAND_REPEATED},

/* 16bit pc-relative displacement which may promote to 32bit pc-relative
   displacement.  */
#define D16_SHIFT (AN01+1)
  {16, 8, MN10300_OPERAND_PCREL | MN10300_OPERAND_RELAX | MN10300_OPERAND_SIGNED},

/* 8 bit immediate found in the extension word.  */
#define IMM8E    (D16_SHIFT+1)
  {8, 0, MN10300_OPERAND_EXTENDED},

/* Register list found in the extension word shifted 8 bits left.  */
#define REGSE_SHIFT8    (IMM8E+1)
  {8, 8, MN10300_OPERAND_EXTENDED | MN10300_OPERAND_REG_LIST},

/* Register list shifted 8 bits left.  */
#define REGS_SHIFT8 (REGSE_SHIFT8 + 1)
  {8, 8, MN10300_OPERAND_REG_LIST},

/* Reigster list.  */
#define REGS    (REGS_SHIFT8+1)
  {8, 0, MN10300_OPERAND_REG_LIST},

/* start-sanitize-am33 */
/* UStack pointer.  */
#define USP    (REGS+1)
  {0, 0, MN10300_OPERAND_USP},

/* SStack pointer.  */
#define SSP    (USP+1)
  {0, 0, MN10300_OPERAND_SSP},

/* MStack pointer.  */
#define MSP    (SSP+1)
  {0, 0, MN10300_OPERAND_MSP},

/* PC .  */
#define PC    (MSP+1)
  {0, 0, MN10300_OPERAND_PC},

/* 4 bit immediate for syscall.  */
#define IMM4    (PC+1)
  {4, 0, 0},

/* Processor status word.  */
#define EPSW    (IMM4+1)
  {0, 0, MN10300_OPERAND_EPSW},

/* rn register in the first register operand position.  */
#define RN0      (EPSW+1)
  {4, 0, MN10300_OPERAND_RREG},

/* rn register in the fourth register operand position.  */
#define RN2      (RN0+1)
  {4, 4, MN10300_OPERAND_RREG},

/* rm register in the first register operand position.  */
#define RM0      (RN2+1)
  {4, 0, MN10300_OPERAND_RREG},

/* rm register in the second register operand position.  */
#define RM1      (RM0+1)
  {4, 2, MN10300_OPERAND_RREG},

/* rm register in the third register operand position.  */
#define RM2      (RM1+1)
  {4, 4, MN10300_OPERAND_RREG},

#define RN02      (RM2+1)
  {4, 0, MN10300_OPERAND_RREG | MN10300_OPERAND_REPEATED},

#define XRN0      (RN02+1)
  {4, 0, MN10300_OPERAND_XRREG},

#define XRM2      (XRN0+1)
  {4, 4, MN10300_OPERAND_XRREG},

/* + for autoincrement */
#define PLUS	(XRM2+1)
  {0, 0, MN10300_OPERAND_PLUS}, 

#define XRN02      (PLUS+1)
  {4, 0, MN10300_OPERAND_XRREG | MN10300_OPERAND_REPEATED},

/* Ick */
#define RD0      (XRN02+1)
  {4, -8, MN10300_OPERAND_RREG},

#define RD2      (RD0+1)
  {4, -4, MN10300_OPERAND_RREG},

/* 8 unsigned dispacement in a memory operation which
   may promote to a 32bit displacement.  */
#define IMM8_MEM    (RD2+1)
  {8, 0, MN10300_OPERAND_PROMOTE | MN10300_OPERAND_MEMADDR},

/* Index register.  */
#define RI (IMM8_MEM+1)
  {4, 4, MN10300_OPERAND_RREG},

/* 24 bit signed displacement, may promote to 32bit dispacement.  */
#define SD24    (RI+1)
  {8, 0, MN10300_OPERAND_24BIT | MN10300_OPERAND_SIGNED | MN10300_OPERAND_PROMOTE},

/* 24 bit unsigned immediate which may promote to a 32bit
   unsigned immediate.  */
#define IMM24    (SD24+1)
  {8, 0, MN10300_OPERAND_24BIT | MN10300_OPERAND_PROMOTE},

/* 24 bit signed immediate which may promote to a 32bit
   signed immediate.  */
#define SIMM24    (IMM24+1)
  {8, 0, MN10300_OPERAND_24BIT | MN10300_OPERAND_PROMOTE | MN10300_OPERAND_SIGNED},

/* 16bit unsigned dispacement in a memory operation which
   may promote to a 32bit displacement.  */
#define IMM24_MEM    (SIMM24+1)
  {8, 0, MN10300_OPERAND_24BIT | MN10300_OPERAND_PROMOTE | MN10300_OPERAND_MEMADDR},
/* 32bit immediate, high 24 bits in the main instruction
   word, 8 in the extension word.

   The "bits" field indicates how many bits are in the
   main instruction word for MN10300_OPERAND_SPLIT!  */
#define IMM32_HIGH8    (IMM24_MEM+1)
  {8, 0, MN10300_OPERAND_SPLIT},

/* Similarly, but a memory address.  */
#define IMM32_HIGH8_MEM  (IMM32_HIGH8+1)
  {8, 0, MN10300_OPERAND_SPLIT | MN10300_OPERAND_MEMADDR},

/* rm register in the seventh register operand position.  */
#define RM6      (IMM32_HIGH8_MEM+1)
  {4, 12, MN10300_OPERAND_RREG},

/* rm register in the fifth register operand position.  */
#define RN4      (RM6+1)
  {4, 8, MN10300_OPERAND_RREG},

/* 4 bit immediate for dsp instructions.  */
#define IMM4_2    (RN4+1)
  {4, 4, 0},

/* 4 bit immediate for dsp instructions.  */
#define SIMM4_2    (IMM4_2+1)
  {4, 4, MN10300_OPERAND_SIGNED},

/* 4 bit immediate for dsp instructions.  */
#define SIMM4_6    (SIMM4_2+1)
  {4, 12, MN10300_OPERAND_SIGNED},
/* end-sanitize-am33 */

} ; 

#define MEM(ADDR) PAREN, ADDR, PAREN 
#define MEMINC(ADDR) PAREN, ADDR, PLUS, PAREN 
#define MEM2(ADDR1,ADDR2) PAREN, ADDR1, ADDR2, PAREN 

/* The opcode table.

   The format of the opcode table is:

   NAME		OPCODE		MASK		{ OPERANDS }

   NAME is the name of the instruction.
   OPCODE is the instruction opcode.
   MASK is the opcode mask; this is used to tell the disassembler
     which bits in the actual opcode must match OPCODE.
   OPERANDS is the list of operands.

   The disassembler reads the table in order and prints the first
   instruction which matches, so this table is sorted to put more
   specific instructions before more general instructions.  It is also
   sorted by major opcode.  */

const struct mn10300_opcode mn10300_opcodes[] = {
{ "mov",	0x8000,		0xf000,		FMT_S1, {SIMM8, DN01}},
{ "mov",	0x80,		0xf0,		FMT_S0, {DM1, DN0}},
{ "mov",	0xf1e0,		0xfff0,		FMT_D0, {DM1, AN0}},
{ "mov",	0xf1d0,		0xfff0,		FMT_D0, {AM1, DN0}},
{ "mov",	0x9000,		0xf000,		FMT_S1, {IMM8, AN01}},
{ "mov",	0x90,		0xf0,		FMT_S0, {AM1, AN0}},
{ "mov",	0x3c,		0xfc,		FMT_S0, {SP, AN0}},
{ "mov",	0xf2f0,		0xfff3,		FMT_D0, {AM1, SP}},
{ "mov",	0xf2e4,		0xfffc,		FMT_D0, {PSW, DN0}},
{ "mov",	0xf2f3,		0xfff3,		FMT_D0, {DM1, PSW}},
{ "mov",	0xf2e0,		0xfffc,		FMT_D0, {MDR, DN0}},
{ "mov",	0xf2f2,		0xfff3,		FMT_D0, {DM1, MDR}},
{ "mov",	0x70,		0xf0,		FMT_S0, {MEM(AM0), DN1}},
{ "mov",	0x5800,		0xfcff,		FMT_S1, {MEM(SP), DN0}},
{ "mov",	0x300000,	0xfc0000,	FMT_S2, {MEM(IMM16_MEM), DN0}},
{ "mov",	0xfca40000,	0xfffc0000,	FMT_D4, {MEM(IMM32_MEM), DN0}},
{ "mov",	0xf000,		0xfff0,		FMT_D0, {MEM(AM0), AN1}},
{ "mov",	0x5c00,		0xfcff,		FMT_S1, {MEM(SP), AN0}},
{ "mov",	0xfaa00000,	0xfffc0000,	FMT_D2, {MEM(IMM16_MEM), AN0}},
{ "mov",	0xfca00000,	0xfffc0000,	FMT_D4, {MEM(IMM32_MEM), AN0}},
{ "mov",	0x60,		0xf0,		FMT_S0, {DM1, MEM(AN0)}},
{ "mov",	0x4200,		0xf3ff,		FMT_S1, {DM1, MEM(SP)}},
{ "mov",	0x010000,	0xf30000,	FMT_S2, {DM1, MEM(IMM16_MEM)}},
{ "mov",	0xfc810000,	0xfff30000,	FMT_D4, {DM1, MEM(IMM32_MEM)}},
{ "mov",	0xf010,		0xfff0,		FMT_D0, {AM1, MEM(AN0)}},
{ "mov",	0x4300,		0xf3ff,		FMT_S1, {AM1, MEM(SP)}},
{ "mov",	0xfa800000,	0xfff30000,	FMT_D2, {AM1, MEM(IMM16_MEM)}},
{ "mov",	0xfc800000,	0xfff30000,	FMT_D4, {AM1, MEM(IMM32_MEM)}},
{ "mov",	0x5c00,		0xfc00,		FMT_S1, {MEM2(IMM8, SP), AN0}},
{ "mov",	0xf80000,	0xfff000,	FMT_D1, {MEM2(SD8, AM0), DN1}},
{ "mov",	0xfa000000,	0xfff00000,	FMT_D2, {MEM2(SD16, AM0), DN1}},
{ "mov",	0xfc000000,	0xfff00000,	FMT_D4, {MEM2(IMM32,AM0), DN1}},
{ "mov",	0x5800,		0xfc00,		FMT_S1, {MEM2(IMM8, SP), DN0}},
{ "mov",	0xfab40000,	0xfffc0000,	FMT_D2, {MEM2(IMM16, SP), DN0}},
{ "mov",	0xfcb40000,	0xfffc0000,	FMT_D4, {MEM2(IMM32, SP), DN0}},
{ "mov",	0xf300,		0xffc0,		FMT_D0, {MEM2(DI, AM0), DN2}},
{ "mov",	0xf82000,	0xfff000,	FMT_D1, {MEM2(SD8,AM0), AN1}},
{ "mov",	0xfa200000,	0xfff00000,	FMT_D2, {MEM2(SD16, AM0), AN1}},
{ "mov",	0xfc200000,	0xfff00000,	FMT_D4, {MEM2(IMM32,AM0), AN1}},
{ "mov",	0xfab00000,	0xfffc0000,	FMT_D2, {MEM2(IMM16, SP), AN0}},
{ "mov",	0xfcb00000,	0xfffc0000,	FMT_D4, {MEM2(IMM32, SP), AN0}},
{ "mov",	0xf380,		0xffc0,		FMT_D0, {MEM2(DI, AM0), AN2}},
{ "mov",	0x4300,		0xf300,		FMT_S1, {AM1, MEM2(IMM8, SP)}},
{ "mov",	0xf81000,	0xfff000,	FMT_D1, {DM1, MEM2(SD8, AN0)}},
{ "mov",	0xfa100000,	0xfff00000,	FMT_D2, {DM1, MEM2(SD16, AN0)}},
{ "mov",	0xfc100000,	0xfff00000,	FMT_D4, {DM1, MEM2(IMM32,AN0)}},
{ "mov",	0x4200,		0xf300,		FMT_S1, {DM1, MEM2(IMM8, SP)}},
{ "mov",	0xfa910000,	0xfff30000,	FMT_D2, {DM1, MEM2(IMM16, SP)}},
{ "mov",	0xfc910000,	0xfff30000,	FMT_D4, {DM1, MEM2(IMM32, SP)}},
{ "mov",	0xf340,		0xffc0,		FMT_D0, {DM2, MEM2(DI, AN0)}},
{ "mov",	0xf83000,	0xfff000,	FMT_D1, {AM1, MEM2(SD8, AN0)}},
{ "mov",	0xfa300000,	0xfff00000,	FMT_D2, {AM1, MEM2(SD16, AN0)}},
{ "mov",	0xfc300000,	0xfff00000,	FMT_D4, {AM1, MEM2(IMM32,AN0)}},
{ "mov",	0xfa900000,	0xfff30000,	FMT_D2, {AM1, MEM2(IMM16, SP)}},
{ "mov",	0xfc900000,	0xfff30000,	FMT_D4, {AM1, MEM2(IMM32, SP)}},
{ "mov",	0xf3c0,		0xffc0,		FMT_D0, {AM2, MEM2(DI, AN0)}},

/* start-sanitize-am33 */
{ "mov",	0xf020,		0xfffc,		FMT_D0, {USP, AN0}},
{ "mov",	0xf024,		0xfffc,		FMT_D0, {SSP, AN0}},
{ "mov",	0xf028,		0xfffc,		FMT_D0, {MSP, AN0}},
{ "mov",	0xf02c,		0xfffc,		FMT_D0, {PC, AN0}},
{ "mov",	0xf030,		0xfff3,		FMT_D0, {AN1, USP}},
{ "mov",	0xf031,		0xfff3,		FMT_D0, {AN1, SSP}},
{ "mov",	0xf032,		0xfff3,		FMT_D0, {AN1, MSP}},
{ "mov",	0xf2ec,		0xfffc,		FMT_D0, {EPSW, DN0}},
{ "mov",	0xf2f1,		0xfff3,		FMT_D0, {DM1, EPSW}},
{ "mov",	0xf500,		0xffc0,		FMT_D0, {AM2, RN0}},
{ "mov",	0xf540,		0xffc0,		FMT_D0, {DM2, RN0}},
{ "mov",	0xf580,		0xffc0,		FMT_D0, {RM1, AN0}},
{ "mov",	0xf5c0,		0xffc0,		FMT_D0, {RM1, DN0}},
{ "mov",	0xf90800,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "mov",	0xf9e800,	0xffff00,	FMT_D6, {XRM2, RN0}},
{ "mov",	0xf9f800,	0xffff00,	FMT_D6, {RM2, XRN0}},
{ "mov",	0xf90a00,	0xffff00,	FMT_D6, {MEM(RM0), RN2}},
{ "mov",	0xf98a00,	0xffff0f,	FMT_D6, {MEM(SP), RN2}},
{ "mov",	0xf96a00,	0xffff00,	FMT_D6, {MEMINC(RM0), RN2}},
{ "mov",	0xfb0e0000,	0xffff0f00,	FMT_D7, {MEM(IMM8_MEM), RN2}},
{ "mov",	0xfd0e0000,	0xffff0f00,	FMT_D8, {MEM(IMM24_MEM), RN2}},
{ "mov",	0xfe0e0000,	0xffff0f00,	FMT_D9, {MEM(IMM32_HIGH8_MEM),
							 RN2}},
{ "mov",	0xf91a00,	0xffff00,	FMT_D6, {RM2, MEM(RN0)}},
{ "mov",	0xf99a00,	0xffff0f,	FMT_D6, {RM2, MEM(SP)}},
{ "mov",	0xf97a00,	0xffff00,	FMT_D6, {RM2, MEMINC(RN0)}},
{ "mov",	0xfb1e0000,	0xffff0f00,	FMT_D7, {RM2, MEM(IMM8_MEM)}},
{ "mov",	0xfd1e0000,	0xffff0f00,	FMT_D8, {RM2, MEM(IMM24_MEM)}},
{ "mov",	0xfe1e0000,	0xffff0f00,	FMT_D9, {RM2,
							 MEM(IMM32_HIGH8_MEM)}},
{ "mov",	0xfb0a0000,	0xffff0000,	FMT_D7, {MEM2(SD8, RM0), RN2}},
{ "mov",	0xfd0a0000,	0xffff0000,	FMT_D8, {MEM2(SD24, RM0), RN2}},
{ "mov",	0xfe0a0000,	0xffff0000,	FMT_D9, {MEM2(IMM32_HIGH8,RM0), RN2}},
{ "mov",	0xfb8e0000,	0xffff000f,	FMT_D7, {MEM2(RI, RM0), RD2}},
{ "mov",	0xfb1a0000,	0xffff0000,	FMT_D7, {RM2, MEM2(SD8, RN0)}},
{ "mov",	0xfd1a0000,	0xffff0000,	FMT_D8, {RM2, MEM2(SD24, RN0)}},
{ "mov",	0xfe1a0000,	0xffff0000,	FMT_D9, {RM2, MEM2(IMM32_HIGH8,RN0)}},
{ "mov",	0xfb8a0000,	0xffff0f00,	FMT_D7, {MEM2(SD8, SP), RN2}},
{ "mov",	0xfd8a0000,	0xffff0f00,	FMT_D8, {MEM2(SD24, SP), RN2}},
{ "mov",	0xfe8a0000,	0xffff0f00,	FMT_D9, {MEM2(IMM32_HIGH8, SP), RN2}},
{ "mov",	0xfb9a0000,	0xffff0f00,	FMT_D7, {RM2, MEM2(SD8, SP)}},
{ "mov",	0xfd9a0000,	0xffff0f00,	FMT_D8, {RM2, MEM2(SD24, SP)}},
{ "mov",	0xfe9a0000,	0xffff0f00,	FMT_D9, {RM2, MEM2(IMM32_HIGH8, SP)}},
{ "mov",	0xfb9e0000,	0xffff000f,	FMT_D7, {RD2, MEM2(RI, RN0)}},
/* end-sanitize-am33 */
/* These must come after most of the other move instructions to avoid matching
   a symbolic name with IMMxx operands.  Ugh.  */
{ "mov",	0x2c0000,	0xfc0000,	FMT_S2, {SIMM16, DN0}},
{ "mov",	0xfccc0000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "mov",	0x240000,	0xfc0000,	FMT_S2, {IMM16, AN0}},
{ "mov",	0xfcdc0000,	0xfffc0000,	FMT_D4, {IMM32, AN0}},
/* These non-promoting variants need to come after all the other memory
   moves.  */
{ "mov",	0xf8f000,	0xfffc00,	FMT_D1, {MEM2(SD8N, AM0), SP}},
{ "mov",	0xf8f400,	0xfffc00,	FMT_D1, {SP, MEM2(SD8N, AN0)}},
/* start-sanitize-am33 */
/* These must come last so that we favor shorter move instructions for
   loading immediates into d0-d3/a0-a3.  */
{ "mov",	0xfb080000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "mov",	0xfd080000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "mov",	0xfe080000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "mov",	0xfbf80000,	0xffff0000,	FMT_D7, {SIMM8, XRN02}},
{ "mov",	0xfdf80000,	0xffff0000,	FMT_D8, {SIMM24, XRN02}},
{ "mov",	0xfef80000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, XRN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "movu",	0xfb180000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "movu",	0xfd180000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "movu",	0xfe180000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "mcst9",	0xf630,		0xfff0,		FMT_D0, {DN01}},
{ "mcst48",	0xf660,		0xfff0,		FMT_D0, {DN01}},
{ "swap",	0xf680,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "swap",	0xf9cb00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "swaph",	0xf690,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "swaph",	0xf9db00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "getchx",	0xf6c0,		0xfff0,		FMT_D0, {DN01}},
{ "getclx",	0xf6d0,		0xfff0,		FMT_D0, {DN01}},
{ "mac",	0xfb0f0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
{ "mac",	0xf90b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "mac",	0xfb0b0000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "mac",	0xfd0b0000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "mac",	0xfe0b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "macu",	0xfb1f0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
{ "macu",	0xf91b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "macu",	0xfb1b0000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "macu",	0xfd1b0000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "macu",	0xfe1b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "macb",	0xfb2f0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD2}},
{ "macb",	0xf92b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "macb",	0xfb2b0000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "macb",	0xfd2b0000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "macb",	0xfe2b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "macbu",	0xfb3f0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD2}},
{ "macbu",	0xf93b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "macbu",	0xfb3b0000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "macbu",	0xfd3b0000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "macbu",	0xfe3b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "mach",	0xfb4f0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
{ "mach",	0xf94b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "mach",	0xfb4b0000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "mach",	0xfd4b0000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "mach",	0xfe4b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "machu",	0xfb5f0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
{ "machu",	0xf95b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "machu",	0xfb5b0000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "machu",	0xfd5b0000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "machu",	0xfe5b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "dmach",	0xfb6f0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD2}},
{ "dmach",	0xf96b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "dmach",	0xfe6b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "dmachu",	0xfb7f0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD2}},
{ "dmachu",	0xf97b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "dmachu",	0xfe7b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "dmulh",	0xfb8f0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
{ "dmulh",	0xf98b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "dmulh",	0xfe8b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "dmulhu",	0xfb9f0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
{ "dmulhu",	0xf99b00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "dmulhu",	0xfe9b0000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
{ "mcste",	0xf9bb00,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "mcste",	0xfbbb0000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "swhw",	0xf9eb00,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */

{ "movbu",	0xf040,		0xfff0,		FMT_D0, {MEM(AM0), DN1}},
{ "movbu",	0xf84000,	0xfff000,	FMT_D1, {MEM2(SD8, AM0), DN1}},
{ "movbu",	0xfa400000,	0xfff00000,	FMT_D2, {MEM2(SD16, AM0), DN1}},
{ "movbu",	0xfc400000,	0xfff00000,	FMT_D4, {MEM2(IMM32,AM0), DN1}},
{ "movbu",	0xf8b800,	0xfffcff,	FMT_D1, {MEM(SP), DN0}},
{ "movbu",	0xf8b800,	0xfffc00,	FMT_D1, {MEM2(IMM8, SP), DN0}},
{ "movbu",	0xfab80000,	0xfffc0000,	FMT_D2, {MEM2(IMM16, SP), DN0}},
{ "movbu",	0xfcb80000,	0xfffc0000,	FMT_D4, {MEM2(IMM32, SP), DN0}},
{ "movbu",	0xf400,		0xffc0,		FMT_D0, {MEM2(DI, AM0), DN2}},
{ "movbu",	0x340000,	0xfc0000,	FMT_S2, {MEM(IMM16_MEM), DN0}},
{ "movbu",	0xfca80000,	0xfffc0000,	FMT_D4, {MEM(IMM32_MEM), DN0}},
{ "movbu",	0xf050,		0xfff0,		FMT_D0, {DM1, MEM(AN0)}},
{ "movbu",	0xf85000,	0xfff000,	FMT_D1, {DM1, MEM2(SD8, AN0)}},
{ "movbu",	0xfa500000,	0xfff00000,	FMT_D2, {DM1, MEM2(SD16, AN0)}},
{ "movbu",	0xfc500000,	0xfff00000,	FMT_D4, {DM1, MEM2(IMM32,AN0)}},
{ "movbu",	0xf89200,	0xfff3ff,	FMT_D1, {DM1, MEM(SP)}},
{ "movbu",	0xf89200,	0xfff300,	FMT_D1, {DM1, MEM2(IMM8, SP)}},
{ "movbu",	0xfa920000,	0xfff30000,	FMT_D2, {DM1, MEM2(IMM16, SP)}},
{ "movbu",	0xfc920000,	0xfff30000,	FMT_D4, {DM1, MEM2(IMM32, SP)}},
{ "movbu",	0xf440,		0xffc0,		FMT_D0, {DM2, MEM2(DI, AN0)}},
{ "movbu",	0x020000,	0xf30000,	FMT_S2, {DM1, MEM(IMM16_MEM)}},
{ "movbu",	0xfc820000,	0xfff30000,	FMT_D4, {DM1, MEM(IMM32_MEM)}},
/* start-sanitize-am33 */
{ "movbu",	0xf92a00,	0xffff00,	FMT_D6, {MEM(RM0), RN2}},
{ "movbu",	0xf93a00,	0xffff00,	FMT_D6, {RM2, MEM(RN0)}},
{ "movbu",	0xf9aa00,	0xffff0f,	FMT_D6, {MEM(SP), RN2}},
{ "movbu",	0xf9ba00,	0xffff0f,	FMT_D6, {RM2, MEM(SP)}},
{ "movbu",	0xfb2a0000,	0xffff0000,	FMT_D7, {MEM2(SD8, RM0), RN2}},
{ "movbu",	0xfd2a0000,	0xffff0000,	FMT_D8, {MEM2(SD24, RM0), RN2}},
{ "movbu",	0xfe2a0000,	0xffff0000,	FMT_D9, {MEM2(IMM32_HIGH8,RM0), RN2}},
{ "movbu",	0xfb3a0000,	0xffff0000,	FMT_D7, {RM2, MEM2(SD8, RN0)}},
{ "movbu",	0xfd3a0000,	0xffff0000,	FMT_D8, {RM2, MEM2(SD24, RN0)}},
{ "movbu",	0xfe3a0000,	0xffff0000,	FMT_D9, {RM2, MEM2(IMM32_HIGH8,RN0)}},
{ "movbu",	0xfbaa0000,	0xffff0f00,	FMT_D7, {MEM2(SD8, SP), RN2}},
{ "movbu",	0xfdaa0000,	0xffff0f00,	FMT_D8, {MEM2(SD24, SP), RN2}},
{ "movbu",	0xfeaa0000,	0xffff0f00,	FMT_D9, {MEM2(IMM32_HIGH8,SP), RN2}},
{ "movbu",	0xfbba0000,	0xffff0f00,	FMT_D7, {RM2, MEM2(SD8, SP)}},
{ "movbu",	0xfdba0000,	0xffff0f00,	FMT_D8, {RM2, MEM2(SD24, SP)}},
{ "movbu",	0xfeba0000,	0xffff0f00,	FMT_D9, {RM2, MEM2(IMM32_HIGH8, SP)}},
{ "movbu",	0xfb2e0000,	0xffff0f00,	FMT_D7, {MEM(IMM8_MEM), RN2}},
{ "movbu",	0xfd2e0000,	0xffff0f00,	FMT_D8, {MEM(IMM24_MEM), RN2}},
{ "movbu",	0xfe2e0000,	0xffff0f00,	FMT_D9, {MEM(IMM32_HIGH8_MEM),
							 RN2}},
{ "movbu",	0xfb3e0000,	0xffff0f00,	FMT_D7, {RM2, MEM(IMM8_MEM)}},
{ "movbu",	0xfd3e0000,	0xffff0f00,	FMT_D8, {RM2, MEM(IMM24_MEM)}},
{ "movbu",	0xfe3e0000,	0xffff0f00,	FMT_D9, {RM2,
							 MEM(IMM32_HIGH8_MEM)}},
{ "movbu",	0xfbae0000,	0xffff000f,	FMT_D7, {MEM2(RI, RM0), RD2}},
{ "movbu",	0xfbbe0000,	0xffff000f,	FMT_D7, {RD2, MEM2(RI, RN0)}},
/* end-sanitize-am33 */

{ "movhu",	0xf060,		0xfff0,		FMT_D0, {MEM(AM0), DN1}},
{ "movhu",	0xf86000,	0xfff000,	FMT_D1, {MEM2(SD8, AM0), DN1}},
{ "movhu",	0xfa600000,	0xfff00000,	FMT_D2, {MEM2(SD16, AM0), DN1}},
{ "movhu",	0xfc600000,	0xfff00000,	FMT_D4, {MEM2(IMM32,AM0), DN1}},
{ "movhu",	0xf8bc00,	0xfffcff,	FMT_D1, {MEM(SP), DN0}},
{ "movhu",	0xf8bc00,	0xfffc00,	FMT_D1, {MEM2(IMM8, SP), DN0}},
{ "movhu",	0xfabc0000,	0xfffc0000,	FMT_D2, {MEM2(IMM16, SP), DN0}},
{ "movhu",	0xfcbc0000,	0xfffc0000,	FMT_D4, {MEM2(IMM32, SP), DN0}},
{ "movhu",	0xf480,		0xffc0,		FMT_D0, {MEM2(DI, AM0), DN2}},
{ "movhu",	0x380000,	0xfc0000,	FMT_S2, {MEM(IMM16_MEM), DN0}},
{ "movhu",	0xfcac0000,	0xfffc0000,	FMT_D4, {MEM(IMM32_MEM), DN0}},
{ "movhu",	0xf070,		0xfff0,		FMT_D0, {DM1, MEM(AN0)}},
{ "movhu",	0xf87000,	0xfff000,	FMT_D1, {DM1, MEM2(SD8, AN0)}},
{ "movhu",	0xfa700000,	0xfff00000,	FMT_D2, {DM1, MEM2(SD16, AN0)}},
{ "movhu",	0xfc700000,	0xfff00000,	FMT_D4, {DM1, MEM2(IMM32,AN0)}},
{ "movhu",	0xf89300,	0xfff3ff,	FMT_D1, {DM1, MEM(SP)}},
{ "movhu",	0xf89300,	0xfff300,	FMT_D1, {DM1, MEM2(IMM8, SP)}},
{ "movhu",	0xfa930000,	0xfff30000,	FMT_D2, {DM1, MEM2(IMM16, SP)}},
{ "movhu",	0xfc930000,	0xfff30000,	FMT_D4, {DM1, MEM2(IMM32, SP)}},
{ "movhu",	0xf4c0,		0xffc0,		FMT_D0, {DM2, MEM2(DI, AN0)}},
{ "movhu",	0x030000,	0xf30000,	FMT_S2, {DM1, MEM(IMM16_MEM)}},
{ "movhu",	0xfc830000,	0xfff30000,	FMT_D4, {DM1, MEM(IMM32_MEM)}},
/* start-sanitize-am33 */
{ "movhu",	0xf94a00,	0xffff00,	FMT_D6, {MEM(RM0), RN2}},
{ "movhu",	0xf95a00,	0xffff00,	FMT_D6, {RM2, MEM(RN0)}},
{ "movhu",	0xf9ca00,	0xffff0f,	FMT_D6, {MEM(SP), RN2}},
{ "movhu",	0xf9da00,	0xffff0f,	FMT_D6, {RM2, MEM(SP)}},
{ "movhu",	0xf9ea00,	0xffff00,	FMT_D6, {MEMINC(RM0), RN2}},
{ "movhu",	0xf9fa00,	0xffff00,	FMT_D6, {RM2, MEMINC(RN0)}},
{ "movhu",	0xfb4a0000,	0xffff0000,	FMT_D7, {MEM2(SD8, RM0), RN2}},
{ "movhu",	0xfd4a0000,	0xffff0000,	FMT_D8, {MEM2(SD24, RM0), RN2}},
{ "movhu",	0xfe4a0000,	0xffff0000,	FMT_D9, {MEM2(IMM32_HIGH8,RM0), RN2}},
{ "movhu",	0xfb5a0000,	0xffff0000,	FMT_D7, {RM2, MEM2(SD8, RN0)}},
{ "movhu",	0xfd5a0000,	0xffff0000,	FMT_D8, {RM2, MEM2(SD24, RN0)}},
{ "movhu",	0xfe5a0000,	0xffff0000,	FMT_D9, {RM2, MEM2(IMM32_HIGH8,RN0)}},
{ "movhu",	0xfbca0000,	0xffff0f00,	FMT_D7, {MEM2(SD8, SP), RN2}},
{ "movhu",	0xfdca0000,	0xffff0f00,	FMT_D8, {MEM2(SD24, SP), RN2}},
{ "movhu",	0xfeca0000,	0xffff0f00,	FMT_D9, {MEM2(IMM32_HIGH8, SP), RN2}},
{ "movhu",	0xfbda0000,	0xffff0f00,	FMT_D7, {RM2, MEM2(SD8, SP)}},
{ "movhu",	0xfdda0000,	0xffff0f00,	FMT_D8, {RM2, MEM2(SD24, SP)}},
{ "movhu",	0xfeda0000,	0xffff0f00,	FMT_D9, {RM2, MEM2(IMM32_HIGH8, SP)}},
{ "movhu",	0xfb4e0000,	0xffff0f00,	FMT_D7, {MEM(IMM8_MEM), RN2}},
{ "movhu",	0xfd4e0000,	0xffff0f00,	FMT_D8, {MEM(IMM24_MEM), RN2}},
{ "movhu",	0xfe4e0000,	0xffff0f00,	FMT_D9, {MEM(IMM32_HIGH8_MEM),
							 RN2}},
{ "movhu",	0xfb5e0000,	0xffff0f00,	FMT_D7, {RM2, MEM(IMM8_MEM)}},
{ "movhu",	0xfd5e0000,	0xffff0f00,	FMT_D8, {RM2, MEM(IMM24_MEM)}},
{ "movhu",	0xfe5e0000,	0xffff0f00,	FMT_D9, {RM2,
							 MEM(IMM32_HIGH8_MEM)}},
{ "movhu",	0xfbce0000,	0xffff000f,	FMT_D7, {MEM2(RI, RM0), RD2}},
{ "movhu",	0xfbde0000,	0xffff000f,	FMT_D7, {RD2, MEM2(RI, RN0)}},
/* end-sanitize-am33 */

{ "ext",	0xf2d0,		0xfffc,		FMT_D0, {DN0}},
/* start-sanitize-am33 */
{ "ext",	0xf91800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "extb",	0xf92800,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */
{ "extb",	0x10, 		0xfc,		FMT_S0, {DN0}},
/* start-sanitize-am33 */
{ "extb",	0xf92800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "extbu",	0xf93800,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */
{ "extbu",	0x14,		0xfc,		FMT_S0, {DN0}},
/* start-sanitize-am33 */
{ "extbu",	0xf93800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "exth",	0xf94800,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */
{ "exth",	0x18,		0xfc,		FMT_S0, {DN0}},
/* start-sanitize-am33 */
{ "exth",	0xf94800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "exthu",	0xf95800,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */
{ "exthu",	0x1c,		0xfc,		FMT_S0, {DN0}},
/* start-sanitize-am33 */
{ "exthu",	0xf95800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "movm",	0xce00,		0xff00,		FMT_S1, {MEM(SP), REGS}},
{ "movm",	0xcf00,		0xff00,		FMT_S1, {REGS, MEM(SP)}},
/* start-sanitize-am33 */
{ "movm",	0xf8ce00,	0xffff00,	FMT_D1, {MEM(USP), REGS}},
{ "movm",	0xf8cf00,	0xffff00,	FMT_D1, {REGS, MEM(USP)}},
/* end-sanitize-am33 */

{ "clr",	0x00,		0xf3,		FMT_S0, {DN1}},
/* start-sanitize-am33 */
{ "clr",	0xf96800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "add",	0xfb7c0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD2}},
/* end-sanitize-am33 */
{ "add",	0xe0,		0xf0,		FMT_S0, {DM1, DN0}},
{ "add",	0xf160,		0xfff0,		FMT_D0, {DM1, AN0}},
{ "add",	0xf150,		0xfff0,		FMT_D0, {AM1, DN0}},
{ "add",	0xf170,		0xfff0,		FMT_D0, {AM1, AN0}},
{ "add",	0x2800,		0xfc00,		FMT_S1, {SIMM8, DN0}},
{ "add",	0xfac00000,	0xfffc0000,	FMT_D2, {SIMM16, DN0}},
{ "add",	0xfcc00000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "add",	0x2000,		0xfc00,		FMT_S1, {SIMM8, AN0}},
{ "add",	0xfad00000,	0xfffc0000,	FMT_D2, {SIMM16, AN0}},
{ "add",	0xfcd00000,	0xfffc0000,	FMT_D4, {IMM32, AN0}},
{ "add",	0xf8fe00,	0xffff00,	FMT_D1, {SIMM8, SP}},
{ "add",	0xfafe0000,	0xffff0000,	FMT_D2, {SIMM16, SP}},
{ "add",	0xfcfe0000,	0xffff0000,	FMT_D4, {IMM32, SP}},
/* start-sanitize-am33 */
{ "add",	0xf97800,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "add",	0xfb780000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "add",	0xfd780000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "add",	0xfe780000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "addc",	0xfb8c0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "addc",	0xf140,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "addc",	0xf98800,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "addc",	0xfb880000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "addc",	0xfd880000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "addc",	0xfe880000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "sub",	0xfb9c0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "sub",	0xf100,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "sub",	0xf120,		0xfff0,		FMT_D0, {DM1, AN0}},
{ "sub",	0xf110,		0xfff0,		FMT_D0, {AM1, DN0}},
{ "sub",	0xf130,		0xfff0,		FMT_D0, {AM1, AN0}},
{ "sub",	0xfcc40000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "sub",	0xfcd40000,	0xfffc0000,	FMT_D4, {IMM32, AN0}},
/* start-sanitize-am33 */
{ "sub",	0xf99800,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "sub",	0xfb980000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "sub",	0xfd980000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "sub",	0xfe980000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "subc",	0xfa8c0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "subc",	0xf180,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "subc",	0xf9a800,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "subc",	0xfba80000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "subc",	0xfda80000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "subc",	0xfea80000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "mul",	0xfbab0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
/* end-sanitize-am33 */
{ "mul",	0xf240,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "mul",	0xf9a900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "mul",	0xfba90000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "mul",	0xfda90000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "mul",	0xfea90000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "mulu",	0xfbbb0000,	0xffff0000,	FMT_D7, {RM2, RN0, RD2, RD0}},
/* end-sanitize-am33 */
{ "mulu",	0xf250,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "mulu",	0xf9b900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "mulu",	0xfbb90000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "mulu",	0xfdb90000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "mulu",	0xfeb90000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

{ "div",	0xf260,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "div",	0xf9c900,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */

{ "divu",	0xf270,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "divu",	0xf9d900,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */

{ "inc",	0x40,		0xf3,		FMT_S0, {DN1}},
{ "inc",	0x41,		0xf3,		FMT_S0, {AN1}},
/* start-sanitize-am33 */
{ "inc",	0xf9b800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "inc4",	0x50,		0xfc,		FMT_S0, {AN0}},
/* start-sanitize-am33 */
{ "inc4",	0xf9c800,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "cmp",	0xa000,		0xf000,		FMT_S1, {SIMM8, DN01}},
{ "cmp",	0xa0,		0xf0,		FMT_S0, {DM1, DN0}},
{ "cmp",	0xf1a0,		0xfff0,		FMT_D0, {DM1, AN0}},
{ "cmp",	0xf190,		0xfff0,		FMT_D0, {AM1, DN0}},
{ "cmp",	0xb000,		0xf000,		FMT_S1, {IMM8, AN01}},
{ "cmp",	0xb0,		0xf0,		FMT_S0, {AM1, AN0}},
{ "cmp",	0xfac80000,	0xfffc0000,	FMT_D2, {SIMM16, DN0}},
{ "cmp",	0xfcc80000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "cmp",	0xfad80000,	0xfffc0000,	FMT_D2, {IMM16, AN0}},
{ "cmp",	0xfcd80000,	0xfffc0000,	FMT_D4, {IMM32, AN0}},
/* start-sanitize-am33 */
{ "cmp",	0xf9d800,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "cmp",	0xfbd80000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "cmp",	0xfdd80000,	0xffff0000,	FMT_D8, {SIMM24, RN02}},
{ "cmp",	0xfed80000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "and",	0xfb0d0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "and",	0xf200,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "and",	0xf8e000,	0xfffc00,	FMT_D1, {IMM8, DN0}},
{ "and",	0xfae00000,	0xfffc0000,	FMT_D2, {IMM16, DN0}},
{ "and",	0xfce00000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "and",	0xfafc0000,	0xffff0000,	FMT_D2, {IMM16, PSW}},
/* start-sanitize-am33 */
{ "and",	0xfcfc0000,	0xffff0000,	FMT_D4, {IMM32, EPSW}},
{ "and",	0xf90900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "and",	0xfb090000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "and",	0xfd090000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "and",	0xfe090000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "or",		0xfb1d0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "or",		0xf210,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "or",		0xf8e400,	0xfffc00,	FMT_D1, {IMM8, DN0}},
{ "or",		0xfae40000,	0xfffc0000,	FMT_D2, {IMM16, DN0}},
{ "or",		0xfce40000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "or",		0xfafd0000,	0xffff0000,	FMT_D2, {IMM16, PSW}},
/* start-sanitize-am33 */
{ "or",		0xfcfd0000,	0xffff0000,	FMT_D4, {IMM32, EPSW}},
{ "or",		0xf91900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "or",		0xfb190000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "or",		0xfd190000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "or",		0xfe190000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "xor",	0xfb2d0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "xor",	0xf220,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "xor",	0xfae80000,	0xfffc0000,	FMT_D2, {IMM16, DN0}},
{ "xor",	0xfce80000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
/* start-sanitize-am33 */
{ "xor",	0xf92900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "xor",	0xfb290000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "xor",	0xfd290000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "xor",	0xfe290000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */
{ "not",	0xf230,		0xfffc,		FMT_D0, {DN0}},
/* start-sanitize-am33 */
{ "not",	0xf93900,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "btst",	0xf8ec00,	0xfffc00,	FMT_D1, {IMM8, DN0}},
{ "btst",	0xfaec0000,	0xfffc0000,	FMT_D2, {IMM16, DN0}},
{ "btst",	0xfcec0000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
/* start-sanitize-am33 */
/* Place these before the ones with IMM8E and SD8N_SHIFT8 since we want the
   them to match last since they do not promote.  */
{ "btst",	0xfbe90000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "btst",	0xfde90000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "btst",	0xfee90000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */
{ "btst",	0xfe020000,	0xffff0000,	FMT_D5, {IMM8E,
							 MEM(IMM32_LOWSHIFT8)}},
{ "btst",	0xfaf80000,	0xfffc0000,	FMT_D2,
					{IMM8, MEM2(SD8N_SHIFT8,AN0)}},

{ "bset",	0xf080,		0xfff0,		FMT_D0, {DM1, MEM(AN0)}},
{ "bset",	0xfe000000,	0xffff0000,	FMT_D5, {IMM8E,
							 MEM(IMM32_LOWSHIFT8)}},
{ "bset",	0xfaf00000,	0xfffc0000,	FMT_D2,
					{IMM8, MEM2(SD8N_SHIFT8,AN0)}},

{ "bclr",	0xf090,		0xfff0,		FMT_D0, {DM1, MEM(AN0)}},
{ "bclr",	0xfe010000,	0xffff0000,	FMT_D5, {IMM8E,
							 MEM(IMM32_LOWSHIFT8)}},
{ "bclr",	0xfaf40000,	0xfffc0000,	FMT_D2, {IMM8,
						MEM2(SD8N_SHIFT8,AN0)}},

/* start-sanitize-am33 */
{ "asr",	0xfb4d0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "asr",	0xf2b0,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "asr",	0xf8c800,	0xfffc00,	FMT_D1, {IMM8, DN0}},
/* start-sanitize-am33 */
{ "asr",	0xf94900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "asr",	0xfb490000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "asr",	0xfd490000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "asr",	0xfe490000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */
{ "asr",	0xf8c801,	0xfffcff,	FMT_D1, {DN0}},
/* start-sanitize-am33 */
{ "asr",	0xfb490000,	0xffff00ff,	FMT_D7, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "lsr",	0xfb5d0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "lsr",	0xf2a0,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "lsr",	0xf8c400,	0xfffc00,	FMT_D1, {IMM8, DN0}},
/* start-sanitize-am33 */
{ "lsr",	0xf95900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "lsr",	0xfb590000,	0xffff0000,	FMT_D7, {IMM8, RN02}},
{ "lsr",	0xfd590000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "lsr",	0xfe590000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */
{ "lsr",	0xf8c401,	0xfffcff,	FMT_D1, {DN0}},
/* start-sanitize-am33 */
{ "lsr",	0xfb590000,	0xffff00ff,	FMT_D7, {RN02}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "asl",	0xfb6d0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "asl",	0xf290,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "asl",	0xf8c000,	0xfffc00,	FMT_D1, {IMM8, DN0}},
/* start-sanitize-am33 */
{ "asl",	0xf96900,	0xffff00,	FMT_D6, {RM2, RN0}},
{ "asl",	0xfb690000,	0xffff0000,	FMT_D7, {SIMM8, RN02}},
{ "asl",	0xfd690000,	0xffff0000,	FMT_D8, {IMM24, RN02}},
{ "asl",	0xfe690000,	0xffff0000,	FMT_D9, {IMM32_HIGH8, RN02}},
/* end-sanitize-am33 */
{ "asl",	0xf8c001,	0xfffcff,	FMT_D1, {DN0}},
/* start-sanitize-am33 */
{ "asl",	0xfb690000,	0xffff00ff,	FMT_D7, {RN02}},
/* end-sanitize-am33 */

{ "asl2",	0x54,		0xfc,		FMT_S0, {DN0}},
/* start-sanitize-am33 */
{ "asl2",	0xf97900,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "ror",	0xf284,		0xfffc,		FMT_D0, {DN0}},
/* start-sanitize-am33 */
{ "ror",	0xf98900,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "rol",	0xf280,		0xfffc,		FMT_D0, {DN0}},
/* start-sanitize-am33 */
{ "rol",	0xf99900,	0xffff00,	FMT_D6, {RN02}},
/* end-sanitize-am33 */

{ "beq",	0xc800,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bne",	0xc900,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bgt",	0xc100,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bge",	0xc200,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "ble",	0xc300,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "blt",	0xc000,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bhi",	0xc500,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bcc",	0xc600,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bls",	0xc700,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bcs",	0xc400,		0xff00,		FMT_S1, {SD8N_PCREL}},
{ "bvc",	0xf8e800,	0xffff00,	FMT_D1, {SD8N_PCREL}},
{ "bvs",	0xf8e900,	0xffff00,	FMT_D1, {SD8N_PCREL}},
{ "bnc",	0xf8ea00,	0xffff00,	FMT_D1, {SD8N_PCREL}},
{ "bns",	0xf8eb00,	0xffff00,	FMT_D1, {SD8N_PCREL}},
{ "bra",	0xca00,		0xff00,		FMT_S1, {SD8N_PCREL}},

{ "leq",	0xd8,		0xff,		FMT_S0, {UNUSED}},
{ "lne",	0xd9,		0xff,		FMT_S0, {UNUSED}},
{ "lgt",	0xd1,		0xff,		FMT_S0, {UNUSED}},
{ "lge",	0xd2,		0xff,		FMT_S0, {UNUSED}},
{ "lle",	0xd3,		0xff,		FMT_S0, {UNUSED}},
{ "llt",	0xd0,		0xff,		FMT_S0, {UNUSED}},
{ "lhi",	0xd5,		0xff,		FMT_S0, {UNUSED}},
{ "lcc",	0xd6,		0xff,		FMT_S0, {UNUSED}},
{ "lls",	0xd7,		0xff,		FMT_S0, {UNUSED}},
{ "lcs",	0xd4,		0xff,		FMT_S0, {UNUSED}},
{ "lra",	0xda,		0xff,		FMT_S0, {UNUSED}},
{ "setlb",	0xdb,		0xff,	 	FMT_S0, {UNUSED}},

{ "jmp",	0xf0f4,		0xfffc,		FMT_D0, {PAREN,AN0,PAREN}},
{ "jmp",	0xcc0000,	0xff0000,	FMT_S2, {IMM16_PCREL}},
{ "jmp",	0xdc000000,	0xff000000,	FMT_S4, {IMM32_HIGH24}},
{ "call",	0xcd000000,	0xff000000,	FMT_S4, {D16_SHIFT,REGS,IMM8E}},
{ "call",	0xdd000000,	0xff000000,	FMT_S6,
					{IMM32_HIGH24_LOWSHIFT16,REGSE_SHIFT8,IMM8E}},
{ "calls",	0xf0f0,		0xfffc,		FMT_D0, {PAREN,AN0,PAREN}},
{ "calls",	0xfaff0000,	0xffff0000,	FMT_D2, {IMM16_PCREL}},
{ "calls",	0xfcff0000,	0xffff0000,	FMT_D4, {IMM32_PCREL}},

{ "ret",	0xdf0000,	0xff0000,	FMT_S2, {REGS_SHIFT8, IMM8}},
{ "retf",	0xde0000,	0xff0000,	FMT_S2, {REGS_SHIFT8, IMM8}},
{ "rets",	0xf0fc,		0xffff,		FMT_D0, {UNUSED}},
{ "rti",	0xf0fd,		0xffff,		FMT_D0, {UNUSED}},
{ "trap",	0xf0fe,		0xffff,		FMT_D0, {UNUSED}},
{ "rtm",	0xf0ff,		0xffff,		FMT_D0, {UNUSED}},
{ "nop",	0xcb,		0xff,		FMT_S0, {UNUSED}},
/* { "udf", 0, 0, {0}},  */

{ "putx",	0xf500,		0xfff0,		FMT_D0, {DN01}},
{ "getx",	0xf6f0,		0xfff0,		FMT_D0, {DN01}},
{ "mulq",	0xf600,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "mulq",	0xf90000,	0xfffc00,	FMT_D1, {SIMM8, DN0}},
{ "mulq",	0xfb000000,	0xfffc0000,	FMT_D2, {SIMM16, DN0}},
{ "mulq",	0xfd000000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "mulqu",	0xf610,		0xfff0,		FMT_D0, {DM1, DN0}},
{ "mulqu",	0xf91400,	0xfffc00,	FMT_D1, {SIMM8, DN0}},
{ "mulqu",	0xfb140000,	0xfffc0000,	FMT_D2, {SIMM16, DN0}},
{ "mulqu",	0xfd140000,	0xfffc0000,	FMT_D4, {IMM32, DN0}},
{ "sat16",	0xf640,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "sat16",	0xf9ab00,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */

{ "sat24",	0xf650,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "sat24",	0xfbaf0000,	0xffff00ff,	FMT_D7, {RM2, RN0}},
/* end-sanitize-am33 */

/* start-sanitize-am33 */
{ "bsch",	0xfbff0000,	0xffff000f,	FMT_D7, {RM2, RN0, RD0}},
/* end-sanitize-am33 */
{ "bsch",	0xf670,		0xfff0,		FMT_D0, {DM1, DN0}},
/* start-sanitize-am33 */
{ "bsch",	0xf9fb00,	0xffff00,	FMT_D6, {RM2, RN0}},
/* end-sanitize-am33 */

/* Extension.  We need some instruction to trigger "emulated syscalls"
   for our simulator.  */
/* start-sanitize-am33 */
{ "syscall",	0xf0e0,		0xfff0,		FMT_D0, {IMM4}},
/* end-sanitize-am33 */
{ "syscall",    0xf0c0,         0xffff,         FMT_D0, {UNUSED}},

/* Extension.  When talking to the simulator, gdb requires some instruction
   that will trigger a "breakpoint" (really just an instruction that isn't
   otherwise used by the tools.  This instruction must be the same size
   as the smallest instruction on the target machine.  In the case of the
   mn10x00 the "break" instruction must be one byte.  0xff is available on
   both mn10x00 architectures.  */
{ "break",	0xff,		0xff,		FMT_S0, {UNUSED}},

/* start-sanitize-am33 */
{ "add_add",	0xf7000000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_add",	0xf7100000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "add_add",	0xf7040000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_add",	0xf7140000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "add_sub",	0xf7200000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_sub",	0xf7300000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "add_sub",	0xf7240000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_sub",	0xf7340000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "add_cmp",	0xf7400000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_cmp",	0xf7500000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "add_cmp",	0xf7440000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_cmp",	0xf7540000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "add_mov",	0xf7600000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_mov",	0xf7700000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "add_mov",	0xf7640000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_mov",	0xf7740000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "add_asr",	0xf7800000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_asr",	0xf7900000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "add_asr",	0xf7840000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_asr",	0xf7940000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "add_lsr",	0xf7a00000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_lsr",	0xf7b00000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "add_lsr",	0xf7a40000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_lsr",	0xf7b40000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "add_asl",	0xf7c00000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "add_asl",	0xf7d00000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "add_asl",	0xf7c40000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "add_asl",	0xf7d40000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "cmp_add",	0xf7010000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "cmp_add",	0xf7110000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "cmp_add",	0xf7050000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "cmp_add",	0xf7150000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "cmp_sub",	0xf7210000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "cmp_sub",	0xf7310000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "cmp_sub",	0xf7250000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "cmp_sub",	0xf7350000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "cmp_mov",	0xf7610000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "cmp_mov",	0xf7710000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "cmp_mov",	0xf7650000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "cmp_mov",	0xf7750000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "cmp_asr",	0xf7810000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "cmp_asr",	0xf7910000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "cmp_asr",	0xf7850000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "cmp_asr",	0xf7950000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "cmp_lsr",	0xf7a10000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "cmp_lsr",	0xf7b10000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "cmp_lsr",	0xf7a50000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "cmp_lsr",	0xf7b50000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "cmp_asl",	0xf7c10000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "cmp_asl",	0xf7d10000,	0xffff0000,	FMT_D10, {RM6, RN4, IMM4_2, RN0}},
{ "cmp_asl",	0xf7c50000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "cmp_asl",	0xf7d50000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "sub_add",	0xf7020000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_add",	0xf7120000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sub_add",	0xf7060000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_add",	0xf7160000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "sub_sub",	0xf7220000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_sub",	0xf7320000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sub_sub",	0xf7260000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_sub",	0xf7360000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "sub_cmp",	0xf7420000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_cmp",	0xf7520000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sub_cmp",	0xf7460000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_cmp",	0xf7560000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "sub_mov",	0xf7620000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_mov",	0xf7720000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sub_mov",	0xf7660000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_mov",	0xf7760000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "sub_asr",	0xf7820000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_asr",	0xf7920000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "sub_asr",	0xf7860000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_asr",	0xf7960000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "sub_lsr",	0xf7a20000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_lsr",	0xf7b20000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "sub_lsr",	0xf7a60000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_lsr",	0xf7b60000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "sub_asl",	0xf7c20000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "sub_asl",	0xf7d20000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "sub_asl",	0xf7c60000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "sub_asl",	0xf7d60000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "mov_add",	0xf7030000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_add",	0xf7130000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "mov_add",	0xf7070000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_add",	0xf7170000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "mov_sub",	0xf7230000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_sub",	0xf7330000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "mov_sub",	0xf7270000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_sub",	0xf7370000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "mov_cmp",	0xf7430000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_cmp",	0xf7530000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "mov_cmp",	0xf7470000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_cmp",	0xf7570000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "mov_mov",	0xf7630000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_mov",	0xf7730000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "mov_mov",	0xf7670000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_mov",	0xf7770000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  SIMM4_2, RN0}},
{ "mov_asr",	0xf7830000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_asr",	0xf7930000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "mov_asr",	0xf7870000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_asr",	0xf7970000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "mov_lsr",	0xf7a30000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_lsr",	0xf7b30000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "mov_lsr",	0xf7a70000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_lsr",	0xf7b70000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "mov_asl",	0xf7c30000,	0xffff0000,	FMT_D10, {RM6, RN4, RM2, RN0}},
{ "mov_asl",	0xf7d30000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "mov_asl",	0xf7c70000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  RM2, RN0}},
{ "mov_asl",	0xf7d70000,	0xffff0000,	FMT_D10, {SIMM4_6, RN4,
							  IMM4_2, RN0}},
{ "and_add",	0xf7080000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_add",	0xf7180000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "and_sub",	0xf7280000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_sub",	0xf7380000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "and_cmp",	0xf7480000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_cmp",	0xf7580000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "and_mov",	0xf7680000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_mov",	0xf7780000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "and_asr",	0xf7880000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_asr",	0xf7980000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "and_lsr",	0xf7a80000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_lsr",	0xf7b80000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "and_asl",	0xf7c80000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "and_asl",	0xf7d80000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "dmach_add",	0xf7090000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_add",	0xf7190000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "dmach_sub",	0xf7290000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_sub",	0xf7390000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "dmach_cmp",	0xf7490000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_cmp",	0xf7590000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "dmach_mov",	0xf7690000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_mov",	0xf7790000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "dmach_asr",	0xf7890000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_asr",	0xf7990000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "dmach_lsr",	0xf7a90000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_lsr",	0xf7b90000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "dmach_asl",	0xf7c90000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "dmach_asl",	0xf7d90000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "xor_add",	0xf70a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_add",	0xf71a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "xor_sub",	0xf72a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_sub",	0xf73a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "xor_cmp",	0xf74a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_cmp",	0xf75a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "xor_mov",	0xf76a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_mov",	0xf77a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "xor_asr",	0xf78a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_asr",	0xf79a0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "xor_lsr",	0xf7aa0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_lsr",	0xf7ba0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "xor_asl",	0xf7ca0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "xor_asl",	0xf7da0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "swhw_add",	0xf70b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_add",	0xf71b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "swhw_sub",	0xf72b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_sub",	0xf73b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "swhw_cmp",	0xf74b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_cmp",	0xf75b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "swhw_mov",	0xf76b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_mov",	0xf77b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "swhw_asr",	0xf78b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_asr",	0xf79b0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "swhw_lsr",	0xf7ab0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_lsr",	0xf7bb0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "swhw_asl",	0xf7cb0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "swhw_asl",	0xf7db0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "or_add",	0xf70c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_add",	0xf71c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "or_sub",	0xf72c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_sub",	0xf73c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "or_cmp",	0xf74c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_cmp",	0xf75c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "or_mov",	0xf76c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_mov",	0xf77c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "or_asr",	0xf78c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_asr",	0xf79c0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "or_lsr",	0xf7ac0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_lsr",	0xf7bc0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "or_asl",	0xf7cc0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "or_asl",	0xf7dc0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "sat16_add",	0xf70d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_add",	0xf71d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sat16_sub",	0xf72d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_sub",	0xf73d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sat16_cmp",	0xf74d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_cmp",	0xf75d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sat16_mov",	0xf76d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_mov",	0xf77d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  SIMM4_2, RN0}},
{ "sat16_asr",	0xf78d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_asr",	0xf79d0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "sat16_lsr",	0xf7ad0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_lsr",	0xf7bd0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
{ "sat16_asl",	0xf7cd0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  RM2, RN0}},
{ "sat16_asl",	0xf7dd0000,	0xffff0000,	FMT_D10, {RM6, RN4,
							  IMM4_2, RN0}},
/* end-sanitize-am33 */

{ 0, 0, 0, 0, {0}},

} ;

const int mn10300_num_opcodes =
  sizeof (mn10300_opcodes) / sizeof (mn10300_opcodes[0]);