-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdis-table.cpp
2955 lines (2906 loc) · 236 KB
/
dis-table.cpp
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
#ifndef _DIS_TABLE_H_
#define _DIS_TABLE_H_
#include "dis-table.h"
#include "operand.h"
#include "type.h"
#include <cstddef>
/* operand that might be used */
// memory
Operand memory_byte_s1_s1 = Operand(-1, -1, SIZE_BYTE, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_word_s1_s1 = Operand(-1, -1, SIZE_WORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_dword_s1_s1 = Operand(-1, -1, SIZE_DWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_qword_s1_s1 = Operand(-1, -1, SIZE_QWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_byte_edi_es = Operand(ES, EDI, SIZE_BYTE, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_dword_edi_es = Operand(ES, EDI, SIZE_DWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_byte_esi_ds = Operand(DS, ESI, SIZE_BYTE, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_dword_esi_ds = Operand(DS, ESI, SIZE_DWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_fword_s1_s1 = Operand(-1, -1, SIZE_FWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_byte_ebx_al_s1 = Operand(-1, EBX_PLUS_AL, SIZE_BYTE, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_fixed_qword_s1_s1 = Operand(-1, -1, SIZE_FIXED_QWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_fixed_fword_s1_s1 = Operand(-1, -1, SIZE_FIXED_FWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_fixed_dword_s1_s1 = Operand(-1, -1, SIZE_FIXED_DWORD, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_28_s1_s1 = Operand(-1, -1, SIZE_SPEC_28, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_108_s1_s1 = Operand(-1, -1, SIZE_SPEC_108, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_tbyte_s1_s1 = Operand(-1, -1, SIZE_TBYTE, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memory_512_s1_s1 = Operand(-1, -1, SIZE_SPEC_512, OPERAND_MEMORY, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
// memory offset
Operand memoryoffset_byte_s1_s1 = Operand(-1, -1, SIZE_BYTE, OPERAND_MEMORY_OFFSET, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
Operand memoryoffset_dword_s1_s1 = Operand(-1, -1, SIZE_DWORD, OPERAND_MEMORY_OFFSET, -1, -1, -1, -1, -1, SIZE_DWORD, 0);
// register
Operand register_byte_s1_s1 = Operand(-1, -1, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_word_s1_s1 = Operand(-1, -1, SIZE_WORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_s1_s1 = Operand(-1, -1, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_al_s1 = Operand(-1, AL, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_al_s1_default = Operand(-1, AL, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_dword_eax_s1 = Operand(-1, EAX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_ecx_s1 = Operand(-1, ECX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_ebx_s1 = Operand(-1, EBX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_edx_s1 = Operand(-1, EDX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_esp_s1 = Operand(-1, ESP, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_ebp_s1 = Operand(-1, EBP, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_esi_s1 = Operand(-1, ESI, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_edi_s1 = Operand(-1, EDI, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_all_s1_default = Operand(-1, ALL_32BITS_REGISTER, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_word_ax_s1 = Operand(-1, AX, SIZE_WORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_word_dx_s1 = Operand(-1, DX, SIZE_WORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_eax_s1_default = Operand(-1, EAX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_dword_edx_s1_default = Operand(-1, EDX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_word_ax_s1_default = Operand(-1, AX, SIZE_WORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_qword_edx_s1_default = Operand(-1, EDX, SIZE_QWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_dword_all_flags_s1_default = Operand(-1, ALL_EFLAGS, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_byte_ah_s1_default = Operand(-1, AH, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_byte_cl_s1 = Operand(-1, CL, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_dl_s1 = Operand(-1, DL, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_bl_s1 = Operand(-1, BL, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_ah_s1 = Operand(-1, AH, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_ch_s1 = Operand(-1, CH, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_dh_s1 = Operand(-1, DH, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_byte_bh_s1 = Operand(-1, BH, SIZE_BYTE, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand register_dword_ebp_s1_default = Operand(-1, EBP, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_dword_ecx_s1_default = Operand(-1, ECX, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_fixed_dword_s1_s1_default = Operand(-1, -1, SIZE_FIXED_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_dword_esp_s1_default = Operand(-1, ESP, SIZE_DWORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand register_word_all_flags_s1_default = Operand(-1, ALL_EFLAGS, SIZE_WORD, OPERAND_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
// immediate
Operand immediate_byte_s1_s1 = Operand(-1, -1, SIZE_BYTE, OPERAND_IMMEDIATE, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand immediate_word_s1_s1 = Operand(-1, -1, SIZE_WORD, OPERAND_IMMEDIATE, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand immediate_dword_s1_s1 = Operand(-1, -1, SIZE_DWORD, OPERAND_IMMEDIATE, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand immediate_byte_3_s1_default = Operand(-1, 3, SIZE_BYTE, OPERAND_IMMEDIATE, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand immediate_byte_1_s1 = Operand(-1, 1, SIZE_BYTE, OPERAND_IMMEDIATE, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
// segment
Operand segment_s1_es_s1 = Operand(-1, ES, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_cs_s1 = Operand(-1, CS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_ss_s1 = Operand(-1, SS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_ds_s1 = Operand(-1, DS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_fs_s1 = Operand(-1, FS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_gs_s1 = Operand(-1, GS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_s1_s1 = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand segment_s1_es_s1_default = Operand(-1, ES, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand segment_s1_ds_s1_default = Operand(-1, DS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand segment_s1_ss_s1_default = Operand(-1, SS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand segment_s1_fs_s1_default = Operand(-1, FS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand segment_s1_gs_s1_default = Operand(-1, GS, SIZE_UNDEFINED, OPERAND_SEGMENT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
// flow
Operand flow_reladdrshort_s1_s1 = Operand(-1, -1, RELATIVE_ADDRESS_SHORT, OPERAND_FLOW, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand flow_reladdrfar_s1_s1 = Operand(-1, -1, RELATIVE_ADDRESS_FAR, OPERAND_FLOW, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand flow_addrfarabs_s1_s1 = Operand(-1, -1, ADDRESS_FAR_ABSOLUTE, OPERAND_FLOW, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
// cr | dr
Operand cr_s1_cr0_s1_default = Operand(-1, CR0, SIZE_UNDEFINED, OPERAND_CR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand cr_s1_s1_s1 = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_CR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand dr_s1_s1_s1 = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_DR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
// msr | msw
Operand msr_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_MSR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand msw_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_MSW, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
// float
Operand float_s1_st0_s1_default = Operand(-1, ST0, SIZE_UNDEFINED, OPERAND_FLOAT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand float_s1_st1_s1_default = Operand(-1, ST1, SIZE_UNDEFINED, OPERAND_FLOAT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand float_s1_st0_s1 = Operand(-1, ST0, SIZE_UNDEFINED, OPERAND_FLOAT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand float_s1_s1_s1 = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_FLOAT, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
// xmm
Operand xmmre_xmm_s1_s1 = Operand(-1, -1, SIZE_XMM, OPERAND_XMM_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand xmmre_fixed_dword_s1_s1 = Operand(-1, -1, SIZE_FIXED_DWORD, OPERAND_XMM_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand xmmre_fixed_qword_s1_s1 = Operand(-1, -1, SIZE_FIXED_QWORD, OPERAND_XMM_REGISTER, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand xmmmem_dqword_s1_s1 = Operand(-1, -1, SIZE_DQWORD, OPERAND_XMM_MEMORY, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand xmmmem_fixed_dword_s1_s1 = Operand(-1, -1, SIZE_FIXED_DWORD, OPERAND_XMM_MEMORY, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand xmmmem_fixed_qword_s1_s1 = Operand(-1, -1, SIZE_FIXED_QWORD, OPERAND_XMM_MEMORY, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
// other
Operand pmc_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_PMC, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand ldtr_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_LDTR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand tr_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_TR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand gdtr_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_GDTR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
Operand idtr_s1_s1_s1_default = Operand(-1, -1, SIZE_UNDEFINED, OPERAND_IDTR, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 1);
// not exist
Operand notexist_s1_80_s1 = Operand(-1, AUXILIARY_80, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_81_s1 = Operand(-1, AUXILIARY_81, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_82_s1 = Operand(-1, AUXILIARY_82, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_83_s1 = Operand(-1, AUXILIARY_83, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_8f_s1 = Operand(-1, AUXILIARY_8f, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_c0_s1 = Operand(-1, AUXILIARY_c0, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_c1_s1 = Operand(-1, AUXILIARY_c1, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_c6_s1 = Operand(-1, AUXILIARY_c6, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_c7_s1 = Operand(-1, AUXILIARY_c7, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_d0_s1 = Operand(-1, AUXILIARY_d0, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_d1_s1 = Operand(-1, AUXILIARY_d1, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_d2_s1 = Operand(-1, AUXILIARY_d2, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_d3_s1 = Operand(-1, AUXILIARY_d3, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_d8_s1 = Operand(-1, AUXILIARY_d8, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_d9_s1 = Operand(-1, AUXILIARY_d9, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_da_s1 = Operand(-1, AUXILIARY_da, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_db_s1 = Operand(-1, AUXILIARY_db, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_dc_s1 = Operand(-1, AUXILIARY_dc, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_dd_s1 = Operand(-1, AUXILIARY_dd, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_de_s1 = Operand(-1, AUXILIARY_de, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_df_s1 = Operand(-1, AUXILIARY_df, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_f6_s1 = Operand(-1, AUXILIARY_f6, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_f7_s1 = Operand(-1, AUXILIARY_f7, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_fe_s1 = Operand(-1, AUXILIARY_fe, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_ff_s1 = Operand(-1, AUXILIARY_ff, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_0f00_s1 = Operand(-1, AUXILIARY_0f00, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_0f01_s1 = Operand(-1, AUXILIARY_0f01, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_0f18_s1 = Operand(-1, AUXILIARY_0f18, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_0fae_s1 = Operand(-1, AUXILIARY_0fae, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
Operand notexist_s1_0fba_s1 = Operand(-1, AUXILIARY_0fba, SIZE_UNDEFINED, OPERAND_NOT_EXIST, -1, -1, -1, -1, -1, SIZE_UNDEFINED, 0);
/* instruction */
SCInstr getOneByteOpcode[] = {
/* 0x00: ADD r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADD, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "add ", -1, -1, -1, -1, NULL, NULL}),
/* 0x01: ADD r/m16/32, r16/32/64 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADD, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "add ", -1, -1, -1, -1, NULL, NULL}),
/* 0x02: ADD r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADD, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "add ", -1, -1, -1, -1, NULL, NULL}),
/* 0x03: ADD r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADD, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "add ", -1, -1, -1, -1, NULL, NULL}),
/* 0x04: ADD AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_ADD, OF | SF | ZF | AF | CF | PF, 0, -1, 0, -1, NULL, NULL, "add ", -1, -1, -1, -1, NULL, NULL}),
/* 0x05: ADD rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_ADD, OF | SF | ZF | AF | CF | PF, 0, -1, 0, -1, NULL, NULL, "add ", -1, -1, -1, -1, NULL, NULL}),
/* 0x06: PUSH ES */
SCInstr({-1, -1, -1, -1, &segment_s1_es_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x07: POP ES */
SCInstr({-1, -1, -1, -1, &segment_s1_es_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x08: OR r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_OR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "or ", -1, -1, -1, -1, NULL, NULL}),
/* 0x09: OR r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_OR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "or ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0a: OR r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_OR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "or ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0b: OR r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_OR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "or ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0c: OR AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_OR, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "or ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0d: OR rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_OR, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "or ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0e: PUSH CS */
SCInstr({-1, -1, -1, -1, &segment_s1_cs_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0f: Two Byte opcode */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x10: ADC r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADC, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "adc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x11: ADC r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADC, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "adc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x12: ADC r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADC, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "adc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x13: ADC r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ADC, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "adc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x14: ADC AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_ADC, OF | SF | ZF | AF | CF | PF, CF, -1, 0, -1, NULL, NULL, "adc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x15: ADC rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_ADC, OF | SF | ZF | AF | CF | PF, CF, -1, 0, -1, NULL, NULL, "adc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x16: PUSH SS */
SCInstr({-1, -1, -1, -1, &segment_s1_ss_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x17: POP SS */
SCInstr({-1, -1, -1, -1, &segment_s1_ss_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x18: SBB r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SBB, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "sbb ", -1, -1, -1, -1, NULL, NULL}),
/* 0x19: SBB r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SBB, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "sbb ", -1, -1, -1, -1, NULL, NULL}),
/* 0x1a: SBB r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SBB, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "sbb ", -1, -1, -1, -1, NULL, NULL}),
/* 0x1b: SBB r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SBB, OF | SF | ZF | AF | CF | PF, CF, -1, 1, -1, NULL, NULL, "sbb ", -1, -1, -1, -1, NULL, NULL}),
/* 0x1c: SBB AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_SBB, OF | SF | ZF | AF | CF | PF, CF, -1, 0, -1, NULL, NULL, "sbb ", -1, -1, -1, -1, NULL, NULL}),
/* 0x1d: SBB rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_SBB, OF | SF | ZF | AF | CF | PF, CF, -1, 0, -1, NULL, NULL, "sbb ", -1, -1, -1, -1, NULL, NULL}),
/* 0x1e: PUSH DS */
SCInstr({-1, -1, -1, -1, &segment_s1_ds_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x1f: POP DS */
SCInstr({-1, -1, -1, -1, &segment_s1_ds_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x20: AND r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_AND, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "and ", -1, -1, -1, -1, NULL, NULL}),
/* 0x21: AND r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_AND, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "and ", -1, -1, -1, -1, NULL, NULL}),
/* 0x22: AND r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_AND, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "and ", -1, -1, -1, -1, NULL, NULL}),
/* 0x23: AND r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_AND, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "and ", -1, -1, -1, -1, NULL, NULL}),
/* 0x24: AND AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_AND, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "and ", -1, -1, -1, -1, NULL, NULL}),
/* 0x25: AND rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_AND, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "and ", -1, -1, -1, -1, NULL, NULL}),
/* 0x26: SEGMENT OVERRIDE ES */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x27: DAA AL */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DAA, CF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "daa", -1, -1, -1, -1, NULL, NULL}),
/* 0x28: SUB r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SUB, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "sub ", -1, -1, -1, -1, NULL, NULL}),
/* 0x29: SUB r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SUB, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "sub ", -1, -1, -1, -1, NULL, NULL}),
/* 0x2a: SUB r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SUB, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "sub ", -1, -1, -1, -1, NULL, NULL}),
/* 0x2b: SUB r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SUB, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "sub ", -1, -1, -1, -1, NULL, NULL}),
/* 0x2c: SUB AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_SUB, OF | SF | ZF | AF | CF | PF, 0, -1, 0, -1, NULL, NULL, "sub ", -1, -1, -1, -1, NULL, NULL}),
/* 0x2d: SUB rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_SUB, OF | SF | ZF | AF | CF | PF, 0, -1, 0, -1, NULL, NULL, "sub ", -1, -1, -1, -1, NULL, NULL}),
/* 0x2e: SEGMENT OVERRIDE CS */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x2f: DAS AL */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DAS, CF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "das", -1, -1, -1, -1, NULL, NULL}),
/* 0x30: XOR r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XOR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "xor ", -1, -1, -1, -1, NULL, NULL}),
/* 0x31: XOR r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XOR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "xor ", -1, -1, -1, -1, NULL, NULL}),
/* 0x32: XOR r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XOR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "xor ", -1, -1, -1, -1, NULL, NULL}),
/* 0x33: XOR r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XOR, OF | SF | ZF | CF | PF, 0, -1, 1, -1, NULL, NULL, "xor ", -1, -1, -1, -1, NULL, NULL}),
/* 0x34: XOR AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_XOR, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "xor ", -1, -1, -1, -1, NULL, NULL}),
/* 0x35: XOR rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_XOR, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "xor ", -1, -1, -1, -1, NULL, NULL}),
/* 0x36: SEGMENT OVERRIDE SS */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x37: AAA AL */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_AAA, CF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "aaa", -1, -1, -1, -1, NULL, NULL}),
/* 0x38: CMP r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_CMP, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "cmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0x39: CMP r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_CMP, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "cmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0x3a: CMP r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_CMP, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "cmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0x3b: CMP r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_CMP, OF | SF | ZF | AF | CF | PF, 0, -1, 1, -1, NULL, NULL, "cmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0x3c: CMP AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_CMP, OF | SF | ZF | AF | CF | PF, 0, -1, 0, -1, NULL, NULL, "cmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0x3d: CMP rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_CMP, OF | SF | ZF | AF | CF | PF, 0, -1, 0, -1, NULL, NULL, "cmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0x3e: SEGMENT OVERRIDE DS */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x3f: AAS AL */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_AAS, CF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "aas", -1, -1, -1, -1, NULL, NULL}),
/* 0x40: INC EAX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x41: INC ECX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x42: INC EDX */
SCInstr({-1, -1, -1, -1, ®ister_dword_edx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x43: INC EBX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x44: INC ESP */
SCInstr({-1, -1, -1, -1, ®ister_dword_esp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x45: INC EBP */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x46: INC ESI */
SCInstr({-1, -1, -1, -1, ®ister_dword_esi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x47: INC EDI */
SCInstr({-1, -1, -1, -1, ®ister_dword_edi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_INC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "inc ", -1, -1, -1, -1, NULL, NULL}),
/* 0x48: DEC EAX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x49: DEC ECX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x4a: DEC EDX */
SCInstr({-1, -1, -1, -1, ®ister_dword_edx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x4b: DEC EBX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x4c: DEC ESP */
SCInstr({-1, -1, -1, -1, ®ister_dword_esp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x4d: DEC EBP */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x4e: DEC ESI */
SCInstr({-1, -1, -1, -1, ®ister_dword_esi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x4f: DEC EDI */
SCInstr({-1, -1, -1, -1, ®ister_dword_edi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_DEC, OF | AF | SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "dec ", -1, -1, -1, -1, NULL, NULL}),
/* 0x50: PUSH EAX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x51: PUSH ECX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x52: PUSH EDX */
SCInstr({-1, -1, -1, -1, ®ister_dword_edx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x53: PUSH EBX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x54: PUSH ESP */
SCInstr({-1, -1, -1, -1, ®ister_dword_esp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x55: PUSH EBP */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x56: PUSH ESI */
SCInstr({-1, -1, -1, -1, ®ister_dword_esi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x57: PUSH EDI */
SCInstr({-1, -1, -1, -1, ®ister_dword_edi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x58: POP EAX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x59: POP ECX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x5a: POP EDX */
SCInstr({-1, -1, -1, -1, ®ister_dword_edx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x5b: POP EBX */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebx_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x5c: POP ESP */
SCInstr({-1, -1, -1, -1, ®ister_dword_esp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x5d: POP EBP */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x5e: POP ESI */
SCInstr({-1, -1, -1, -1, ®ister_dword_esi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x5f: POP EDI */
SCInstr({-1, -1, -1, -1, ®ister_dword_edi_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "pop ", -1, -1, -1, -1, NULL, NULL}),
/* 0x60: PUSHAD EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI/PUSHAW AX, CX, DX, BX, SP, BP, SI, DI*/
SCInstr({-1, -1, -1, -1, ®ister_dword_all_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "pushad", -1, -1, -1, -1, NULL, NULL}),
/* 0x61: POPAD EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI/POPAW AX, CX, DX, BX, SP, BP, SI, DI*/
SCInstr({-1, -1, -1, -1, ®ister_dword_all_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "popad", -1, -1, -1, -1, NULL, NULL}),
/* 0x62: BOUND r16/32, m16/32&16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_qword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_BOUND, 0, 0, -1, 1, -1, NULL, NULL, "bound ", -1, -1, -1, -1, NULL, NULL}),
/* 0x63: ARPL r/m16, r16 */
SCInstr({-1, -1, -1, -1, &memory_word_s1_s1, ®ister_word_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_ARPL, ZF, 0, -1, 1, -1, NULL, NULL, "arpl ", -1, -1, -1, -1, NULL, NULL}),
/* 0x64: SEGMENT OVERRIDE FS */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x65: SEGMENT OVERRIDE GS */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x66: OPERAND SIZE OVERRIDE */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x67: ADDRESS SIZE OVERRIDE */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x68: PUSH imm16/32 */
SCInstr({-1, -1, -1, -1, &immediate_dword_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x69: IMUL r16/32, r/m16/32, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, &immediate_dword_s1_s1, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_IMUL, CF | OF, 0, -1, 1, -1, NULL, NULL, "imul ", -1, -1, -1, -1, NULL, NULL}),
/* 0x6a: PUSH imm8 */
SCInstr({-1, -1, -1, -1, &immediate_byte_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, STACK_OPERATE_INSTRUCTION, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "push ", -1, -1, -1, -1, NULL, NULL}),
/* 0x6b: IMUL r16/32, r/m16/32, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, &immediate_byte_s1_s1, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_IMUL, CF | OF, 0, -1, 1, -1, NULL, NULL, "imul ", -1, -1, -1, -1, NULL, NULL}),
/* 0x6c: INS INT8 PTR ES:[EDI/DI], DX */
SCInstr({-1, -1, -1, -1, &memory_byte_edi_es, ®ister_word_dx_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_INS, 0, 0, -1, 0, -1, NULL, NULL, "ins ", -1, -1, -1, -1, NULL, NULL}),
/* 0x6d: INS INT32/INT16 PTR ES:[EDI/DI], DX */
SCInstr({-1, -1, -1, -1, &memory_dword_edi_es, ®ister_word_dx_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_INS, 0, 0, -1, 0, -1, NULL, NULL, "ins ", -1, -1, -1, -1, NULL, NULL}),
/* 0x6e: OUTS DX, INT8 PTR ES:[EDI/DI] */
SCInstr({-1, -1, -1, -1, ®ister_word_dx_s1, &memory_byte_edi_es, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_OUTS, 0, 0, -1, 0, -1, NULL, NULL, "outs ", -1, -1, -1, -1, NULL, NULL}),
/* 0x6f: OUTS DX, INT32/INT16 PTR ES:[EDI/DI] */
SCInstr({-1, -1, -1, -1, ®ister_word_dx_s1, &memory_dword_edi_es, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_OUTS, 0, 0, -1, 0, -1, NULL, NULL, "outs ", -1, -1, -1, -1, NULL, NULL}),
/* 0x70: JO SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JO, 0, 0, -1, 0, -1, NULL, NULL, "jo short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x71: JNO SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JNO, 0, 0, -1, 0, -1, NULL, NULL, "jno short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x72: JB SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JB, 0, 0, -1, 0, -1, NULL, NULL, "jb short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x73: JNB SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JNB, 0, 0, -1, 0, -1, NULL, NULL, "jnb short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x74: JE SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JE, 0, 0, -1, 0, -1, NULL, NULL, "je short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x75: JNE SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JNE, 0, 0, -1, 0, -1, NULL, NULL, "jne short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x76: JBE SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JBE, 0, 0, -1, 0, -1, NULL, NULL, "jbe short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x77: JA SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JA, 0, 0, -1, 0, -1, NULL, NULL, "ja short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x78: JS SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JS, 0, 0, -1, 0, -1, NULL, NULL, "js short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x79: JNS SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JNS, 0, 0, -1, 0, -1, NULL, NULL, "jns short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x7a: JPE SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JPE, 0, 0, -1, 0, -1, NULL, NULL, "jpe short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x7b: JPO SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JPO, 0, 0, -1, 0, -1, NULL, NULL, "jpo short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x7c: JL SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JL, 0, 0, -1, 0, -1, NULL, NULL, "jl short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x7d: JGE SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JGE, 0, 0, -1, 0, -1, NULL, NULL, "jge short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x7e: JLE SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JLE, 0, 0, -1, 0, -1, NULL, NULL, "jle short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x7f: JG SHORT re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_JG, 0, 0, -1, 0, -1, NULL, NULL, "jg short ", -1, -1, -1, -1, NULL, NULL}),
/* 0x80: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_80_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x81: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_81_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x82: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_82_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x83: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_83_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x84: TEST r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_TEST, OF | CF | SF | ZF | PF, 0, -1, 1, -1, NULL, NULL, "test ", -1, -1, -1, -1, NULL, NULL}),
/* 0x85: TEST r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_TEST, OF | CF | SF | ZF | PF, 0, -1, 1, -1, NULL, NULL, "test ", -1, -1, -1, -1, NULL, NULL}),
/* 0x86: XCHG r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 1, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x87: XCHG r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 1, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x88: MOV r/m8, r8 */
SCInstr({-1, -1, -1, -1, &memory_byte_s1_s1, ®ister_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 1, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0x89: MOV r/m16/32, r16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_s1_s1, ®ister_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 1, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0x8a: MOV r8, r/m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_s1_s1, &memory_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 1, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0x8b: MOV r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 1, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0x8c: MOV r/m16, Segment */
SCInstr({-1, -1, -1, -1, &memory_word_s1_s1, &segment_s1_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 1, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0x8d: LEA r16/32, r/m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_LEA, 0, 0, -1, 1, -1, NULL, NULL, "lea ", -1, -1, -1, -1, NULL, NULL}),
/* 0x8e: MOV Segment, r/m16 */
SCInstr({-1, -1, -1, -1, &segment_s1_s1_s1, &memory_word_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 1, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0x8f: POP r/m16/32 */
SCInstr({-1, -1, -1, -1, ¬exist_s1_8f_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x90: NOP */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_NOP, 0, 0, -1, 0, -1, NULL, NULL, "nop", -1, -1, -1, -1, NULL, NULL}),
/* 0x91: XCHG rAX, rCX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_ecx_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x92: XCHG rAX, rDX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_edx_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x93: XCHG rAX, rBX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_ebx_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x94: XCHG rAX, rSP */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_esp_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x95: XCHG rAX, rBP */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_ebp_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x96: XCHG rAX, rSI */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_esi_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x97: XCHG rAX, rDI */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_dword_edi_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XCHG, 0, 0, -1, 0, -1, NULL, NULL, "xchg ", -1, -1, -1, -1, NULL, NULL}),
/* 0x98: CWD EAX, AX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1_default, ®ister_word_ax_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_CWD, 0, 0, -1, 0, -1, NULL, NULL, "cwde", -1, -1, -1, -1, NULL, NULL}),
/* 0x99: CDW EDX, EAX */
SCInstr({-1, -1, -1, -1, ®ister_qword_edx_s1_default, ®ister_dword_eax_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_CDQ, 0, 0, -1, 0, -1, NULL, NULL, "cdq", -1, -1, -1, -1, NULL, NULL}),
/* 0x9a: CALL FAR ptr16:16/32 */
SCInstr({-1, -1, -1, -1, &flow_addrfarabs_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, FLOW_INSTRUCTION, CLASS_CALL, 0, 0, -1, 0, -1, NULL, NULL, "call far ", -1, -1, -1, -1, NULL, NULL}),
/* 0x9b: WAIT */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_WAIT, 0, 0, -1, 0, -1, NULL, NULL, "wait", -1, -1, -1, -1, NULL, NULL}),
/* 0x9c: PUSHFD EFLAGS */
SCInstr({-1, -1, -1, -1, ®ister_dword_all_flags_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_PUSH, 0, 0, -1, 0, -1, NULL, NULL, "pushfd", -1, -1, -1, -1, NULL, NULL}),
/* 0x9d: POPFD EFLAGS */
SCInstr({-1, -1, -1, -1, ®ister_dword_all_flags_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_POP, 0, 0, -1, 0, -1, NULL, NULL, "popfd", -1, -1, -1, -1, NULL, NULL}),
/* 0x9e: SAHF AH */
SCInstr({-1, -1, -1, -1, ®ister_byte_ah_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SAHF, SF | ZF | AF | PF | CF, 0, -1, 0, -1, NULL, NULL, "sahf", -1, -1, -1, -1, NULL, NULL}),
/* 0x9f: LAHF AH */
SCInstr({-1, -1, -1, -1, ®ister_byte_ah_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_LAHF, 0, 0, -1, 0, -1, NULL, NULL, "lahf", -1, -1, -1, -1, NULL, NULL}),
/* 0xa0: MOV AL, moffs8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &memoryoffset_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa1: MOV rAX, moffs16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &memoryoffset_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa2: MOV moffs8, AL */
SCInstr({-1, -1, -1, -1, &memoryoffset_byte_s1_s1, ®ister_byte_al_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa3: MOV moffs16/32, rAX */
SCInstr({-1, -1, -1, -1, &memoryoffset_dword_s1_s1, ®ister_dword_eax_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa4: MOVS m8, m8 */
SCInstr({-1, -1, -1, -1, &memory_byte_edi_es, &memory_byte_esi_ds, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOVS, 0, 0, -1, 0, -1, NULL, NULL, "movs ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa5: MOVS m16/32, m16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_edi_es, &memory_dword_esi_ds, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOVS, 0, 0, -1, 0, -1, NULL, NULL, "movs ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa6: CMPS m8, m8 */
SCInstr({-1, -1, -1, -1, &memory_byte_esi_ds, &memory_byte_edi_es, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_CMPS, 0, 0, -1, 0, -1, NULL, NULL, "cmps ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa7: CMPS m16/32, m16/32 */
SCInstr({-1, -1, -1, -1, &memory_dword_esi_ds, &memory_dword_edi_es, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_CMPS, 0, 0, -1, 0, -1, NULL, NULL, "cmps ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa8: TEST AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_TEST, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "test ", -1, -1, -1, -1, NULL, NULL}),
/* 0xa9: TEST rAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_TEST, OF | SF | ZF | CF | PF, 0, -1, 0, -1, NULL, NULL, "test ", -1, -1, -1, -1, NULL, NULL}),
/* 0xaa: STOS m8, AL */
SCInstr({-1, -1, -1, -1, &memory_byte_edi_es, ®ister_byte_al_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_STOS, 0, 0, -1, 0, -1, NULL, NULL, "stos ", -1, -1, -1, -1, NULL, NULL}),
/* 0xab: STOS m16/32, rAX */
SCInstr({-1, -1, -1, -1, &memory_dword_edi_es, ®ister_dword_eax_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_STOS, 0, 0, -1, 0, -1, NULL, NULL, "stos ", -1, -1, -1, -1, NULL, NULL}),
/* 0xac: LODS AL, m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, &memory_byte_esi_ds, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_LODS, 0, 0, -1, 0, -1, NULL, NULL, "lods ", -1, -1, -1, -1, NULL, NULL}),
/* 0xad: LODS rAX, m16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1_default, &memory_dword_esi_ds, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_LODS, 0, 0, -1, 0, -1, NULL, NULL, "lods ", -1, -1, -1, -1, NULL, NULL}),
/* 0xae: SCAS m8, AL */
SCInstr({-1, -1, -1, -1, &memory_byte_edi_es, ®ister_byte_al_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SCAS, OF | SF | ZF | AF | PF | CF, 0, -1, 0, -1, NULL, NULL, "scas ", -1, -1, -1, -1, NULL, NULL}),
/* 0xaf: SCAS m16/32, rAX */
SCInstr({-1, -1, -1, -1, &memory_dword_edi_es, ®ister_dword_eax_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SCAS, 0, 0, -1, 0, -1, NULL, NULL, "scas ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb0: MOV AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb1: MOV CL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_cl_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb2: MOV DL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_dl_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb3: MOV BL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_bl_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb4: MOV AH, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_ah_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb5: MOV CH, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_ch_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb6: MOV DH, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_dh_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb7: MOV BH, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_bh_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb8: MOV EAX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xb9: MOV ECX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xba: MOV EDX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_edx_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xbb: MOV EBX, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebx_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xbc: MOV ESP, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_esp_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xbd: MOV EBP, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xbe: MOV ESI, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_esi_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xbf: MOV EDI, imm16/32 */
SCInstr({-1, -1, -1, -1, ®ister_dword_edi_s1, &immediate_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_MOV, 0, 0, -1, 0, -1, NULL, NULL, "mov ", -1, -1, -1, -1, NULL, NULL}),
/* 0xc0: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_c0_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xc1: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_c1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xc2: RETN imm16 */
SCInstr({-1, -1, -1, -1, &immediate_word_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_RETN, 0, 0, -1, 0, -1, NULL, NULL, "retn ", -1, -1, -1, -1, NULL, NULL}),
/* 0xc3: RETN */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_RETN, 0, 0, -1, 0, -1, NULL, NULL, "retn ", -1, -1, -1, -1, NULL, NULL}),
/* 0xc4: LES ES, r16/32, m16:16/32 */
SCInstr({-1, -1, -1, -1, &segment_s1_es_s1_default, ®ister_dword_s1_s1, &memory_fword_s1_s1, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_LES, 0, 0, -1, 1, -1, NULL, NULL, "les ", -1, -1, -1, -1, NULL, NULL}),
/* 0xc5: LES DS, r16/32, m16:16/32 */
SCInstr({-1, -1, -1, -1, &segment_s1_ds_s1_default, ®ister_dword_s1_s1, &memory_fword_s1_s1, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_LDS, 0, 0, -1, 1, -1, NULL, NULL, "lds ", -1, -1, -1, -1, NULL, NULL}),
/* 0xc6: MOV r/m8, imm8 */
SCInstr({-1, -1, -1, -1, ¬exist_s1_c6_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xc7: MOV r/m16/32, imm16/32 */
SCInstr({-1, -1, -1, -1, ¬exist_s1_c7_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xc8: ENTER rBP, imm16, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1_default, &immediate_word_s1_s1, &immediate_byte_s1_s1, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_ENTER, 0, 0, -1, 0, -1, NULL, NULL, "enter ", -1, -1, -1, -1, NULL, NULL}),
/* 0xc9: LEAVE rBP */
SCInstr({-1, -1, -1, -1, ®ister_dword_ebp_s1_default,NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, NORMAL_INSTRUCTION, CLASS_LEAVE, 0, 0, -1, 0, -1, NULL, NULL, "leave ", -1, -1, -1, -1, NULL, NULL}),
/* 0xca: RETF imm16 */
SCInstr({-1, -1, -1, -1, &immediate_word_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_RETF, 0, 0, -1, 0, -1, NULL, NULL, "retf ", -1, -1, -1, -1, NULL, NULL}),
/* 0xcb: RETF */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_RETF, 0, 0, -1, 0, -1, NULL, NULL, "retf ", -1, -1, -1, -1, NULL, NULL}),
/* 0xcc: INT 3 */
SCInstr({-1, -1, -1, -1, &immediate_byte_3_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_INT3, 0, 0, -1, 0, -1, NULL, NULL, "int3", -1, -1, -1, -1, NULL, NULL}),
/* 0xcd: INT imm8 */
SCInstr({-1, -1, -1, -1, &immediate_byte_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_INT, 0, 0, -1, 0, -1, NULL, NULL, "int ", -1, -1, -1, -1, NULL, NULL}),
/* 0xce: INTO EFLAGS */
SCInstr({-1, -1, -1, -1, ®ister_dword_all_flags_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, STACK_OPERATE_INSTRUCTION, UNDEFINED_CLASS, IF | TF, 0, -1, 0, -1, NULL, NULL, "into", -1, -1, -1, -1, NULL, NULL}),
/* 0xcf: IRET */
SCInstr({-1, -1, -1, -1, ®ister_dword_all_flags_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, SPECIAL_MNEMONIC, CLASS_IRETD, 0, 0, -1, 0, -1, NULL, NULL, "iretd", -1, -1, -1, -1, NULL, NULL}),
/* 0xd0: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_d0_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xd1: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_d1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xd2: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_d2_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xd3: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_d3_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xd4: AAM AL, AH(, imm8) */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, ®ister_byte_ah_s1_default, &immediate_byte_s1_s1, NULL,
-1, -1, -1, -1, 0, -1, -1, SPECIAL_MNEMONIC, CLASS_AAM, SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "aam ", -1, -1, -1, -1, NULL, NULL}),
/* 0xd5: AAD AL, AH(, imm8) */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, ®ister_byte_ah_s1_default, &immediate_byte_s1_s1, NULL,
-1, -1, -1, -1, 0, -1, -1, SPECIAL_MNEMONIC, CLASS_AAD, SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "aad ", -1, -1, -1, -1, NULL, NULL}),
/* 0xd6: SALC AL */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_SALC, SF | ZF | PF, 0, -1, 0, -1, NULL, NULL, "salc", -1, -1, -1, -1, NULL, NULL}),
/* 0xd7: XLAT AL, m8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1_default, &memory_byte_ebx_al_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_XLAT, 0, 0, -1, 0, -1, NULL, NULL, "xlat ", -1, -1, -1, -1, NULL, NULL}),
/* Float point instruction: from 0xd8 to 0xdf */
/* 0xd8: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_d8_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xd9: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_d9_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xda: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_da_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xdb: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_db_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xdc: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_dc_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xdd: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_dd_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xde: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_de_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xdf: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_df_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xe0: LOOPDNE rCX, re18 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1_default, &flow_reladdrshort_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_LOOPDNE, 0, 0, -1, 0, -1, NULL, NULL, "loopdne short ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe1: LOOPDE rCX, re18 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1_default, &flow_reladdrshort_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_LOOPDE, 0, 0, -1, 0, -1, NULL, NULL, "loopde short ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe2: LOOPD rCX, re18 */
SCInstr({-1, -1, -1, -1, ®ister_dword_ecx_s1_default, &flow_reladdrshort_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_LOOPD, 0, 0, -1, 0, -1, NULL, NULL, "loopd short ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe3: JCXZ rCX, re18 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, ®ister_dword_ecx_s1_default, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, CLASS_JEXCZ, 0, 0, -1, 0, -1, NULL, NULL, "jecxz short ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe4: IN AL, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_IN, 0, 0, -1, 0, -1, NULL, NULL, "in ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe5: IN rAX, imm8 */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, &immediate_byte_s1_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_IN, 0, 0, -1, 0, -1, NULL, NULL, "in ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe6: OUT imm8, AL */
SCInstr({-1, -1, -1, -1, &immediate_byte_s1_s1, ®ister_byte_al_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_OUT, 0, 0, -1, 0, -1, NULL, NULL, "out ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe7: OUT imm8, rAX */
SCInstr({-1, -1, -1, -1, &immediate_byte_s1_s1, ®ister_dword_eax_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_OUT, 0, 0, -1, 0, -1, NULL, NULL, "out ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe8: CALL rel16/32 */
SCInstr({-1, -1, -1, -1, &flow_reladdrfar_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_CALL, 0, 0, -1, 0, -1, NULL, NULL, "call ", -1, -1, -1, -1, NULL, NULL}),
/* 0xe9: JMP rel16/32 */
SCInstr({-1, -1, -1, -1, &flow_reladdrfar_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_JMP, 0, 0, -1, 0, -1, NULL, NULL, "jmp ", -1, -1, -1, -1, NULL, NULL}),
/* 0xea: JMP FAR ptr16:16/32 */
SCInstr({-1, -1, -1, -1, &flow_addrfarabs_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_JMPF, 0, 0, -1, 0, -1, NULL, NULL, "jmp far ", -1, -1, -1, -1, NULL, NULL}),
/* 0xeb: JMP SHORT rel8 */
SCInstr({-1, -1, -1, -1, &flow_reladdrshort_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, FLOW_INSTRUCTION, CLASS_JMP_SHORT, 0, 0, -1, 0, -1, NULL, NULL, "jmp short ", -1, -1, -1, -1, NULL, NULL}),
/* 0xec: IN AL, DX */
SCInstr({-1, -1, -1, -1, ®ister_byte_al_s1, ®ister_word_dx_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_IN, 0, 0, -1, 0, -1, NULL, NULL, "in ", -1, -1, -1, -1, NULL, NULL}),
/* 0xed: IN rAX, DX */
SCInstr({-1, -1, -1, -1, ®ister_dword_eax_s1, ®ister_word_dx_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_IN, 0, 0, -1, 0, -1, NULL, NULL, "in ", -1, -1, -1, -1, NULL, NULL}),
/* 0xee: OUT DX, AL */
SCInstr({-1, -1, -1, -1, ®ister_word_dx_s1, ®ister_byte_al_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_OUT, 0, 0, -1, 0, -1, NULL, NULL, "out ", -1, -1, -1, -1, NULL, NULL}),
/* 0xef: OUT DX, rAX */
SCInstr({-1, -1, -1, -1, ®ister_word_dx_s1, ®ister_dword_eax_s1, NULL, NULL,
-1, -1, -1, -1, 0, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_OUT, 0, 0, -1, 0, -1, NULL, NULL, "out ", -1, -1, -1, -1, NULL, NULL}),
/* 0xf0: PREFIX LOCK */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xf1: INT1 */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_INT1, 0, 0, -1, 0, -1, NULL, NULL, "int1", -1, -1, -1, -1, NULL, NULL}),
/* 0xf2: PREFIX REPNZ */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xf3: PREFIX REP */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xf4: HLT */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_HLT, 0, 0, -1, 0, -1, NULL, NULL, "hlt", -1, -1, -1, -1, NULL, NULL}),
/* 0xf5: CMC */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_CMC, 0, 0, -1, 0, -1, NULL, NULL, "cmc", -1, -1, -1, -1, NULL, NULL}),
/* 0xf6: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_f6_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xf7: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_f7_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xf8: CLC */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_CLC, CF, 0, -1, 0, -1, NULL, NULL, "clc", -1, -1, -1, -1, NULL, NULL}),
/* 0xf9: STC */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_STC, CF, 0, -1, 0, -1, NULL, NULL, "stc", -1, -1, -1, -1, NULL, NULL}),
/* 0xfa: CLI */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_CLI, IF, 0, -1, 0, -1, NULL, NULL, "cli", -1, -1, -1, -1, NULL, NULL}),
/* 0xfb: STI */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_STI, IF, 0, -1, 0, -1, NULL, NULL, "sti", -1, -1, -1, -1, NULL, NULL}),
/* 0xfc: CLD */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_CLD, DF, 0, -1, 0, -1, NULL, NULL, "cld", -1, -1, -1, -1, NULL, NULL}),
/* 0xfd: STD */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, CLASS_STD, DF, 0, -1, 0, -1, NULL, NULL, "std", -1, -1, -1, -1, NULL, NULL}),
/* 0xfe: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_fe_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0xff: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_ff_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL})
};
SCInstr getTwoByteOpcode[] = {
/* 0x00: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_0f00_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x01: NEED FURTHER PARSED */
SCInstr({-1, -1, -1, -1, ¬exist_s1_0f01_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NEED_FURTHER_PARSED, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x02: LAR r16/32, m16 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_LAR, ZF, 0, -1, 1, -1, NULL, NULL, "lar ", -1, -1, -1, -1, NULL, NULL}),
/* 0x03: LSL r16/32, m16 */
SCInstr({-1, -1, -1, -1, ®ister_dword_s1_s1, &memory_dword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, NORMAL_INSTRUCTION, CLASS_LSL, ZF, 0, -1, 1, -1, NULL, NULL, "lsl ", -1, -1, -1, -1, NULL, NULL}),
/* 0x04: UNDEFINED INSTRUCTION */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x05: SYSCALL */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, UNDEFINED_CLASS, CF | PF | AF | ZF | SF | TF | IF | DF | OF, 0, -1, 0, -1, NULL, NULL, "syscall", -1, -1, -1, -1, NULL, NULL}),
/* 0x06: CLTS CR0 */
SCInstr({-1, -1, -1, -1, &cr_s1_cr0_s1_default, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, UNDEFINED_CLASS, TS, 0, -1, 0, -1, NULL, NULL, "clts", -1, -1, -1, -1, NULL, NULL}),
/* 0x07: SYSRET */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, UNDEFINED_CLASS, CF | PF | AF | ZF | SF | TF | IF | DF | OF, 0, -1, 0, -1, NULL, NULL, "sysret", -1, -1, -1, -1, NULL, NULL}),
/* 0x08: INVD */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "invd", -1, -1, -1, -1, NULL, NULL}),
/* 0x09: WBINVD */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "wbinvd", -1, -1, -1, -1, NULL, NULL}),
/* 0x0a: UNDEFINED INSTRUCTION */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x0b: UD2 */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "ud2", -1, -1, -1, -1, NULL, NULL}),
/* 0x0c: UNDEFINED INSTRUCTION */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x0d: PREFETCHW m8 */
SCInstr({-1, -1, -1, -1, &memory_fixed_qword_s1_s1, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, IRREPLACEABLE_INSTRUCTION, UNDEFINED_CLASS, CF | PF | AF | ZF | SF | TF | IF | DF | OF, 0, -1, 1, -1, NULL, NULL, "prefetchw ", -1, -1, -1, -1, NULL, NULL}),
/* 0x0e: UNDEFINED INSTRUCTION */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x0f: UNDEFINED INSTRUCTION */
SCInstr({-1, -1, -1, -1, NULL, NULL, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, UNDEFINED_INSTRUCTION, UNDEFINED_CLASS, 0, 0, -1, 0, -1, NULL, NULL, "???", -1, -1, -1, -1, NULL, NULL}),
/* 0x10: MOVUPS xmm, xmm/m128 */
SCInstr({-1, -1, -1, -1, &xmmre_xmm_s1_s1, &xmmmem_dqword_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "movups ", -1, -1, -1, -1, NULL, NULL}),
/* 0x11: MOVUPS xmm/m128, xmm */
SCInstr({-1, -1, -1, -1, &xmmmem_dqword_s1_s1, &xmmre_xmm_s1_s1, NULL, NULL,
-1, -1, -1, -1, -1, -1, -1, SPECIAL_MNEMONIC, UNDEFINED_CLASS, 0, 0, -1, 1, -1, NULL, NULL, "movups ", -1, -1, -1, -1, NULL, NULL}),