-instr do_nop, do_NOP, do_nop ;00 ;NOP
-instr do_fetch_DIR16, do_NOP, do_store_BC ;01 nn nn ;LD BC,nn
-instr do_fetch_A, do_NOP, do_store_MBC ;02 ;LD (BC),A
-instr do_fetch_BC, do_op_INC16, do_store_BC ;03 ;INC BC
-instr do_fetch_B, do_op_INC, do_store_B ;04 ;INC B
-instr do_fetch_B, do_op_DEC, do_store_B ;05 ;DEC B
-instr do_fetch_DIR8, do_NOP, do_store_B ;06 ;LD B,n
-instr do_fetch_A, do_op_RLC, do_store_A ;07 ;RLCA
-instr do_nop, do_op_INV, do_nop ;08 ;EX AF,AF'
-instr do_fetch_BC, do_op_ADDHL, do_store_HL ;09 ;ADD HL,BC
-instr do_fetch_MBC, do_NOP, do_store_A ;0A ;LD A,(BC)
-instr do_fetch_BC, do_op_DEC16, do_store_BC ;0B ;DEC BC
-instr do_fetch_C, do_op_INC, do_store_C ;0C ;INC C
-instr do_fetch_C, do_op_DEC, do_store_C ;0D ;DEC C
-instr do_fetch_DIR8, do_NOP, do_store_C ;0E nn ;LD C,n
-instr do_fetch_A, do_op_RRC, do_store_A ;0F ;RRCA
-instr do_nop, do_op_INV, do_nop ;10 oo ;DJNZ o
-instr do_fetch_DIR16, do_NOP, do_store_DE ;11 nn nn ;LD DE,nn
-instr do_fetch_A, do_NOP, do_store_MDE ;12 ;LD (DE),A
-instr do_fetch_DE, do_op_INC16, do_store_DE ;13 ;INC DE
-instr do_fetch_D, do_op_INC, do_store_D ;14 ;INC D
-instr do_fetch_D, do_op_DEC, do_store_D ;15 ;DEC D
-instr do_fetch_DIR8, do_NOP, do_store_D ;16 nn ;LD D,n
-instr do_fetch_A, do_op_RL, do_store_A ;17 ;RLA
-instr do_NOP, do_op_INV, do_nop ;18 oo ;JR o
-instr do_fetch_DE, do_op_ADDHL, do_store_HL ;19 ;ADD HL,DE
-instr do_fetch_MDE, do_NOP, do_store_A ;1A ;LD A,(DE)
-instr do_fetch_DE, do_op_DEC16, do_store_DE ;1B ;DEC DE
-instr do_fetch_E, do_op_INC, do_store_E ;1C ;INC E
-instr do_fetch_E, do_op_DEC, do_store_E ;1D ;DEC E
-instr do_fetch_DIR8, do_NOP, do_store_E ;1E nn ;LD E,n
-instr do_fetch_A, do_op_RR, do_store_A ;1F ;RRA
-instr do_NOP, do_op_INV, do_nop ;20 oo ;JR NZ,o
-instr do_fetch_DIR16, do_NOP, do_store_HL ;21 nn nn ;LD HL,nn
-instr do_fetch_DIR16, do_op_STHL, do_nop ;22 nn nn ;LD (nn),HL
-instr do_fetch_HL, do_op_INC16, do_store_HL ;23 ;INC HL
-instr do_fetch_H, do_op_INC, do_store_H ;24 ;INC H
-instr do_fetch_H, do_op_DEC, do_store_H ;25 ;DEC H
-instr do_fetch_DIR8, do_NOP, do_store_H ;26 nn ;LD H,n
-instr do_fetch_A, do_op_DA, do_store_A ;27 ;DAA
-instr do_NOP, do_op_INV, do_nop ;28 oo ;JR Z,o
-instr do_fetch_HL, do_op_ADDHL, do_store_HL ;29 ;ADD HL,HL
-instr do_fetch_DIR16, do_op_RMEM16, do_store_HL ;2A nn nn ;LD HL,(nn)
-instr do_fetch_HL, do_op_DEC16, do_store_HL ;2B ;DEC HL
-instr do_fetch_L, do_op_INC, do_store_L ;2C ;INC L
-instr do_fetch_L, do_op_DEC, do_store_L ;2D ;DEC L
-instr do_fetch_DIR8, do_NOP, do_store_L ;2E nn ;LD L,n
-instr do_NOP, do_op_CPL, do_nop ;2F ;CPL
-instr do_NOP, do_op_INV, do_nop ;30 oo ;JR NC,o
-instr do_fetch_DIR16, do_NOP, do_store_SP ;31 nn nn ;LD SP,nn
-instr do_fetch_DIR16, do_NOP, do_store_AM ;32 nn nn ;LD (nn),A
-instr do_fetch_SP, do_op_INC16, do_store_SP ;33 ;INC SP
-instr do_fetch_MHL, do_op_INC, do_store_MHL ;34 ;INC (HL)
-instr do_fetch_MHL, do_op_DEC, do_store_MHL ;35 ;DEC (HL)
-instr do_fetch_DIR8, do_NOP, do_store_MHL ;36 nn ;LD (HL),n
-instr do_NOP, do_op_SCF, do_nop ;37 ;SCF
-instr do_NOP, do_op_INV, do_nop ;38 oo ;JR C,o
-instr do_fetch_SP, do_op_ADDHL, do_store_HL ;39 ;ADD HL,SP
-instr do_fetch_DIR16, do_op_RMEM8, do_store_A ;3A nn nn ;LD A,(nn)
-instr do_fetch_SP, do_op_DEC16, do_store_SP ;3B ;DEC SP
-instr do_NOP, do_op_INCA, do_nop ;3C ;INC A
-instr do_NOP, do_op_DECA, do_nop ;3D ;DEC A
-instr do_fetch_DIR8, do_NOP, do_store_A ;3E nn ;LD A,n
-instr do_NOP, do_op_CCF, do_nop ;3F ;CCF (Complement Carry Flag, gvd)
-instr do_fetch_B, do_NOP, do_store_B ;40 ;LD B,B
-instr do_fetch_C, do_NOP, do_store_B ;41 ;LD B,C
-instr do_fetch_D, do_NOP, do_store_B ;42 ;LD B,D
-instr do_fetch_E, do_NOP, do_store_B ;43 ;LD B,E
-instr do_fetch_H, do_NOP, do_store_B ;44 ;LD B,H
-instr do_fetch_L, do_NOP, do_store_B ;45 ;LD B,L
-instr do_fetch_MHL, do_NOP, do_store_B ;46 ;LD B,(HL)
-instr do_fetch_A, do_NOP, do_store_B ;47 ;LD B,A
-instr do_fetch_B, do_NOP, do_store_C ;48 ;LD C,B
-instr do_fetch_C, do_NOP, do_store_C ;49 ;LD C,C
-instr do_fetch_D, do_NOP, do_store_C ;4A ;LD C,D
-instr do_fetch_E, do_NOP, do_store_C ;4B ;LD C,E
-instr do_fetch_H, do_NOP, do_store_C ;4C ;LD C,H
-instr do_fetch_L, do_NOP, do_store_C ;4D ;LD C,L
-instr do_fetch_MHL, do_NOP, do_store_C ;4E ;LD C,(HL)
-instr do_fetch_A, do_NOP, do_store_C ;4F ;LD C,A
-instr do_fetch_B, do_NOP, do_store_D ;50 ;LD D,B
-instr do_fetch_C, do_NOP, do_store_D ;51 ;LD D,C
-instr do_fetch_D, do_NOP, do_store_D ;52 ;LD D,D
-instr do_fetch_E, do_NOP, do_store_D ;53 ;LD D,E
-instr do_fetch_H, do_NOP, do_store_D ;54 ;LD D,H
-instr do_fetch_L, do_NOP, do_store_D ;55 ;LD D,L
-instr do_fetch_MHL, do_NOP, do_store_D ;56 ;LD D,(HL)
-instr do_fetch_A, do_NOP, do_store_D ;57 ;LD D,A
-instr do_fetch_B, do_NOP, do_store_E ;58 ;LD E,B
-instr do_fetch_C, do_NOP, do_store_E ;59 ;LD E,C
-instr do_fetch_D, do_NOP, do_store_E ;5A ;LD E,D
-instr do_fetch_E, do_NOP, do_store_E ;5B ;LD E,E
-instr do_fetch_H, do_NOP, do_store_E ;5C ;LD E,H
-instr do_fetch_L, do_NOP, do_store_E ;5D ;LD E,L
-instr do_fetch_MHL, do_NOP, do_store_E ;5E ;LD E,(HL)
-instr do_fetch_A, do_NOP, do_store_E ;5F ;LD E,A
-instr do_fetch_B, do_NOP, do_store_H ;60 ;LD H,B
-instr do_fetch_C, do_NOP, do_store_H ;61 ;LD H,C
-instr do_fetch_D, do_NOP, do_store_H ;62 ;LD H,D
-instr do_fetch_E, do_NOP, do_store_H ;63 ;LD H,E
-instr do_fetch_H, do_NOP, do_store_H ;64 ;LD H,H
-instr do_fetch_L, do_NOP, do_store_H ;65 ;LD H,L
-instr do_fetch_MHL, do_NOP, do_store_H ;66 ;LD H,(HL)
-instr do_fetch_A, do_NOP, do_store_H ;67 ;LD H,A
-instr do_fetch_B, do_NOP, do_store_L ;68 ;LD L,B
-instr do_fetch_C, do_NOP, do_store_L ;69 ;LD L,C
-instr do_fetch_D, do_NOP, do_store_L ;6A ;LD L,D
-instr do_fetch_E, do_NOP, do_store_L ;6B ;LD L,E
-instr do_fetch_H, do_NOP, do_store_L ;6C ;LD L,H
-instr do_fetch_L, do_NOP, do_store_L ;6D ;LD L,L
-instr do_fetch_MHL, do_NOP, do_store_L ;6E ;LD L,(HL)
-instr do_fetch_A, do_NOP, do_store_L ;6F ;LD L,A
-instr do_fetch_B, do_NOP, do_store_MHL ;70 ;LD (HL),B
-instr do_fetch_C, do_NOP, do_store_MHL ;71 ;LD (HL),C
-instr do_fetch_D, do_NOP, do_store_MHL ;72 ;LD (HL),D
-instr do_fetch_E, do_NOP, do_store_MHL ;73 ;LD (HL),E
-instr do_fetch_H, do_NOP, do_store_MHL ;74 ;LD (HL),H
-instr do_fetch_L, do_NOP, do_store_MHL ;75 ;LD (HL),L
-instr do_NOP, do_op_INV, do_nop ;76 ;HALT
-instr do_fetch_A, do_NOP, do_store_MHL ;77 ;LD (HL),A
-instr do_fetch_B, do_NOP, do_store_A ;78 ;LD A,B
-instr do_fetch_C, do_NOP, do_store_A ;79 ;LD A,C
-instr do_fetch_D, do_NOP, do_store_A ;7A ;LD A,D
-instr do_fetch_E, do_NOP, do_store_A ;7B ;LD A,E
-instr do_fetch_H, do_NOP, do_store_A ;7C ;LD A,H
-instr do_fetch_L, do_NOP, do_store_A ;7D ;LD A,L
-instr do_fetch_MHL, do_NOP, do_store_A ;7E ;LD A,(HL)
-instr do_fetch_A, do_NOP, do_store_A ;7F ;LD A,A
-instr do_fetch_B, do_op_ADDA, do_nop ;80 ;ADD A,B
-instr do_fetch_C, do_op_ADDA, do_nop ;81 ;ADD A,C
-instr do_fetch_D, do_op_ADDA, do_nop ;82 ;ADD A,D
-instr do_fetch_E, do_op_ADDA, do_nop ;83 ;ADD A,E
-instr do_fetch_H, do_op_ADDA, do_nop ;84 ;ADD A,H
-instr do_fetch_L, do_op_ADDA, do_nop ;85 ;ADD A,L
-instr do_fetch_MHL, do_op_ADDA, do_nop ;86 ;ADD A,(HL)
-instr do_fetch_A, do_op_ADDA, do_nop ;87 ;ADD A,A
-instr do_fetch_B, do_op_ADCA, do_nop ;88 ;ADC A,B
-instr do_fetch_C, do_op_ADCA, do_nop ;89 ;ADC A,C
-instr do_fetch_D, do_op_ADCA, do_nop ;8A ;ADC A,D
-instr do_fetch_E, do_op_ADCA, do_nop ;8B ;ADC A,E
-instr do_fetch_H, do_op_ADCA, do_nop ;8C ;ADC A,H
-instr do_fetch_L, do_op_ADCA, do_nop ;8D ;ADC A,L
-instr do_fetch_MHL, do_op_ADCA, do_nop ;8E ;ADC A,(HL)
-instr do_fetch_A, do_op_ADCA, do_nop ;8F ;ADC A,A
-instr do_fetch_B, do_op_SUBFA, do_nop ;90 ;SUB A,B
-instr do_fetch_C, do_op_SUBFA, do_nop ;91 ;SUB A,C
-instr do_fetch_D, do_op_SUBFA, do_nop ;92 ;SUB A,D
-instr do_fetch_E, do_op_SUBFA, do_nop ;93 ;SUB A,E
-instr do_fetch_H, do_op_SUBFA, do_nop ;94 ;SUB A,H
-instr do_fetch_L, do_op_SUBFA, do_nop ;95 ;SUB A,L
-instr do_fetch_MHL, do_op_SUBFA, do_nop ;96 ;SUB A,(HL)
-instr do_fetch_A, do_op_SUBFA, do_nop ;97 ;SUB A,A
-instr do_fetch_B, do_op_SBCFA, do_nop ;98 ;SBC A,B
-instr do_fetch_C, do_op_SBCFA, do_nop ;99 ;SBC A,C
-instr do_fetch_D, do_op_SBCFA, do_nop ;9A ;SBC A,D
-instr do_fetch_E, do_op_SBCFA, do_nop ;9B ;SBC A,E
-instr do_fetch_H, do_op_SBCFA, do_nop ;9C ;SBC A,H
-instr do_fetch_L, do_op_SBCFA, do_nop ;9D ;SBC A,L
-instr do_fetch_MHL, do_op_SBCFA, do_nop ;9E ;SBC A,(HL)
-instr do_fetch_A, do_op_SBCFA, do_nop ;9F ;SBC A,A
-instr do_fetch_B, do_op_ANDA, do_nop ;A0 ;AND A,B
-instr do_fetch_C, do_op_ANDA, do_nop ;A1 ;AND A,C
-instr do_fetch_D, do_op_ANDA, do_nop ;A2 ;AND A,D
-instr do_fetch_E, do_op_ANDA, do_nop ;A3 ;AND A,E
-instr do_fetch_H, do_op_ANDA, do_nop ;A4 ;AND A,H
-instr do_fetch_L, do_op_ANDA, do_nop ;A5 ;AND A,L
-instr do_fetch_MHL, do_op_ANDA, do_nop ;A6 ;AND A,(HL)
-instr do_fetch_A, do_op_ANDA, do_nop ;A7 ;AND A,A
-instr do_fetch_B, do_op_XORA, do_nop ;A8 ;XOR A,B
-instr do_fetch_C, do_op_XORA, do_nop ;A9 ;XOR A,C
-instr do_fetch_D, do_op_XORA, do_nop ;AA ;XOR A,D
-instr do_fetch_E, do_op_XORA, do_nop ;AB ;XOR A,E
-instr do_fetch_H, do_op_XORA, do_nop ;AC ;XOR A,H
-instr do_fetch_L, do_op_XORA, do_nop ;AD ;XOR A,L
-instr do_fetch_MHL, do_op_XORA, do_nop ;AE ;XOR A,(HL)
-instr do_fetch_A, do_op_XORA, do_nop ;AF ;XOR A,A
-instr do_fetch_B, do_op_ORA, do_nop ;B0 ;OR A,B
-instr do_fetch_C, do_op_ORA, do_nop ;B1 ;OR A,C
-instr do_fetch_D, do_op_ORA, do_nop ;B2 ;OR A,D
-instr do_fetch_E, do_op_ORA, do_nop ;B3 ;OR A,E
-instr do_fetch_H, do_op_ORA, do_nop ;B4 ;OR A,H
-instr do_fetch_L, do_op_ORA, do_nop ;B5 ;OR A,L
-instr do_fetch_MHL, do_op_ORA, do_nop ;B6 ;OR A,(HL)
-instr do_fetch_A, do_op_ORA, do_nop ;B7 ;OR A,A
-instr do_fetch_B, do_op_CPFA, do_nop ;B8 ;CP A,B
-instr do_fetch_C, do_op_CPFA, do_nop ;B9 ;CP A,C
-instr do_fetch_D, do_op_CPFA, do_nop ;BA ;CP A,D
-instr do_fetch_E, do_op_CPFA, do_nop ;BB ;CP A,E
-instr do_fetch_H, do_op_CPFA, do_nop ;BC ;CP A,H
-instr do_fetch_L, do_op_CPFA, do_nop ;BD ;CP A,L
-instr do_fetch_MHL, do_op_CPFA, do_nop ;BE ;CP A,(HL)
-instr do_fetch_A, do_op_CPFA, do_nop ;BF ;CP A,A
-instr do_NOP, do_op_IFNZ, do_store_RET ;C0 ;RET NZ
-instr do_NOP, do_op_POP16, do_store_BC ;C1 ;POP BC
-instr do_fetch_DIR16, do_op_IFNZ, do_store_PC ;C2 nn nn ;JP NZ,nn
-instr do_fetch_DIR16, do_NOP, do_store_PC ;C3 nn nn ;JP nn
-instr do_fetch_DIR16, do_op_IFNZ, do_store_CALL ;C4 nn nn ;CALL NZ,nn
-instr do_fetch_BC, do_op_PUSH16, do_nop ;C5 ;PUSH BC
-instr do_fetch_DIR8, do_op_ADDA, do_nop ;C6 nn ;ADD A,n
-instr do_fetch_RST, do_NOP, do_store_CALL ;C7 ;RST 0
-instr do_NOP, do_op_IFZ, do_store_RET ;C8 ;RET Z
-instr do_NOP, do_nop, do_store_RET ;C9 ;RET
-instr do_fetch_DIR16, do_op_IFZ, do_store_PC ;CA nn nn ;JP Z,nn
-instr do_NOP, do_op_INV, do_nop ;CB ;(Z80 specific)
-instr do_fetch_DIR16, do_op_IFZ, do_store_CALL ;CC nn nn ;CALL Z,nn
-instr do_fetch_DIR16, do_NOP, do_store_CALL ;CD nn nn ;CALL nn
-instr do_fetch_DIR8, do_op_ADCA, do_nop ;CE nn ;ADC A,n
-instr do_fetch_RST, do_NOP, do_store_CALL ;CF ;RST 8H
-instr do_NOP, do_op_IFNC, do_store_RET ;D0 ;RET NC
-instr do_NOP, do_op_POP16, do_store_DE ;D1 ;POP DE
-instr do_fetch_DIR16, do_op_IFNC, do_store_PC ;D2 nn nn ;JP NC,nn
-instr do_fetch_DIR8, do_op_OUTA, do_nop ;D3 nn ;OUT (n),A
-instr do_fetch_DIR16, do_op_IFNC, do_store_CALL ;D4 nn nn ;CALL NC,nn
-instr do_fetch_DE, do_op_PUSH16, do_nop ;D5 ;PUSH DE
-instr do_fetch_DIR8, do_op_SUBFA, do_nop ;D6 nn ;SUB n
-instr do_fetch_RST, do_NOP, do_store_CALL ;D7 ;RST 10H
-instr do_NOP, do_op_IFC, do_store_RET ;D8 ;RET C
-instr do_NOP, do_nop, do_nop ;D9 ;EXX
-instr do_fetch_DIR16, do_op_IFC, do_store_PC ;DA nn nn ;JP C,nn
-instr do_fetch_DIR8, do_op_IN, do_store_A ;DB nn ;IN A,(n)
-instr do_fetch_DIR16, do_op_IFC, do_store_CALL ;DC nn nn ;CALL C,nn
-instr do_NOP, do_op_INV, do_nop ;DD ;(Z80 specific)
-instr do_fetch_DIR8, do_op_SBCFA, do_nop ;DE nn ;SBC A,n
-instr do_fetch_RST, do_NOP, do_store_CALL ;DF ;RST 18H
-instr do_NOP, do_op_IFPO, do_store_RET ;E0 ;RET PO
-instr do_NOP, do_op_POP16, do_store_HL ;E1 ;POP HL
-instr do_fetch_DIR16, do_op_IFPO, do_store_PC ;E2 nn nn ;JP PO,nn
-instr do_fetch_MSP, do_op_EXHL, do_store_MSP ;E3 ;EX (SP),HL
-instr do_fetch_DIR16, do_op_IFPO, do_store_CALL ;E4 nn nn ;CALL PO,nn
-instr do_fetch_HL, do_op_PUSH16, do_nop ;E5 ;PUSH HL
-instr do_fetch_DIR8, do_op_ANDA, do_nop ;E6 nn ;AND n
-instr do_fetch_RST, do_NOP, do_store_CALL ;E7 ;RST 20H
-instr do_NOP, do_op_IFPE, do_store_RET ;E8 ;RET PE
-instr do_fetch_HL, do_NOP, do_store_PC ;E9 ;JP HL
-instr do_fetch_DIR16, do_op_IFPE, do_store_PC ;EA nn nn ;JP PE,nn
-instr do_fetch_DE, do_op_EXHL, do_store_DE ;EB ;EX DE,HL
-instr do_fetch_DIR16, do_op_IFPE, do_store_CALL ;EC nn nn ;CALL PE,nn
-instr do_NOP, do_op_INV, do_nop ;ED ;(Z80 specific)
-instr do_fetch_DIR8, do_op_XORA, do_nop ;EE nn ;XOR n
-instr do_fetch_RST, do_NOP, do_store_CALL ;EF ;RST 28H
-instr do_NOP, do_op_IFP, do_store_RET ;F0 ;RET P
-instr do_NOP, do_op_POP16, do_store_AF ;F1 ;POP AF
-instr do_fetch_DIR16, do_op_IFP, do_store_PC ;F2 nn nn ;JP P,nn
-instr do_NOP, do_op_DI, do_nop ;F3 ;DI
-instr do_fetch_DIR16, do_op_IFP, do_store_CALL ;F4 nn nn ;CALL P,nn
-instr do_fetch_AF, do_op_PUSH16, do_nop ;F5 ;PUSH AF
-instr do_fetch_DIR8, do_op_ORA, do_nop ;F6 nn ;OR n
-instr do_fetch_RST, do_NOP, do_store_CALL ;F7 ;RST 30H
-instr do_NOP, do_op_IFM, do_store_RET ;F8 ;RET M
-instr do_fetch_HL, do_NOP, do_store_SP ;F9 ;LD SP,HL
-instr do_fetch_DIR16, do_op_IFM, do_store_PC ;FA nn nn ;JP M,nn
-instr do_NOP, do_op_EI, do_nop ;FB ;EI
-instr do_fetch_DIR16, do_op_IFM, do_store_CALL ;FC nn nn ;CALL M,nn
-instr do_NOP, do_op_INV, do_nop ;FD ;(Z80 specific)
-instr do_fetch_DIR8, do_op_CPFA, do_nop ;FE nn ;CP n
-instr do_fetch_RST, do_NOP, do_store_CALL ;FF ;RST 38H
+instr do_fetch_nop, op_nop, do_store_nop ;00 ;NOP
+instr do_fetch_DIR16, op_nop, do_store_BC ;01 nn nn ;LD BC,nn
+instr do_fetch_nop, op_nop, do_store_MBC ;02 ;LD (BC),A
+instr do_fetch_BC, op_INC16, do_store_BC ;03 ;INC BC
+instr do_fetch_B, op_INC, do_store_B ;04 ;INC B
+instr do_fetch_B, op_DEC, do_store_B ;05 ;DEC B
+instr do_fetch_DIR8, op_nop, do_store_B ;06 ;LD B,n
+instr do_fetch_nop, op_RLCA, do_store_nop ;07 ;RLCA
+instr do_fetch_nop, op_INV, do_store_nop ;08 ;EX AF,AF'
+instr do_fetch_BC, op_ADDHL, do_store_nop ;09 ;ADD HL,BC
+instr do_fetch_MBC, op_nop, do_store_nop ;0A ;LD A,(BC)
+instr do_fetch_BC, op_DEC16, do_store_BC ;0B ;DEC BC
+instr do_fetch_C, op_INC, do_store_C ;0C ;INC C
+instr do_fetch_C, op_DEC, do_store_C ;0D ;DEC C
+instr do_fetch_DIR8, op_nop, do_store_C ;0E nn ;LD C,n
+instr do_fetch_nop, op_RRCA, do_store_nop ;0F ;RRCA
+instr do_fetch_nop, op_INV, do_store_nop ;10 oo ;DJNZ o
+instr do_fetch_DIR16, op_nop, do_store_DE ;11 nn nn ;LD DE,nn
+instr do_fetch_nop, op_nop, do_store_MDE ;12 ;LD (DE),A
+instr do_fetch_DE, op_INC16, do_store_DE ;13 ;INC DE
+instr do_fetch_D, op_INC, do_store_D ;14 ;INC D
+instr do_fetch_D, op_DEC, do_store_D ;15 ;DEC D
+instr do_fetch_DIR8, op_nop, do_store_D ;16 nn ;LD D,n
+instr do_fetch_nop, op_RLA, do_store_nop ;17 ;RLA
+instr do_fetch_nop, op_INV, do_store_nop ;18 oo ;JR o
+instr do_fetch_DE, op_ADDHL, do_store_nop ;19 ;ADD HL,DE
+instr do_fetch_MDE, op_nop, do_store_nop ;1A ;LD A,(DE)
+instr do_fetch_DE, op_DEC16, do_store_DE ;1B ;DEC DE
+instr do_fetch_E, op_INC, do_store_E ;1C ;INC E
+instr do_fetch_E, op_DEC, do_store_E ;1D ;DEC E
+instr do_fetch_DIR8, op_nop, do_store_E ;1E nn ;LD E,n
+instr do_fetch_nop, op_RRA, do_store_nop ;1F ;RRA
+instr do_fetch_nop, op_INV, do_store_nop ;20 oo ;JR NZ,o
+instr do_fetch_DIR16, op_nop, do_store_HL ;21 nn nn ;LD HL,nn
+instr do_fetch_DIR16, op_STHL, do_store_nop ;22 nn nn ;LD (nn),HL
+instr do_fetch_HL, op_INC16, do_store_HL ;23 ;INC HL
+instr do_fetch_H, op_INC, do_store_H ;24 ;INC H
+instr do_fetch_H, op_DEC, do_store_H ;25 ;DEC H
+instr do_fetch_DIR8, op_nop, do_store_H ;26 nn ;LD H,n
+instr do_fetch_A, op_DA, do_store_A ;27 ;DAA
+instr do_fetch_nop, op_INV, do_store_nop ;28 oo ;JR Z,o
+instr do_fetch_HL, op_ADDHL, do_store_nop ;29 ;ADD HL,HL
+instr do_fetch_DIR16, op_RMEM16, do_store_HL ;2A nn nn ;LD HL,(nn)
+instr do_fetch_HL, op_DEC16, do_store_HL ;2B ;DEC HL
+instr do_fetch_L, op_INC, do_store_L ;2C ;INC L
+instr do_fetch_L, op_DEC, do_store_L ;2D ;DEC L
+instr do_fetch_DIR8, op_nop, do_store_L ;2E nn ;LD L,n
+instr do_fetch_nop, op_CPL, do_store_nop ;2F ;CPL
+instr do_fetch_nop, op_INV, do_store_nop ;30 oo ;JR NC,o
+instr do_fetch_DIR16, op_nop, do_store_SP ;31 nn nn ;LD SP,nn
+instr do_fetch_DIR16, op_nop, do_store_AM ;32 nn nn ;LD (nn),A
+instr do_fetch_SP, op_INC16, do_store_SP ;33 ;INC SP
+instr do_fetch_MHL, op_INC, do_store_MHL ;34 ;INC (HL)
+instr do_fetch_MHL, op_DEC, do_store_MHL ;35 ;DEC (HL)
+instr do_fetch_DIR8, op_nop, do_store_MHL ;36 nn ;LD (HL),n
+instr do_fetch_nop, op_SCF, do_store_nop ;37 ;SCF
+instr do_fetch_nop, op_INV, do_store_nop ;38 oo ;JR C,o
+instr do_fetch_SP, op_ADDHL, do_store_nop ;39 ;ADD HL,SP
+instr do_fetch_DIR16, op_RMEM8, do_store_A ;3A nn nn ;LD A,(nn)
+instr do_fetch_SP, op_DEC16, do_store_SP ;3B ;DEC SP
+instr do_fetch_nop, op_INCA, do_store_nop ;3C ;INC A
+instr do_fetch_nop, op_DECA, do_store_nop ;3D ;DEC A
+instr do_fetch_DIR8, op_nop, do_store_A ;3E nn ;LD A,n
+instr do_fetch_nop, op_CCF, do_store_nop ;3F ;CCF (Complement Carry Flag, gvd)
+instr do_fetch_nop, op_nop, do_store_nop ;40 ;LD B,B
+instr do_fetch_C, op_nop, do_store_B ;41 ;LD B,C
+instr do_fetch_D, op_nop, do_store_B ;42 ;LD B,D
+instr do_fetch_E, op_nop, do_store_B ;43 ;LD B,E
+instr do_fetch_H, op_nop, do_store_B ;44 ;LD B,H
+instr do_fetch_L, op_nop, do_store_B ;45 ;LD B,L
+instr do_fetch_MHL, op_nop, do_store_B ;46 ;LD B,(HL)
+instr do_fetch_A, op_nop, do_store_B ;47 ;LD B,A
+instr do_fetch_B, op_nop, do_store_C ;48 ;LD C,B
+instr do_fetch_nop, op_nop, do_store_nop ;49 ;LD C,C
+instr do_fetch_D, op_nop, do_store_C ;4A ;LD C,D
+instr do_fetch_E, op_nop, do_store_C ;4B ;LD C,E
+instr do_fetch_H, op_nop, do_store_C ;4C ;LD C,H
+instr do_fetch_L, op_nop, do_store_C ;4D ;LD C,L
+instr do_fetch_MHL, op_nop, do_store_C ;4E ;LD C,(HL)
+instr do_fetch_A, op_nop, do_store_C ;4F ;LD C,A
+instr do_fetch_B, op_nop, do_store_D ;50 ;LD D,B
+instr do_fetch_C, op_nop, do_store_D ;51 ;LD D,C
+instr do_fetch_nop, op_nop, do_store_nop ;52 ;LD D,D
+instr do_fetch_E, op_nop, do_store_D ;53 ;LD D,E
+instr do_fetch_H, op_nop, do_store_D ;54 ;LD D,H
+instr do_fetch_L, op_nop, do_store_D ;55 ;LD D,L
+instr do_fetch_MHL, op_nop, do_store_D ;56 ;LD D,(HL)
+instr do_fetch_A, op_nop, do_store_D ;57 ;LD D,A
+instr do_fetch_B, op_nop, do_store_E ;58 ;LD E,B
+instr do_fetch_C, op_nop, do_store_E ;59 ;LD E,C
+instr do_fetch_D, op_nop, do_store_E ;5A ;LD E,D
+instr do_fetch_nop, op_nop, do_store_nop ;5B ;LD E,E
+instr do_fetch_H, op_nop, do_store_E ;5C ;LD E,H
+instr do_fetch_L, op_nop, do_store_E ;5D ;LD E,L
+instr do_fetch_MHL, op_nop, do_store_E ;5E ;LD E,(HL)
+instr do_fetch_A, op_nop, do_store_E ;5F ;LD E,A
+instr do_fetch_B, op_nop, do_store_H ;60 ;LD H,B
+instr do_fetch_C, op_nop, do_store_H ;61 ;LD H,C
+instr do_fetch_D, op_nop, do_store_H ;62 ;LD H,D
+instr do_fetch_E, op_nop, do_store_H ;63 ;LD H,E
+instr do_fetch_nop, op_nop, do_store_nop ;64 ;LD H,H
+instr do_fetch_L, op_nop, do_store_H ;65 ;LD H,L
+instr do_fetch_MHL, op_nop, do_store_H ;66 ;LD H,(HL)
+instr do_fetch_A, op_nop, do_store_H ;67 ;LD H,A
+instr do_fetch_B, op_nop, do_store_L ;68 ;LD L,B
+instr do_fetch_C, op_nop, do_store_L ;69 ;LD L,C
+instr do_fetch_D, op_nop, do_store_L ;6A ;LD L,D
+instr do_fetch_E, op_nop, do_store_L ;6B ;LD L,E
+instr do_fetch_H, op_nop, do_store_L ;6C ;LD L,H
+instr do_fetch_nop, op_nop, do_store_nop ;6D ;LD L,L
+instr do_fetch_MHL, op_nop, do_store_L ;6E ;LD L,(HL)
+instr do_fetch_A, op_nop, do_store_L ;6F ;LD L,A
+instr do_fetch_B, op_nop, do_store_MHL ;70 ;LD (HL),B
+instr do_fetch_C, op_nop, do_store_MHL ;71 ;LD (HL),C
+instr do_fetch_D, op_nop, do_store_MHL ;72 ;LD (HL),D
+instr do_fetch_E, op_nop, do_store_MHL ;73 ;LD (HL),E
+instr do_fetch_H, op_nop, do_store_MHL ;74 ;LD (HL),H
+instr do_fetch_L, op_nop, do_store_MHL ;75 ;LD (HL),L
+instr do_fetch_nop, op_INV, do_store_nop ;76 ;HALT
+instr do_fetch_A, op_nop, do_store_MHL ;77 ;LD (HL),A
+instr do_fetch_B, op_nop, do_store_A ;78 ;LD A,B
+instr do_fetch_C, op_nop, do_store_A ;79 ;LD A,C
+instr do_fetch_D, op_nop, do_store_A ;7A ;LD A,D
+instr do_fetch_E, op_nop, do_store_A ;7B ;LD A,E
+instr do_fetch_H, op_nop, do_store_A ;7C ;LD A,H
+instr do_fetch_L, op_nop, do_store_A ;7D ;LD A,L
+instr do_fetch_MHL, op_nop, do_store_A ;7E ;LD A,(HL)
+instr do_fetch_nop, op_nop, do_store_nop ;7F ;LD A,A
+instr do_fetch_B, op_ADDA, do_store_nop ;80 ;ADD A,B
+instr do_fetch_C, op_ADDA, do_store_nop ;81 ;ADD A,C
+instr do_fetch_D, op_ADDA, do_store_nop ;82 ;ADD A,D
+instr do_fetch_E, op_ADDA, do_store_nop ;83 ;ADD A,E
+instr do_fetch_H, op_ADDA, do_store_nop ;84 ;ADD A,H
+instr do_fetch_L, op_ADDA, do_store_nop ;85 ;ADD A,L
+instr do_fetch_MHL, op_ADDA, do_store_nop ;86 ;ADD A,(HL)
+instr do_fetch_A, op_ADDA, do_store_nop ;87 ;ADD A,A
+instr do_fetch_B, op_ADCA, do_store_nop ;88 ;ADC A,B
+instr do_fetch_C, op_ADCA, do_store_nop ;89 ;ADC A,C
+instr do_fetch_D, op_ADCA, do_store_nop ;8A ;ADC A,D
+instr do_fetch_E, op_ADCA, do_store_nop ;8B ;ADC A,E
+instr do_fetch_H, op_ADCA, do_store_nop ;8C ;ADC A,H
+instr do_fetch_L, op_ADCA, do_store_nop ;8D ;ADC A,L
+instr do_fetch_MHL, op_ADCA, do_store_nop ;8E ;ADC A,(HL)
+instr do_fetch_A, op_ADCA, do_store_nop ;8F ;ADC A,A
+instr do_fetch_B, op_SUBFA, do_store_nop ;90 ;SUB A,B
+instr do_fetch_C, op_SUBFA, do_store_nop ;91 ;SUB A,C
+instr do_fetch_D, op_SUBFA, do_store_nop ;92 ;SUB A,D
+instr do_fetch_E, op_SUBFA, do_store_nop ;93 ;SUB A,E
+instr do_fetch_H, op_SUBFA, do_store_nop ;94 ;SUB A,H
+instr do_fetch_L, op_SUBFA, do_store_nop ;95 ;SUB A,L
+instr do_fetch_MHL, op_SUBFA, do_store_nop ;96 ;SUB A,(HL)
+instr do_fetch_A, op_SUBFA, do_store_nop ;97 ;SUB A,A
+instr do_fetch_B, op_SBCFA, do_store_nop ;98 ;SBC A,B
+instr do_fetch_C, op_SBCFA, do_store_nop ;99 ;SBC A,C
+instr do_fetch_D, op_SBCFA, do_store_nop ;9A ;SBC A,D
+instr do_fetch_E, op_SBCFA, do_store_nop ;9B ;SBC A,E
+instr do_fetch_H, op_SBCFA, do_store_nop ;9C ;SBC A,H
+instr do_fetch_L, op_SBCFA, do_store_nop ;9D ;SBC A,L
+instr do_fetch_MHL, op_SBCFA, do_store_nop ;9E ;SBC A,(HL)
+instr do_fetch_A, op_SBCFA, do_store_nop ;9F ;SBC A,A
+instr do_fetch_B, op_ANDA, do_store_nop ;A0 ;AND A,B
+instr do_fetch_C, op_ANDA, do_store_nop ;A1 ;AND A,C
+instr do_fetch_D, op_ANDA, do_store_nop ;A2 ;AND A,D
+instr do_fetch_E, op_ANDA, do_store_nop ;A3 ;AND A,E
+instr do_fetch_H, op_ANDA, do_store_nop ;A4 ;AND A,H
+instr do_fetch_L, op_ANDA, do_store_nop ;A5 ;AND A,L
+instr do_fetch_MHL, op_ANDA, do_store_nop ;A6 ;AND A,(HL)
+instr do_fetch_A, op_ANDA, do_store_nop ;A7 ;AND A,A
+instr do_fetch_B, op_XORA, do_store_nop ;A8 ;XOR A,B
+instr do_fetch_C, op_XORA, do_store_nop ;A9 ;XOR A,C
+instr do_fetch_D, op_XORA, do_store_nop ;AA ;XOR A,D
+instr do_fetch_E, op_XORA, do_store_nop ;AB ;XOR A,E
+instr do_fetch_H, op_XORA, do_store_nop ;AC ;XOR A,H
+instr do_fetch_L, op_XORA, do_store_nop ;AD ;XOR A,L
+instr do_fetch_MHL, op_XORA, do_store_nop ;AE ;XOR A,(HL)
+instr do_fetch_A, op_XORA, do_store_nop ;AF ;XOR A,A
+instr do_fetch_B, op_ORA, do_store_nop ;B0 ;OR A,B
+instr do_fetch_C, op_ORA, do_store_nop ;B1 ;OR A,C
+instr do_fetch_D, op_ORA, do_store_nop ;B2 ;OR A,D
+instr do_fetch_E, op_ORA, do_store_nop ;B3 ;OR A,E
+instr do_fetch_H, op_ORA, do_store_nop ;B4 ;OR A,H
+instr do_fetch_L, op_ORA, do_store_nop ;B5 ;OR A,L
+instr do_fetch_MHL, op_ORA, do_store_nop ;B6 ;OR A,(HL)
+instr do_fetch_A, op_ORA, do_store_nop ;B7 ;OR A,A
+instr do_fetch_B, op_CPFA, do_store_nop ;B8 ;CP A,B
+instr do_fetch_C, op_CPFA, do_store_nop ;B9 ;CP A,C
+instr do_fetch_D, op_CPFA, do_store_nop ;BA ;CP A,D
+instr do_fetch_E, op_CPFA, do_store_nop ;BB ;CP A,E
+instr do_fetch_H, op_CPFA, do_store_nop ;BC ;CP A,H
+instr do_fetch_L, op_CPFA, do_store_nop ;BD ;CP A,L
+instr do_fetch_MHL, op_CPFA, do_store_nop ;BE ;CP A,(HL)
+instr do_fetch_A, op_CPFA, do_store_nop ;BF ;CP A,A
+instr do_fetch_nop, op_IFNZ, do_store_RET ;C0 ;RET NZ
+instr do_fetch_nop, op_POP16, do_store_BC ;C1 ;POP BC
+instr do_fetch_DIR16, op_IFNZ, do_store_PC ;C2 nn nn ;JP NZ,nn
+instr do_fetch_DIR16, op_nop, do_store_PC ;C3 nn nn ;JP nn
+instr do_fetch_DIR16, op_IFNZ, do_store_CALL ;C4 nn nn ;CALL NZ,nn
+instr do_fetch_BC, op_PUSH16, do_store_nop ;C5 ;PUSH BC
+instr do_fetch_DIR8, op_ADDA, do_store_nop ;C6 nn ;ADD A,n
+instr do_fetch_RST, op_nop, do_store_CALL ;C7 ;RST 0
+instr do_fetch_nop, op_IFZ, do_store_RET ;C8 ;RET Z
+instr do_fetch_nop, op_nop, do_store_RET ;C9 ;RET
+instr do_fetch_DIR16, op_IFZ, do_store_PC ;CA nn nn ;JP Z,nn
+instr do_fetch_nop, op_INV, do_store_nop ;CB ;(Z80 specific)
+instr do_fetch_DIR16, op_IFZ, do_store_CALL ;CC nn nn ;CALL Z,nn
+instr do_fetch_DIR16, op_nop, do_store_CALL ;CD nn nn ;CALL nn
+instr do_fetch_DIR8, op_ADCA, do_store_nop ;CE nn ;ADC A,n
+instr do_fetch_RST, op_nop, do_store_CALL ;CF ;RST 8H
+instr do_fetch_nop, op_IFNC, do_store_RET ;D0 ;RET NC
+instr do_fetch_nop, op_POP16, do_store_DE ;D1 ;POP DE
+instr do_fetch_DIR16, op_IFNC, do_store_PC ;D2 nn nn ;JP NC,nn
+instr do_fetch_DIR8, op_OUTA, do_store_nop ;D3 nn ;OUT (n),A
+instr do_fetch_DIR16, op_IFNC, do_store_CALL ;D4 nn nn ;CALL NC,nn
+instr do_fetch_DE, op_PUSH16, do_store_nop ;D5 ;PUSH DE
+instr do_fetch_DIR8, op_SUBFA, do_store_nop ;D6 nn ;SUB n
+instr do_fetch_RST, op_nop, do_store_CALL ;D7 ;RST 10H
+instr do_fetch_nop, op_IFC, do_store_RET ;D8 ;RET C
+instr do_fetch_nop, op_nop, do_store_nop ;D9 ;EXX
+instr do_fetch_DIR16, op_IFC, do_store_PC ;DA nn nn ;JP C,nn
+instr do_fetch_DIR8, op_INA, do_store_nop ;DB nn ;IN A,(n)
+instr do_fetch_DIR16, op_IFC, do_store_CALL ;DC nn nn ;CALL C,nn
+instr do_fetch_nop, op_INV, do_store_nop ;DD ;(Z80 specific)
+instr do_fetch_DIR8, op_SBCFA, do_store_nop ;DE nn ;SBC A,n
+instr do_fetch_RST, op_nop, do_store_CALL ;DF ;RST 18H
+instr do_fetch_nop, op_IFPO, do_store_RET ;E0 ;RET PO
+instr do_fetch_nop, op_POP16, do_store_HL ;E1 ;POP HL
+instr do_fetch_DIR16, op_IFPO, do_store_PC ;E2 nn nn ;JP PO,nn
+instr do_fetch_MSP, op_EXHL, do_store_MSP ;E3 ;EX (SP),HL
+instr do_fetch_DIR16, op_IFPO, do_store_CALL ;E4 nn nn ;CALL PO,nn
+instr do_fetch_HL, op_PUSH16, do_store_nop ;E5 ;PUSH HL
+instr do_fetch_DIR8, op_ANDA, do_store_nop ;E6 nn ;AND n
+instr do_fetch_RST, op_nop, do_store_CALL ;E7 ;RST 20H
+instr do_fetch_nop, op_IFPE, do_store_RET ;E8 ;RET PE
+instr do_fetch_HL, op_nop, do_store_PC ;E9 ;JP HL
+instr do_fetch_DIR16, op_IFPE, do_store_PC ;EA nn nn ;JP PE,nn
+instr do_fetch_DE, op_EXHL, do_store_DE ;EB ;EX DE,HL
+instr do_fetch_DIR16, op_IFPE, do_store_CALL ;EC nn nn ;CALL PE,nn
+instr do_fetch_nop, op_INV, do_store_nop ;ED ;(Z80 specific)
+instr do_fetch_DIR8, op_XORA, do_store_nop ;EE nn ;XOR n
+instr do_fetch_RST, op_nop, do_store_CALL ;EF ;RST 28H
+instr do_fetch_nop, op_IFP, do_store_RET ;F0 ;RET P
+instr do_fetch_nop, op_POP16, do_store_AF ;F1 ;POP AF
+instr do_fetch_DIR16, op_IFP, do_store_PC ;F2 nn nn ;JP P,nn
+instr do_fetch_nop, op_DI, do_store_nop ;F3 ;DI
+instr do_fetch_DIR16, op_IFP, do_store_CALL ;F4 nn nn ;CALL P,nn
+instr do_fetch_AF, op_PUSH16, do_store_nop ;F5 ;PUSH AF
+instr do_fetch_DIR8, op_ORA, do_store_nop ;F6 nn ;OR n
+instr do_fetch_RST, op_nop, do_store_CALL ;F7 ;RST 30H
+instr do_fetch_nop, op_IFM, do_store_RET ;F8 ;RET M
+instr do_fetch_HL, op_nop, do_store_SP ;F9 ;LD SP,HL
+instr do_fetch_DIR16, op_IFM, do_store_PC ;FA nn nn ;JP M,nn
+instr do_fetch_nop, op_EI, do_store_nop ;FB ;EI
+instr do_fetch_DIR16, op_IFM, do_store_CALL ;FC nn nn ;CALL M,nn
+instr do_fetch_nop, op_INV, do_store_nop ;FD ;(Z80 specific)
+instr do_fetch_DIR8, op_CPFA, do_store_nop ;FE nn ;CP n
+instr do_fetch_RST, op_nop, do_store_CALL ;FF ;RST 38H
+