// File: /workspace/github_cpp_makefile_star2_O1/suzukiplan[P]M6502/test/./../m6502.hpp
// Function: M6502::setupOperands()
void setupOperands()
    {
        memset(operands, 0, sizeof(operands));
        operands[0xA9] = lda_imm;
        operands[0xA5] = lda_zpg;
        operands[0xB5] = lda_zpg_x;
        operands[0xAD] = lda_abs;
        operands[0xBD] = lda_abs_x;
        operands[0xB9] = lda_abs_y;
        operands[0xA1] = lda_x_ind;
        operands[0xB1] = lda_ind_y;

        operands[0xA2] = ldx_imm;
        operands[0xA6] = ldx_zpg;
        operands[0xB6] = ldx_zpg_y;
        operands[0xAE] = ldx_abs;
        operands[0xBE] = ldx_abs_y;

        operands[0xA0] = ldy_imm;
        operands[0xA4] = ldy_zpg;
        operands[0xB4] = ldy_zpg_x;
        operands[0xAC] = ldy_abs;
        operands[0xBC] = ldy_abs_x;

        operands[0x85] = sta_zpg;
        operands[0x95] = sta_zpg_x;
        operands[0x8D] = sta_abs;
        operands[0x9D] = sta_abs_x;
        operands[0x99] = sta_abs_y;
        operands[0x81] = sta_x_ind;
        operands[0x91] = sta_ind_y;

        operands[0x86] = stx_zpg;
        operands[0x96] = stx_zpg_y;
        operands[0x8E] = stx_abs;

        operands[0x84] = sty_zpg;
        operands[0x94] = sty_zpg_x;
        operands[0x8C] = sty_abs;

        operands[0x69] = adc_imm;
        operands[0x65] = adc_zpg;
        operands[0x75] = adc_zpg_x;
        operands[0x6D] = adc_abs;
        operands[0x7D] = adc_abs_x;
        operands[0x79] = adc_abs_y;
        operands[0x61] = adc_x_ind;
        operands[0x71] = adc_ind_y;

        operands[0xE9] = sbc_imm;
        operands[0xE5] = sbc_zpg;
        operands[0xF5] = sbc_zpg_x;
        operands[0xED] = sbc_abs;
        operands[0xFD] = sbc_abs_x;
        operands[0xF9] = sbc_abs_y;
        operands[0xE1] = sbc_x_ind;
        operands[0xF1] = sbc_ind_y;

        operands[0x29] = and_imm;
        operands[0x25] = and_zpg;
        operands[0x35] = and_zpg_x;
        operands[0x2D] = and_abs;
        operands[0x3D] = and_abs_x;
        operands[0x39] = and_abs_y;
        operands[0x21] = and_x_ind;
        operands[0x31] = and_ind_y;

        operands[0x09] = ora_imm;
        operands[0x05] = ora_zpg;
        operands[0x15] = ora_zpg_x;
        operands[0x0D] = ora_abs;
        operands[0x1D] = ora_abs_x;
        operands[0x19] = ora_abs_y;
        operands[0x01] = ora_x_ind;
        operands[0x11] = ora_ind_y;

        operands[0x49] = eor_imm;
        operands[0x45] = eor_zpg;
        operands[0x55] = eor_zpg_x;
        operands[0x4D] = eor_abs;
        operands[0x5D] = eor_abs_x;
        operands[0x59] = eor_abs_y;
        operands[0x41] = eor_x_ind;
        operands[0x51] = eor_ind_y;

        operands[0xC9] = cmp_imm;
        operands[0xC5] = cmp_zpg;
        operands[0xD5] = cmp_zpg_x;
        operands[0xCD] = cmp_abs;
        operands[0xDD] = cmp_abs_x;
        operands[0xD9] = cmp_abs_y;
        operands[0xC1] = cmp_x_ind;
        operands[0xD1] = cmp_ind_y;

        operands[0xE0] = cpx_imm;
        operands[0xE4] = cpx_zpg;
        operands[0xEC] = cpx_abs;

        operands[0xC0] = cpy_imm;
        operands[0xC4] = cpy_zpg;
        operands[0xCC] = cpy_abs;

        operands[0x48] = pha;
        operands[0x08] = php;
        operands[0x68] = pla;
        operands[0x28] = plp;

        operands[0xAA] = tax;
        operands[0x8A] = txa;
        operands[0xA8] = tay;
        operands[0x98] = tya;
        operands[0xBA] = tsx;
        operands[0x9A] = txs;

        operands[0x0A] = asl_a;
        operands[0x06] = asl_zpg;
        operands[0x16] = asl_zpg_x;
        operands[0x0E] = asl_abs;
        operands[0x1E] = asl_abs_x;

        operands[0x4A] = lsr_a;
        operands[0x46] = lsr_zpg;
        operands[0x56] = lsr_zpg_x;
        operands[0x4E] = lsr_abs;
        operands[0x5E] = lsr_abs_x;

        operands[0x2A] = rol_a;
        operands[0x26] = rol_zpg;
        operands[0x36] = rol_zpg_x;
        operands[0x2E] = rol_abs;
        operands[0x3E] = rol_abs_x;

        operands[0x6A] = ror_a;
        operands[0x66] = ror_zpg;
        operands[0x76] = ror_zpg_x;
        operands[0x6E] = ror_abs;
        operands[0x7E] = ror_abs_x;

        operands[0xC6] = dec_zpg;
        operands[0xD6] = dec_zpg_x;
        operands[0xCE] = dec_abs;
        operands[0xDE] = dec_abs_x;
        operands[0xCA] = dex;
        operands[0x88] = dey;

        operands[0xE6] = inc_zpg;
        operands[0xF6] = inc_zpg_x;
        operands[0xEE] = inc_abs;
        operands[0xFE] = inc_abs_x;
        operands[0xE8] = inx;
        operands[0xC8] = iny;

        operands[0x24] = bit_zpg;
        operands[0x2C] = bit_abs;

        operands[0x18] = clc;
        operands[0x58] = cli;
        operands[0xB8] = clv;
        operands[0x38] = sec;
        operands[0x78] = sei;

        if (isSupportBCD()) {
            operands[0xD8] = cld;
            operands[0xF8] = sed;
        }

        operands[0x10] = bpl_rel;
        operands[0x30] = bmi_rel;
        operands[0x50] = bvc_rel;
        operands[0x70] = bvs_rel;
        operands[0x90] = bcc_rel;
        operands[0xB0] = bcs_rel;
        operands[0xD0] = bne_rel;
        operands[0xF0] = beq_rel;

        operands[0x4C] = jmp_abs;
        operands[0x6C] = jmp_ind;
        operands[0x20] = jsr_abs;
        operands[0x60] = rts;
        operands[0x00] = brk;
        operands[0x40] = rti;

        operands[0xEA] = nop;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x90, %rdi
movl $0x800, %edx            # imm = 0x800
xorl %esi, %esi
callq 0x1080
leaq 0xa09(%rip), %rax       # 0x17d50
movq %rax, 0x5d8(%rbx)
leaq 0xa9b(%rip), %rax       # 0x17df0
movq %rax, 0x5b8(%rbx)
leaq 0xb5d(%rip), %rax       # 0x17ec0
movq %rax, 0x638(%rbx)
leaq 0xc4d(%rip), %rax       # 0x17fbe
movq %rax, 0x5f8(%rbx)
leaq 0xd63(%rip), %rax       # 0x180e2
movq %rax, 0x678(%rbx)
leaq 0xdcd(%rip), %rax       # 0x1815a
movq %rax, 0x658(%rbx)
leaq 0xe37(%rip), %rax       # 0x181d2
movq %rax, 0x598(%rbx)
leaq 0xea1(%rip), %rax       # 0x1824a
movq %rax, 0x618(%rbx)
leaq 0xf0b(%rip), %rax       # 0x182c2
movq %rax, 0x5a0(%rbx)
leaq 0xf9d(%rip), %rax       # 0x18362
movq %rax, 0x5c0(%rbx)
leaq 0x105f(%rip), %rax      # 0x18432
movq %rax, 0x640(%rbx)
leaq 0x114f(%rip), %rax      # 0x18530
movq %rax, 0x600(%rbx)
leaq 0x1265(%rip), %rax      # 0x18654
movq %rax, 0x680(%rbx)
leaq 0x12cf(%rip), %rax      # 0x186cc
movq %rax, 0x590(%rbx)
leaq 0x1361(%rip), %rax      # 0x1876c
movq %rax, 0x5b0(%rbx)
leaq 0x1423(%rip), %rax      # 0x1883c
movq %rax, 0x630(%rbx)
leaq 0x1513(%rip), %rax      # 0x1893a
movq %rax, 0x5f0(%rbx)
leaq 0x1629(%rip), %rax      # 0x18a5e
movq %rax, 0x670(%rbx)
leaq 0x1693(%rip), %rax      # 0x18ad6
movq %rax, 0x4b8(%rbx)
leaq 0x172f(%rip), %rax      # 0x18b80
movq %rax, 0x538(%rbx)
leaq 0x17fb(%rip), %rax      # 0x18c5a
movq %rax, 0x4f8(%rbx)
leaq 0x18eb(%rip), %rax      # 0x18d58
movq %rax, 0x578(%rbx)
leaq 0x1933(%rip), %rax      # 0x18dae
movq %rax, 0x558(%rbx)
leaq 0x197b(%rip), %rax      # 0x18e04
movq %rax, 0x498(%rbx)
leaq 0x19bf(%rip), %rax      # 0x18e56
movq %rax, 0x518(%rbx)
leaq 0x1a07(%rip), %rax      # 0x18eac
movq %rax, 0x4c0(%rbx)
leaq 0x1aa3(%rip), %rax      # 0x18f56
movq %rax, 0x540(%rbx)
leaq 0x1b6f(%rip), %rax      # 0x19030
movq %rax, 0x500(%rbx)
leaq 0x1c5f(%rip), %rax      # 0x1912e
movq %rax, 0x4b0(%rbx)
leaq 0x1cfb(%rip), %rax      # 0x191d8
movq %rax, 0x530(%rbx)
leaq 0x1dc7(%rip), %rax      # 0x192b2
movq %rax, 0x4f0(%rbx)
leaq 0x1eb7(%rip), %rax      # 0x193b0
movq %rax, 0x3d8(%rbx)
leaq 0x1f21(%rip), %rax      # 0x19428
movq %rax, 0x3b8(%rbx)
leaq 0x1fb9(%rip), %rax      # 0x194ce
movq %rax, 0x438(%rbx)
leaq 0x207f(%rip), %rax      # 0x195a2
movq %rax, 0x3f8(%rbx)
leaq 0x216b(%rip), %rax      # 0x1969c
movq %rax, 0x478(%rbx)
leaq 0x21ab(%rip), %rax      # 0x196ea
movq %rax, 0x458(%rbx)
leaq 0x21eb(%rip), %rax      # 0x19738
movq %rax, 0x398(%rbx)
leaq 0x222b(%rip), %rax      # 0x19786
movq %rax, 0x418(%rbx)
leaq 0x226b(%rip), %rax      # 0x197d4
movq %rax, 0x7d8(%rbx)
leaq 0x22d5(%rip), %rax      # 0x1984c
movq %rax, 0x7b8(%rbx)
leaq 0x236d(%rip), %rax      # 0x198f2
movq %rax, 0x838(%rbx)
leaq 0x2433(%rip), %rax      # 0x199c6
movq %rax, 0x7f8(%rbx)
leaq 0x251f(%rip), %rax      # 0x19ac0
movq %rax, 0x878(%rbx)
leaq 0x255f(%rip), %rax      # 0x19b0e
movq %rax, 0x858(%rbx)
leaq 0x259f(%rip), %rax      # 0x19b5c
movq %rax, 0x798(%rbx)
leaq 0x25df(%rip), %rax      # 0x19baa
movq %rax, 0x818(%rbx)
leaq 0x261f(%rip), %rax      # 0x19bf8
movq %rax, 0x1d8(%rbx)
leaq 0x26b7(%rip), %rax      # 0x19c9e
movq %rax, 0x1b8(%rbx)
leaq 0x2781(%rip), %rax      # 0x19d76
movq %rax, 0x238(%rbx)
leaq 0x2877(%rip), %rax      # 0x19e7a
movq %rax, 0x1f8(%rbx)
leaq 0x2995(%rip), %rax      # 0x19fa6
movq %rax, 0x278(%rbx)
leaq 0x2a05(%rip), %rax      # 0x1a024
movq %rax, 0x258(%rbx)
leaq 0x2a75(%rip), %rax      # 0x1a0a2
movq %rax, 0x198(%rbx)
leaq 0x2ae5(%rip), %rax      # 0x1a120
movq %rax, 0x218(%rbx)
leaq 0x2b55(%rip), %rax      # 0x1a19e
movq %rax, 0xd8(%rbx)
leaq 0x2bed(%rip), %rax      # 0x1a244
movq %rax, 0xb8(%rbx)
leaq 0x2cb7(%rip), %rax      # 0x1a31c
movq %rax, 0x138(%rbx)
leaq 0x2dad(%rip), %rax      # 0x1a420
movq %rax, 0xf8(%rbx)
leaq 0x2ecb(%rip), %rax      # 0x1a54c
movq %rax, 0x178(%rbx)
leaq 0x2f3b(%rip), %rax      # 0x1a5ca
movq %rax, 0x158(%rbx)
leaq 0x2fab(%rip), %rax      # 0x1a648
movq %rax, 0x98(%rbx)
leaq 0x301b(%rip), %rax      # 0x1a6c6
movq %rax, 0x118(%rbx)
leaq 0x308b(%rip), %rax      # 0x1a744
movq %rax, 0x2d8(%rbx)
leaq 0x3125(%rip), %rax      # 0x1a7ec
movq %rax, 0x2b8(%rbx)
leaq 0x31ef(%rip), %rax      # 0x1a8c4
movq %rax, 0x338(%rbx)
leaq 0x32e7(%rip), %rax      # 0x1a9ca
movq %rax, 0x2f8(%rbx)
leaq 0x3405(%rip), %rax      # 0x1aaf6
movq %rax, 0x378(%rbx)
leaq 0x3477(%rip), %rax      # 0x1ab76
movq %rax, 0x358(%rbx)
leaq 0x34e9(%rip), %rax      # 0x1abf6
movq %rax, 0x298(%rbx)
leaq 0x355b(%rip), %rax      # 0x1ac76
movq %rax, 0x318(%rbx)
leaq 0x35cd(%rip), %rax      # 0x1acf6
movq %rax, 0x6d8(%rbx)
leaq 0x3661(%rip), %rax      # 0x1ad98
movq %rax, 0x6b8(%rbx)
leaq 0x3727(%rip), %rax      # 0x1ae6c
movq %rax, 0x738(%rbx)
leaq 0x3819(%rip), %rax      # 0x1af6c
movq %rax, 0x6f8(%rbx)
leaq 0x3933(%rip), %rax      # 0x1b094
movq %rax, 0x778(%rbx)
leaq 0x399f(%rip), %rax      # 0x1b10e
movq %rax, 0x758(%rbx)
leaq 0x3a0b(%rip), %rax      # 0x1b188
movq %rax, 0x698(%rbx)
leaq 0x3a77(%rip), %rax      # 0x1b202
movq %rax, 0x718(%rbx)
leaq 0x3ae3(%rip), %rax      # 0x1b27c
movq %rax, 0x790(%rbx)
leaq 0x3b77(%rip), %rax      # 0x1b31e
movq %rax, 0x7b0(%rbx)
leaq 0x3c3d(%rip), %rax      # 0x1b3f2
movq %rax, 0x7f0(%rbx)
leaq 0x3d57(%rip), %rax      # 0x1b51a
movq %rax, 0x690(%rbx)
leaq 0x3deb(%rip), %rax      # 0x1b5bc
movq %rax, 0x6b0(%rbx)
leaq 0x3eb1(%rip), %rax      # 0x1b690
movq %rax, 0x6f0(%rbx)
leaq 0x3fcb(%rip), %rax      # 0x1b7b8
movq %rax, 0x2d0(%rbx)
leaq 0x402f(%rip), %rax      # 0x1b82a
movq %rax, 0xd0(%rbx)
leaq 0x4093(%rip), %rax      # 0x1b89c
movq %rax, 0x3d0(%rbx)
leaq 0x4115(%rip), %rax      # 0x1b92c
movq %rax, 0x1d0(%rbx)
leaq 0x4197(%rip), %rax      # 0x1b9bc
movq %rax, 0x5e0(%rbx)
leaq 0x41e7(%rip), %rax      # 0x1ba1a
movq %rax, 0x4e0(%rbx)
leaq 0x4237(%rip), %rax      # 0x1ba78
movq %rax, 0x5d0(%rbx)
leaq 0x4287(%rip), %rax      # 0x1bad6
movq %rax, 0x550(%rbx)
leaq 0x42d7(%rip), %rax      # 0x1bb34
movq %rax, 0x660(%rbx)
leaq 0x4327(%rip), %rax      # 0x1bb92
movq %rax, 0x560(%rbx)
leaq 0x4359(%rip), %rax      # 0x1bbd2
movq %rax, 0xe0(%rbx)
leaq 0x43b3(%rip), %rax      # 0x1bc3a
movq %rax, 0xc0(%rbx)
leaq 0x44d5(%rip), %rax      # 0x1bd6a
movq %rax, 0x140(%rbx)
leaq 0x461f(%rip), %rax      # 0x1bec2
movq %rax, 0x100(%rbx)
leaq 0x4789(%rip), %rax      # 0x1c03a
movq %rax, 0x180(%rbx)
leaq 0x4857(%rip), %rax      # 0x1c116
movq %rax, 0x2e0(%rbx)
leaq 0x48cf(%rip), %rax      # 0x1c19c
movq %rax, 0x2c0(%rbx)
leaq 0x4a0d(%rip), %rax      # 0x1c2e8
movq %rax, 0x340(%rbx)
leaq 0x4b73(%rip), %rax      # 0x1c45c
movq %rax, 0x300(%rbx)
leaq 0x4cf9(%rip), %rax      # 0x1c5f0
movq %rax, 0x380(%rbx)
leaq 0x4de3(%rip), %rax      # 0x1c6e8
movq %rax, 0x1e0(%rbx)
leaq 0x4e69(%rip), %rax      # 0x1c77c
movq %rax, 0x1c0(%rbx)
leaq 0x4fa9(%rip), %rax      # 0x1c8ca
movq %rax, 0x240(%rbx)
leaq 0x5111(%rip), %rax      # 0x1ca40
movq %rax, 0x200(%rbx)
leaq 0x5299(%rip), %rax      # 0x1cbd6
movq %rax, 0x280(%rbx)
leaq 0x5385(%rip), %rax      # 0x1ccd0
movq %rax, 0x3e0(%rbx)
leaq 0x5405(%rip), %rax      # 0x1cd5e
movq %rax, 0x3c0(%rbx)
leaq 0x554d(%rip), %rax      # 0x1ceb4
movq %rax, 0x440(%rbx)
leaq 0x56bb(%rip), %rax      # 0x1d030
movq %rax, 0x400(%rbx)
leaq 0x5849(%rip), %rax      # 0x1d1cc
movq %rax, 0x480(%rbx)
leaq 0x593d(%rip), %rax      # 0x1d2ce
movq %rax, 0x6c0(%rbx)
leaq 0x5a57(%rip), %rax      # 0x1d3f6
movq %rax, 0x740(%rbx)
leaq 0x5b97(%rip), %rax      # 0x1d544
movq %rax, 0x700(%rbx)
leaq 0x5cf7(%rip), %rax      # 0x1d6b2
movq %rax, 0x780(%rbx)
leaq 0x5dbd(%rip), %rax      # 0x1d786
movq %rax, 0x6e0(%rbx)
leaq 0x5e13(%rip), %rax      # 0x1d7ea
movq %rax, 0x4d0(%rbx)
leaq 0x5e69(%rip), %rax      # 0x1d84e
movq %rax, 0x7c0(%rbx)
leaq 0x5f83(%rip), %rax      # 0x1d976
movq %rax, 0x840(%rbx)
leaq 0x60c3(%rip), %rax      # 0x1dac4
movq %rax, 0x800(%rbx)
leaq 0x6223(%rip), %rax      # 0x1dc32
movq %rax, 0x880(%rbx)
leaq 0x62e9(%rip), %rax      # 0x1dd06
movq %rax, 0x7d0(%rbx)
leaq 0x633d(%rip), %rax      # 0x1dd68
movq %rax, 0x6d0(%rbx)
leaq 0x6391(%rip), %rax      # 0x1ddca
movq %rax, 0x1b0(%rbx)
leaq 0x6451(%rip), %rax      # 0x1de98
movq %rax, 0x1f0(%rbx)
leaq 0x6565(%rip), %rax      # 0x1dfba
movq %rax, 0x150(%rbx)
leaq 0x6591(%rip), %rax      # 0x1dff4
movq %rax, 0x350(%rbx)
leaq 0x65bd(%rip), %rax      # 0x1e02e
movq %rax, 0x650(%rbx)
leaq 0x65e9(%rip), %rax      # 0x1e068
movq %rax, 0x250(%rbx)
leaq 0x6615(%rip), %rax      # 0x1e0a2
movq %rax, 0x450(%rbx)
cmpl $0x0, 0x890(%rbx)
jne 0x17ab9
leaq 0x6638(%rip), %rax      # 0x1e0dc
movq %rax, 0x750(%rbx)
leaq 0x6664(%rip), %rax      # 0x1e116
movq %rax, 0x850(%rbx)
leaq 0x6690(%rip), %rax      # 0x1e150
movq %rax, 0x110(%rbx)
leaq 0x66a0(%rip), %rax      # 0x1e16e
movq %rax, 0x210(%rbx)
leaq 0x66b0(%rip), %rax      # 0x1e18c
movq %rax, 0x310(%rbx)
leaq 0x66c0(%rip), %rax      # 0x1e1aa
movq %rax, 0x410(%rbx)
leaq 0x66d2(%rip), %rax      # 0x1e1ca
movq %rax, 0x510(%rbx)
leaq 0x66e2(%rip), %rax      # 0x1e1e8
movq %rax, 0x610(%rbx)
leaq 0x66f0(%rip), %rax      # 0x1e204
movq %rax, 0x710(%rbx)
leaq 0x6700(%rip), %rax      # 0x1e222
movq %rax, 0x810(%rbx)
leaq 0x6710(%rip), %rax      # 0x1e240
movq %rax, 0x2f0(%rbx)
leaq 0x67d6(%rip), %rax      # 0x1e314
movq %rax, 0x3f0(%rbx)
leaq 0x690a(%rip), %rax      # 0x1e456
movq %rax, 0x190(%rbx)
leaq 0x6a66(%rip), %rax      # 0x1e5c0
movq %rax, 0x390(%rbx)
leaq 0x6b56(%rip), %rax      # 0x1e6be
movq %rax, 0x90(%rbx)
leaq 0x6bae(%rip), %rax      # 0x1e724
movq %rax, 0x290(%rbx)
leaq 0x6cd2(%rip), %rax      # 0x1e856
movq %rax, 0x7e0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq