-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmdZ80.js
2403 lines (2370 loc) · 105 KB
/
mdZ80.js
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
// mdZ80.h
// typedef struct _memargstr [
// ushort staddr; // 開始アドレス
// ushort edaddr; // 終了アドレス
// int access; // アクセス方法のフラグ
// char *comment; // コメントの内容
//] memargstr;
// typedef struct [
// int len; // 命令長
// int index; // オペランドが参照開始するデータの位置
// int nimonic; // ニーモニック文字列の番号
// int op_num; // オペランド数
// int op0_type; // 第1オペランド
// int op1_type; // 第2オペランド
// int acc_type; // アクセスタイプ(リード/ライト/イン/アウト)
//] disZ80data;
// dis6502str.type = Address Type | Access Type;
// Address Type
const OT_NONE = 0 ;
const OT_REG_A = 1 ; // A Register
const OT_REG_B = 2 ; // B Register
const OT_REG_C = 3 ; // C Register
const OT_REG_D = 4 ; // D Register
const OT_REG_E = 5 ; // E Register
const OT_REG_H = 6 ; // H Register
const OT_REG_L = 7 ; // L Register
const OT_REG_F = 8 ; // F Register
const OT_REG_I = 9 ; // Interrupt Vector
const OT_REG_R = 10 ; // Refresh Counter
const OT_REG_AF = 11 ; // AF Register
const OT_REG_RAF = 12 ; // AF' Register
const OT_REG_BC = 13 ; // BC Register
const OT_REG_DE = 14 ; // DE Register
const OT_REG_HL = 15 ; // HL Register
const OT_REG_IX = 16 ; // HL Register
const OT_REG_IXL = 17 ; // HL Register
const OT_REG_IXH = 18 ; // HL Register
const OT_REG_IY = 19 ; // HL Register
const OT_REG_IYL = 20 ; // HL Register
const OT_REG_IYH = 21 ; // HL Register
const OT_REG_SP = 22 ; // SP Register
const OT_PORT_C = 23 ; // PORT (C)
const OT_ABS_BC = 24 ; // ABS (BC)
const OT_ABS_DE = 25 ; // ABS (DE)
const OT_ABS_HL = 26 ; // ABS (HL)
const OT_ABS_IX = 27 ; // ABS (IX)
const OT_ABS_IY = 28 ; // ABS (IY)
const OT_ABS_SP = 29 ; // ABS (SP)
const OT_NZ = 30 ;
const OT_Z = 31 ;
const OT_NC = 32 ;
const OT_C = 33 ;
const OT_PO = 34 ;
const OT_PE = 35 ;
const OT_P = 36 ;
const OT_M = 37 ;
const OT_BIT_0 = 38 ;
const OT_BIT_1 = 39 ;
const OT_BIT_2 = 40 ;
const OT_BIT_3 = 41 ;
const OT_BIT_4 = 42 ;
const OT_BIT_5 = 43 ;
const OT_BIT_6 = 44 ;
const OT_BIT_7 = 45 ;
const OT_IM_0 = 46 ;
const OT_IM_1 = 47 ;
const OT_IM_2 = 48 ;
// hex byte data
const OT_IMM_BYTE = 0x0100 ;
const OT_RST = 0x0101 ;
const OT_IMM_PORT = 0x0102 ;
const OT_UND = 0x0103 ;
const OT_NUL = 0x0104 ;
// hex byte data(byte offset)
const OT_IDX_IX = 0x200 ;
const OT_IDX_IY = 0x201 ;
// hex word data(byte offset)
const OT_REL = 0x400 ;
// hex word data
const OT_IMM_WORD = 0x0800 ;
const OT_ABS = 0x801 ;
const ADT_MASK = 0xff;
// Access Type
const ACT_NL = 0 ;
const ACT_RD = 1 ;
const ACT_WT = 2 ;
const ACT_OT = 4 ;
const ACT_IN = 8 ;
const ACT_AD = 0x4000 ;
const ACT_CL = 0x8000 ;
const ACT_RW = ( ACT_RD | ACT_WT );
const ACT_IO = ( ACT_IN | ACT_OT ) ;
// Name Type
const NMT_UND = 0 ;
const NMT_NUL = 1 ;
const NMT_LD = 2 ;
const NMT_PUSH = 3 ;
const NMT_POP = 4 ;
const NMT_EX = 5 ;
const NMT_EXX = 6 ;
const NMT_LDI = 7 ;
const NMT_LDIR = 8 ;
const NMT_LDD = 9 ;
const NMT_LDDR = 10 ;
const NMT_CPI = 11 ;
const NMT_CPIR = 12 ;
const NMT_CPD = 13 ;
const NMT_CPDR = 14 ;
const NMT_ADD = 15 ;
const NMT_ADC = 16 ;
const NMT_SUB = 17 ;
const NMT_SBC = 18 ;
const NMT_AND = 19 ;
const NMT_OR = 20 ;
const NMT_XOR = 21 ;
const NMT_CP = 22 ;
const NMT_INC = 23 ;
const NMT_DEC = 24 ;
const NMT_DAA = 25 ;
const NMT_CPL = 26 ;
const NMT_NEG = 27 ;
const NMT_CCF = 28 ;
const NMT_SCF = 29 ;
const NMT_NOP = 30 ;
const NMT_HALT = 31 ;
const NMT_DI = 32 ;
const NMT_EI = 33 ;
const NMT_IM = 34 ;
const NMT_RLCA = 35 ;
const NMT_RLA = 36 ;
const NMT_RRCA = 37 ;
const NMT_RRA = 38 ;
const NMT_RLC = 39 ;
const NMT_RL = 40 ;
const NMT_RRC = 41 ;
const NMT_RR = 42 ;
const NMT_SLA = 43 ;
const NMT_SLL = 44 ;
const NMT_SRA = 45 ;
const NMT_SRL = 46 ;
const NMT_RLD = 47 ;
const NMT_RRD = 48 ;
const NMT_BIT = 49 ;
const NMT_SET = 50 ;
const NMT_RES = 51 ;
const NMT_JP = 52 ;
const NMT_JR = 53 ;
const NMT_DJNZ = 54 ;
const NMT_CALL = 55 ;
const NMT_RET = 56 ;
const NMT_RETI = 57 ;
const NMT_RETN = 58 ;
const NMT_RST = 59 ;
const NMT_IN = 60 ;
const NMT_INI = 61 ;
const NMT_INIR = 62 ;
const NMT_IND = 63 ;
const NMT_INDR = 64 ;
const NMT_OUT = 65 ;
const NMT_OUTI = 66 ;
const NMT_OTIR = 67 ;
const NMT_OUTD = 68 ;
const NMT_OTDR = 69 ;
// MN Type
const INTEL = 0;
const MOTOROLA = 1;
const C_LANG = 2;
// end of MDZ80_H_
/*
* Minachun Disassembler for Sega mkIII(SMS)
*
* (c) Manbow-J / RuRuRu
*/
const nimonic = [
"db",
"db",
"ld",
"push",
"pop",
"ex",
"exx",
"ldi",
"ldir",
"ldd",
"lddr",
"cpi",
"cpir",
"cpd",
"cpdr",
"add",
"adc",
"sub",
"sbc",
"and",
"or",
"xor",
"cp",
"inc",
"dec",
"daa",
"cpl",
"neg",
"ccf",
"scf",
"nop",
"halt",
"di",
"ei",
"im",
"rlca",
"rla",
"rrca",
"rra",
"rlc",
"rl",
"rrc",
"rr",
"sla",
"sll",
"sra",
"srl",
"rld",
"rrd",
"bit",
"set",
"res",
"jp",
"jr",
"djnz",
"call",
"ret",
"reti",
"retn",
"rst",
"in",
"ini",
"inir",
"ind",
"indr",
"out",
"outi",
"otir",
"outd",
"otdr",
];
const optype0 = [
"",
"a",
"b",
"c",
"d",
"e",
"h",
"l",
"f",
"i",
"r",
"af",
"af'",
"bc",
"de",
"hl",
"ix",
"ixl",
"ixh",
"iy",
"iyl",
"iyh",
"sp",
"(c)",
"(bc)",
"(de)",
"(hl)",
"(ix)",
"(iy)",
"(sp)",
"nz",
"z",
"nc",
"c",
"po",
"pe",
"p",
"m",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"0",
"1",
"2",
];
const disz80 =
[
[
// 00-0F
[ 1, 0, NMT_NOP, 0, OT_NONE, OT_NONE, ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_REG_BC, OT_IMM_WORD,ACT_RD ],
[ 1, 1, NMT_LD, 2, OT_ABS_BC, OT_REG_A, ACT_WT ],
[ 1, 0, NMT_INC, 1, OT_REG_BC, OT_NONE, ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_B, OT_NONE, ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_B, OT_NONE, ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_B, OT_IMM_BYTE,ACT_NL ],
[ 1, 0, NMT_RLCA, 0, OT_NONE, OT_NONE, ACT_NL ],
[ 1, 0, NMT_EX, 2, OT_REG_AF, OT_REG_RAF, ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_HL, OT_REG_BC, ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_ABS_BC, ACT_RD ],
[ 1, 0, NMT_DEC, 1, OT_REG_BC, OT_NONE, ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_C, OT_NONE, ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_C, OT_NONE, ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_C, OT_IMM_BYTE,ACT_NL ],
[ 1, 0, NMT_RRCA, 0, OT_NONE, OT_NONE, ACT_NL ],
// 10-1F
[ 2, 1, NMT_DJNZ, 1, OT_REL, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_REG_DE, OT_IMM_WORD ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_ABS_DE, OT_REG_A ,ACT_WT ],
[ 1, 0, NMT_INC, 1, OT_REG_DE, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_D, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_RLA, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_JR, 1, OT_REL, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_HL, OT_REG_DE ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_ABS_DE ,ACT_RD ],
[ 1, 0, NMT_DEC, 1, OT_REG_DE, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_E, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_RRA, 0, OT_NONE, OT_NONE ,ACT_NL ],
// 20-2F
[ 2, 1, NMT_JR, 2, OT_NZ, OT_REL ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_REG_HL, OT_IMM_WORD ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_ABS, OT_REG_HL ,ACT_WT ],
[ 1, 0, NMT_INC, 1, OT_REG_HL, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_H, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_DAA, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_JR, 2, OT_Z, OT_REL ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_HL, OT_REG_HL ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_REG_HL, OT_ABS ,ACT_RD ],
[ 1, 0, NMT_DEC, 1, OT_REG_HL, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_L, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_CPL, 0, OT_NONE, OT_NONE ,ACT_NL ],
// 30-3F
[ 2, 1, NMT_JR, 2, OT_NC, OT_REL ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_REG_SP, OT_IMM_WORD ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_ABS, OT_REG_A ,ACT_WT ],
[ 1, 0, NMT_INC, 1, OT_REG_SP, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_ABS_HL, OT_NONE ,ACT_WT ],
[ 1, 0, NMT_DEC, 1, OT_ABS_HL, OT_NONE ,ACT_WT ],
[ 2, 1, NMT_LD, 2, OT_ABS_HL, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_SCF, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_JR, 2, OT_C, OT_REL ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_HL, OT_REG_SP ,ACT_NL ],
[ 3, 1, NMT_LD, 2, OT_REG_A, OT_ABS ,ACT_RD ],
[ 1, 0, NMT_DEC, 1, OT_REG_SP, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_INC, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_DEC, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_LD, 2, OT_REG_A, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_CCF, 0, OT_NONE, OT_NONE ,ACT_NL ],
// 40-4F
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_B, OT_REG_A ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_C, OT_REG_A ,ACT_NL ],
// 50-5F
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_D, OT_REG_A ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_E, OT_REG_A ,ACT_NL ],
// 60-6F
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_H, OT_REG_A ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_L, OT_REG_A ,ACT_NL ],
// 70-7F
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_B ,ACT_WT ],
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_C ,ACT_WT ],
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_D ,ACT_WT ],
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_E ,ACT_WT ],
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_H ,ACT_WT ],
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_L ,ACT_WT ],
[ 1, 0, NMT_HALT, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_ABS_HL, OT_REG_A ,ACT_WT ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_LD, 2, OT_REG_A, OT_REG_A ,ACT_NL ],
// 80-8F
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_ADD, 2, OT_REG_A, OT_REG_A ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_ADC, 2, OT_REG_A, OT_REG_A ,ACT_NL ],
// 90-9F
[ 1, 0, NMT_SUB, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SUB, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SUB, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SUB, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SUB, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SUB, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SUB, 1, OT_ABS_HL, OT_NONE ,ACT_RD ],
[ 1, 0, NMT_SUB, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_B ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_C ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_D ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_E ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_H ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_L ,ACT_NL ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_ABS_HL ,ACT_RD ],
[ 1, 0, NMT_SBC, 2, OT_REG_A, OT_REG_A ,ACT_NL ],
// A0-AF
[ 1, 0, NMT_AND, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_AND, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_AND, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_AND, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_AND, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_AND, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_AND, 1, OT_ABS_HL, OT_NONE ,ACT_RD ],
[ 1, 0, NMT_AND, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_XOR, 1, OT_ABS_HL, OT_NONE ,ACT_RD ],
[ 1, 0, NMT_XOR, 1, OT_REG_A, OT_NONE ,ACT_NL ],
// B0-BF
[ 1, 0, NMT_OR, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_OR, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_OR, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_OR, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_OR, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_OR, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_OR, 1, OT_ABS_HL, OT_NONE ,ACT_RD ],
[ 1, 0, NMT_OR, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_CP, 1, OT_ABS_HL, OT_NONE ,ACT_RD ],
[ 1, 0, NMT_CP, 1, OT_REG_A, OT_NONE ,ACT_NL ],
// C0-CF
[ 1, 0, NMT_RET, 1, OT_NZ, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_POP, 1, OT_REG_BC, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_NZ, OT_IMM_WORD ,ACT_NL ],
[ 3, 1, NMT_JP, 1, OT_IMM_WORD,OT_NONE ,ACT_NL ],
[ 3, 1, NMT_CALL, 2, OT_NZ, OT_IMM_WORD ,ACT_CL ],
[ 1, 0, NMT_PUSH, 1, OT_REG_BC, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_ADD, 2, OT_REG_A, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RET, 1, OT_Z, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RET, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_Z, OT_IMM_WORD ,ACT_NL ],
[ -1, 0, 0, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_CALL, 2, OT_Z, OT_IMM_WORD ,ACT_CL ],
[ 3, 1, NMT_CALL, 1, OT_IMM_WORD,OT_NONE ,ACT_CL ],
[ 2, 1, NMT_ADC, 2, OT_REG_A, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
// D0-DF
[ 1, 0, NMT_RET, 1, OT_NC, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_POP, 1, OT_REG_DE, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_NC, OT_IMM_WORD ,ACT_NL ],
[ 2, 1, NMT_OUT, 2, OT_IMM_PORT,OT_REG_A ,ACT_OT ],
[ 3, 1, NMT_CALL, 2, OT_NC, OT_IMM_WORD ,ACT_CL ],
[ 1, 0, NMT_PUSH, 1, OT_REG_DE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_SUB, 1, OT_IMM_BYTE,OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RET, 1, OT_C, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_EXX, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_C, OT_IMM_WORD ,ACT_NL ],
[ 2, 1, NMT_IN, 2, OT_REG_A, OT_IMM_PORT ,ACT_IN ],
[ 3, 1, NMT_CALL, 2, OT_C, OT_IMM_WORD ,ACT_CL ],
[ -2, 0, 0, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_SBC, 2, OT_REG_A, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
// E0-EF
[ 1, 0, NMT_RET, 1, OT_PO, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_POP, 1, OT_REG_HL, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_PO, OT_IMM_WORD ,ACT_NL ],
[ 1, 0, NMT_EX, 2, OT_ABS_SP, OT_REG_HL ,ACT_RW ],
[ 3, 1, NMT_CALL, 2, OT_PO, OT_IMM_WORD ,ACT_CL ],
[ 1, 0, NMT_PUSH, 1, OT_REG_HL, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_AND, 1, OT_IMM_BYTE,OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RET, 1, OT_PE, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_JP, 1, OT_ABS_HL, OT_NONE ,ACT_RD ],
[ 3, 1, NMT_JP, 2, OT_PE, OT_IMM_WORD ,ACT_NL ],
[ 1, 0, NMT_EX, 2, OT_REG_DE, OT_REG_HL ,ACT_NL ],
[ 3, 1, NMT_CALL, 2, OT_PE, OT_IMM_WORD ,ACT_CL ],
[ -3, 0, 0, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_XOR, 1, OT_IMM_BYTE,OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
// F0-FF
[ 1, 0, NMT_RET, 1, OT_P, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_POP, 1, OT_REG_AF, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_P, OT_IMM_WORD ,ACT_NL ],
[ 1, 1, NMT_DI, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_CALL, 2, OT_P, OT_IMM_WORD ,ACT_CL ],
[ 1, 0, NMT_PUSH, 1, OT_REG_AF, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_OR, 1, OT_IMM_BYTE,OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RET, 1, OT_M, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_LD, 2, OT_REG_SP, OT_REG_HL ,ACT_NL ],
[ 3, 1, NMT_JP, 2, OT_M, OT_IMM_WORD ,ACT_NL ],
[ 1, 1, NMT_EI, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 3, 1, NMT_CALL, 2, OT_M, OT_IMM_WORD ,ACT_CL ],
[ -4, 0, 0, 0, OT_NONE, OT_NONE ,ACT_NL ],
[ 2, 1, NMT_CP, 1, OT_IMM_BYTE,OT_NONE ,ACT_NL ],
[ 1, 0, NMT_RST, 1, OT_RST, OT_NONE ,ACT_NL ],
],[
// CB:00-0F
[ 2, 0, NMT_RLC, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RLC, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RLC, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RLC, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RLC, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RLC, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RLC, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_RLC, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RRC, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_RRC, 1, OT_REG_A, OT_NONE ,ACT_NL ],
// CB:10-1F
[ 2, 0, NMT_RL, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RL, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RL, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RL, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RL, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RL, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RL, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_RL, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_RR, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_RR, 1, OT_REG_A, OT_NONE ,ACT_NL ],
// CB:20-2F
[ 2, 0, NMT_SLA, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLA, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLA, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLA, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLA, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLA, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLA, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_SLA, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRA, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_SRA, 1, OT_REG_A, OT_NONE ,ACT_NL ],
// CB:30-3F
[ 2, 0, NMT_SLL, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_ABS_HL, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SLL, 1, OT_REG_A, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_REG_B, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_REG_C, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_REG_D, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_REG_E, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_REG_H, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_REG_L, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_SRL, 1, OT_ABS_HL, OT_NONE ,ACT_RW ],
[ 2, 0, NMT_SRL, 1, OT_REG_A, OT_NONE ,ACT_NL ],
// CB:40-4F
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_0, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_1, OT_REG_A ,ACT_NL ],
// CB:50-5F
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_2, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_3, OT_REG_A ,ACT_NL ],
// CB:60-6F
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_4, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_5, OT_REG_A ,ACT_NL ],
// CB:70-7F
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_6, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_BIT, 2, OT_BIT_7, OT_REG_A ,ACT_NL ],
// CB:80-8F
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_0, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_1, OT_REG_A ,ACT_NL ],
// CB:90-9F
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_2, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_3, OT_REG_A ,ACT_NL ],
// CB:A0-AF_3
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_4, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_5, OT_REG_A ,ACT_NL ],
// CB:B0-BF
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_6, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_ABS_HL ,ACT_RD ],
[ 2, 0, NMT_RES, 2, OT_BIT_7, OT_REG_A ,ACT_NL ],
// CB:C0-CF
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_0, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_1, OT_REG_A ,ACT_NL ],
// CB:D0-DF
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_2, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_3, OT_REG_A ,ACT_NL ],
// CB:E0-EF
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_4, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_5, OT_REG_A ,ACT_NL ],
// CB:F0-FF
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_6, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_H ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_L ,ACT_NL ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_ABS_HL ,ACT_RW ],
[ 2, 0, NMT_SET, 2, OT_BIT_7, OT_REG_A ,ACT_NL ],
],[
// DD:00-0F
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_ADD, 2, OT_REG_IX, OT_REG_BC ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
// DD:10-1F
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_ADD, 2, OT_REG_IX, OT_REG_DE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
// DD:20-2F
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 4, 2, NMT_LD, 2, OT_REG_IX, OT_IMM_WORD ,ACT_NL ],
[ 4, 2, NMT_LD, 2, OT_ABS, OT_REG_IX ,ACT_WT ],
[ 2, 0, NMT_INC, 1, OT_REG_IX, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_INC, 1, OT_REG_IXH, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_DEC, 1, OT_REG_IXH, OT_NONE ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_IXH, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_ADD, 2, OT_REG_IX, OT_REG_IX ,ACT_NL ],
[ 4, 2, NMT_LD, 2, OT_REG_IX, OT_ABS ,ACT_RD ],
[ 2, 0, NMT_DEC, 1, OT_REG_IX, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_INC, 1, OT_REG_IXL, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_DEC, 1, OT_REG_IXL, OT_NONE ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_IXL, OT_IMM_BYTE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
// DD:30-3F
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 3, 2, NMT_INC, 1, OT_IDX_IX, OT_NONE ,ACT_RW ],
[ 3, 2, NMT_DEC, 1, OT_IDX_IX, OT_NONE ,ACT_RW ],
[ 4, 2, NMT_LD, 2, OT_IDX_IX, OT_IMM_BYTE ,ACT_WT ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_ADD, 2, OT_REG_IX, OT_REG_SP ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
// DD:40-4F
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_B, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_B, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_B, OT_IDX_IX ,ACT_RD ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_C, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_C, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_C, OT_IDX_IX ,ACT_RD ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
// DD:50-5F
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_D, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_D, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_D, OT_IDX_IX ,ACT_RD ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_E, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_E, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_E, OT_IDX_IX ,ACT_RD ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
// DD:60-6F
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_H, OT_IDX_IX ,ACT_RD ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_A ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_B ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_C ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXH, OT_REG_D ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXL, OT_REG_E ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXL, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_IXL, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_L, OT_IDX_IX ,ACT_RD ],
[ 2, 0, NMT_LD, 2, OT_REG_IXL, OT_REG_A ,ACT_NL ],
// DD:70-7F
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_B ,ACT_WT ],
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_C ,ACT_WT ],
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_D ,ACT_WT ],
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_E ,ACT_WT ],
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_H ,ACT_WT ],
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_L ,ACT_WT ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_IDX_IX, OT_REG_A ,ACT_WT ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 1, 0, NMT_UND, 1, OT_UND, OT_NONE ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_A, OT_REG_IXH ,ACT_NL ],
[ 2, 0, NMT_LD, 2, OT_REG_A, OT_REG_IXL ,ACT_NL ],
[ 3, 2, NMT_LD, 2, OT_REG_A, OT_IDX_IX ,ACT_RD ],