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