// File: rockytriton[P]dreamsys_emu_gb/src/op_handler.cpp
// Function: dsemu::cpu::init_handlers()
void init_handlers() {
    handlerMap[LD] = handleLD;
    handlerMap[LDI] = handleLDI;
    handlerMap[LDD] = handleLDD;
    handlerMap[NOP] = handleNOP;
    handlerMap[JP] = handleJump;
    handlerMap[JR] = handleJumpRelative;
    handlerMap[XOR] = handleXOR;
    handlerMap[OR] = handleOR;
    handlerMap[AND] = handleAND;
    handlerMap[INC] = handleINC;
    handlerMap[DEC] = handleDEC;
    handlerMap[RRCA] = handleRRCA;
    handlerMap[RRA] = handleRRA;
    handlerMap[RLCA] = handleRLCA;
    handlerMap[RLA] = handleRLA;

    handlerMap[ADD] = handleADD;
    handlerMap[ADC] = handleADC;
    handlerMap[SUB] = handleSUB;
    handlerMap[SBC] = handleSBC;
    handlerMap[CP] = handleCP;
    handlerMap[DI] = handleDI;
    handlerMap[EI] = handleEI;
    handlerMap[LDH] = handleLDH;
    handlerMap[RST] = handleRST;
    handlerMap[CALL] = handleCALL;
    handlerMap[RET] = handleRET;
    handlerMap[RETI] = handleRETI;
    handlerMap[DAA] = handleDAA;
    handlerMap[PUSH] = handlePUSH;
    handlerMap[POP] = handlePOP;
    handlerMap[CB] = handleCB;
    handlerMap[CPL] = handleCPL;
    handlerMap[HALT] = handleHALT;
    handlerMap[SCF] = handleSCF;
    handlerMap[CCF] = handleCCF;
    handlerMap[STOP] = handleNOP;

    initParamTypeMap();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movl $0x1, -0x4(%rbp)
leaq 0x3250f(%rip), %rdi     # 0x4f658
leaq -0x4(%rbp), %rsi
callq 0x1dbf0
leaq -0x2a89(%rip), %rcx     # 0x1a6d0
movq %rcx, (%rax)
movl $0x2, -0x8(%rbp)
leaq 0x324ee(%rip), %rdi     # 0x4f658
leaq -0x8(%rbp), %rsi
callq 0x1dbf0
leaq -0xc1a(%rip), %rcx      # 0x1c560
movq %rcx, (%rax)
movl $0x3, -0xc(%rbp)
leaq 0x324cd(%rip), %rdi     # 0x4f658
leaq -0xc(%rbp), %rsi
callq 0x1dbf0
leaq -0xc7b(%rip), %rcx      # 0x1c520
movq %rcx, (%rax)
movl $0x0, -0x10(%rbp)
leaq 0x324ac(%rip), %rdi     # 0x4f658
leaq -0x10(%rbp), %rsi
callq 0x1dbf0
leaq -0x251c(%rip), %rcx     # 0x1aca0
movq %rcx, (%rax)
movl $0x1a, -0x14(%rbp)
leaq 0x3248b(%rip), %rdi     # 0x4f658
leaq -0x14(%rbp), %rsi
callq 0x1dbf0
leaq -0x1e9d(%rip), %rcx     # 0x1b340
movq %rcx, (%rax)
movl $0x6, -0x18(%rbp)
leaq 0x3246a(%rip), %rdi     # 0x4f658
leaq -0x18(%rbp), %rsi
callq 0x1dbf0
leaq -0x1f4e(%rip), %rcx     # 0x1b2b0
movq %rcx, (%rax)
movl $0x13, -0x1c(%rbp)
leaq 0x32449(%rip), %rdi     # 0x4f658
leaq -0x1c(%rbp), %rsi
callq 0x1dbf0
leaq -0xeaf(%rip), %rcx      # 0x1c370
movq %rcx, (%rax)
movl $0x19, -0x20(%rbp)
leaq 0x32428(%rip), %rdi     # 0x4f658
leaq -0x20(%rbp), %rsi
callq 0x1dbf0
leaq -0xf60(%rip), %rcx      # 0x1c2e0
movq %rcx, (%rax)
movl $0x18, -0x24(%rbp)
leaq 0x32407(%rip), %rdi     # 0x4f658
leaq -0x24(%rbp), %rsi
callq 0x1dbf0
leaq -0x1021(%rip), %rcx     # 0x1c240
movq %rcx, (%rax)
movl $0x4, -0x28(%rbp)
leaq 0x323e6(%rip), %rdi     # 0x4f658
leaq -0x28(%rbp), %rsi
callq 0x1dbf0
leaq -0xce2(%rip), %rcx      # 0x1c5a0
movq %rcx, (%rax)
movl $0x5, -0x2c(%rbp)
leaq 0x323c5(%rip), %rdi     # 0x4f658
leaq -0x2c(%rbp), %rsi
callq 0x1dbf0
leaq -0x993(%rip), %rcx      # 0x1c910
movq %rcx, (%rax)
movl $0xd, -0x30(%rbp)
leaq 0x323a4(%rip), %rdi     # 0x4f658
leaq -0x30(%rbp), %rsi
callq 0x1dbf0
leaq -0x454(%rip), %rcx      # 0x1ce70
movq %rcx, (%rax)
movl $0xc, -0x34(%rbp)
leaq 0x32383(%rip), %rdi     # 0x4f658
leaq -0x34(%rbp), %rsi
callq 0x1dbf0
leaq -0x575(%rip), %rcx      # 0x1cd70
movq %rcx, (%rax)
movl $0xb, -0x38(%rbp)
leaq 0x32362(%rip), %rdi     # 0x4f658
leaq -0x38(%rbp), %rsi
callq 0x1dbf0
leaq -0x646(%rip), %rcx      # 0x1ccc0
movq %rcx, (%rax)
movl $0xa, -0x3c(%rbp)
leaq 0x32341(%rip), %rdi     # 0x4f658
leaq -0x3c(%rbp), %rsi
callq 0x1dbf0
leaq -0x717(%rip), %rcx      # 0x1cc10
movq %rcx, (%rax)
movl $0x8, -0x40(%rbp)
leaq 0x32320(%rip), %rdi     # 0x4f658
leaq -0x40(%rbp), %rsi
callq 0x1dbf0
leaq -0x13c8(%rip), %rcx     # 0x1bf80
movq %rcx, (%rax)
movl $0x21, -0x44(%rbp)
leaq 0x322ff(%rip), %rdi     # 0x4f658
leaq -0x44(%rbp), %rsi
callq 0x1dbf0
leaq -0x15b9(%rip), %rcx     # 0x1bdb0
movq %rcx, (%rax)
movl $0x9, -0x48(%rbp)
leaq 0x322de(%rip), %rdi     # 0x4f658
leaq -0x48(%rbp), %rsi
callq 0x1dbf0
leaq -0x126a(%rip), %rcx     # 0x1c120
movq %rcx, (%rax)
movl $0x12, -0x4c(%rbp)
leaq 0x322bd(%rip), %rdi     # 0x4f658
leaq -0x4c(%rbp), %rsi
callq 0x1dbf0
leaq -0x120b(%rip), %rcx     # 0x1c1a0
movq %rcx, (%rax)
movl $0x15, -0x50(%rbp)
leaq 0x3229c(%rip), %rdi     # 0x4f658
leaq -0x50(%rbp), %rsi
callq 0x1dbf0
leaq -0x166c(%rip), %rcx     # 0x1bd60
movq %rcx, (%rax)
movl $0x1c, -0x54(%rbp)
leaq 0x3227b(%rip), %rdi     # 0x4f658
leaq -0x54(%rbp), %rsi
callq 0x1dbf0
leaq -0x4cd(%rip), %rcx      # 0x1cf20
movq %rcx, (%rax)
movl $0x1d, -0x58(%rbp)
leaq 0x3225a(%rip), %rdi     # 0x4f658
leaq -0x58(%rbp), %rsi
callq 0x1dbf0
leaq -0x4ce(%rip), %rcx      # 0x1cf40
movq %rcx, (%rax)
movl $0x24, -0x5c(%rbp)
leaq 0x32239(%rip), %rdi     # 0x4f658
leaq -0x5c(%rbp), %rsi
callq 0x1dbf0
leaq -0x2ecf(%rip), %rcx     # 0x1a560
movq %rcx, (%rax)
movl $0x1f, -0x60(%rbp)
leaq 0x32218(%rip), %rdi     # 0x4f658
leaq -0x60(%rbp), %rsi
callq 0x1dbf0
leaq -0x460(%rip), %rcx      # 0x1cff0
movq %rcx, (%rax)
movl $0x1e, -0x64(%rbp)
leaq 0x321f7(%rip), %rdi     # 0x4f658
leaq -0x64(%rbp), %rsi
callq 0x1dbf0
leaq -0x1dc1(%rip), %rcx     # 0x1b6b0
movq %rcx, (%rax)
movl $0x1b, -0x68(%rbp)
leaq 0x321d6(%rip), %rdi     # 0x4f658
leaq -0x68(%rbp), %rsi
callq 0x1dbf0
leaq -0x1b92(%rip), %rcx     # 0x1b900
movq %rcx, (%rax)
movl $0x23, -0x6c(%rbp)
leaq 0x321b5(%rip), %rdi     # 0x4f658
leaq -0x6c(%rbp), %rsi
callq 0x1dbf0
leaq -0x1973(%rip), %rcx     # 0x1bb40
movq %rcx, (%rax)
movl $0x7, -0x70(%rbp)
leaq 0x32194(%rip), %rdi     # 0x4f658
leaq -0x70(%rbp), %rsi
callq 0x1dbf0
leaq -0x20b4(%rip), %rcx     # 0x1b420
movq %rcx, (%rax)
movl $0x17, -0x74(%rbp)
leaq 0x32173(%rip), %rdi     # 0x4f658
leaq -0x74(%rbp), %rsi
callq 0x1dbf0
leaq -0x1ec5(%rip), %rcx     # 0x1b630
movq %rcx, (%rax)
movl $0x16, -0x78(%rbp)
leaq 0x32152(%rip), %rdi     # 0x4f658
leaq -0x78(%rbp), %rsi
callq 0x1dbf0
leaq -0x1f96(%rip), %rcx     # 0x1b580
movq %rcx, (%rax)
movl $0x20, -0x7c(%rbp)
leaq 0x32131(%rip), %rdi     # 0x4f658
leaq -0x7c(%rbp), %rsi
callq 0x1dbf0
leaq -0x2887(%rip), %rcx     # 0x1acb0
movq %rcx, (%rax)
movl $0x10, -0x80(%rbp)
leaq 0x32110(%rip), %rdi     # 0x4f658
leaq -0x80(%rbp), %rsi
callq 0x1dbf0
leaq -0x738(%rip), %rcx      # 0x1ce20
movq %rcx, (%rax)
movl $0x25, -0x84(%rbp)
leaq 0x320ec(%rip), %rdi     # 0x4f658
leaq -0x84(%rbp), %rsi
callq 0x1dbf0
leaq -0x46f(%rip), %rcx      # 0x1d110
movq %rcx, (%rax)
movl $0xf, -0x88(%rbp)
leaq 0x320c5(%rip), %rdi     # 0x4f658
leaq -0x88(%rbp), %rsi
callq 0x1dbf0
leaq -0x646(%rip), %rcx      # 0x1cf60
movq %rcx, (%rax)
movl $0x11, -0x8c(%rbp)
leaq 0x3209e(%rip), %rdi     # 0x4f658
leaq -0x8c(%rbp), %rsi
callq 0x1dbf0
leaq -0x62d(%rip), %rcx      # 0x1cfa0
movq %rcx, (%rax)
movl $0xe, -0x90(%rbp)
leaq 0x32077(%rip), %rdi     # 0x4f658
leaq -0x90(%rbp), %rsi
callq 0x1dbf0
leaq -0x2954(%rip), %rcx     # 0x1aca0
movq %rcx, (%rax)
callq 0x19b00
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)