// File: /workspace/github_cpp_makefile_star2_O2/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 0x10a0
leaq 0x90f(%rip), %rax       # 0x12c14
movq %rax, 0x5d8(%rbx)
leaq 0x921(%rip), %rax       # 0x12c34
movq %rax, 0x5b8(%rbx)
leaq 0x935(%rip), %rax       # 0x12c56
movq %rax, 0x638(%rbx)
leaq 0x949(%rip), %rax       # 0x12c78
movq %rax, 0x5f8(%rbx)
leaq 0x95d(%rip), %rax       # 0x12c9a
movq %rax, 0x678(%rbx)
leaq 0x973(%rip), %rax       # 0x12cbe
movq %rax, 0x658(%rbx)
leaq 0x989(%rip), %rax       # 0x12ce2
movq %rax, 0x598(%rbx)
leaq 0x99d(%rip), %rax       # 0x12d04
movq %rax, 0x618(%rbx)
leaq 0x9b3(%rip), %rax       # 0x12d28
movq %rax, 0x5a0(%rbx)
leaq 0x9c5(%rip), %rax       # 0x12d48
movq %rax, 0x5c0(%rbx)
leaq 0x9d9(%rip), %rax       # 0x12d6a
movq %rax, 0x640(%rbx)
leaq 0x9ed(%rip), %rax       # 0x12d8c
movq %rax, 0x600(%rbx)
leaq 0xa01(%rip), %rax       # 0x12dae
movq %rax, 0x680(%rbx)
leaq 0xa17(%rip), %rax       # 0x12dd2
movq %rax, 0x590(%rbx)
leaq 0xa29(%rip), %rax       # 0x12df2
movq %rax, 0x5b0(%rbx)
leaq 0xa3d(%rip), %rax       # 0x12e14
movq %rax, 0x630(%rbx)
leaq 0xa51(%rip), %rax       # 0x12e36
movq %rax, 0x5f0(%rbx)
leaq 0xa65(%rip), %rax       # 0x12e58
movq %rax, 0x670(%rbx)
leaq 0xa7b(%rip), %rax       # 0x12e7c
movq %rax, 0x4b8(%rbx)
leaq 0xa8d(%rip), %rax       # 0x12e9c
movq %rax, 0x538(%rbx)
leaq 0xa9f(%rip), %rax       # 0x12ebc
movq %rax, 0x4f8(%rbx)
leaq 0xab1(%rip), %rax       # 0x12edc
movq %rax, 0x578(%rbx)
leaq 0xac5(%rip), %rax       # 0x12efe
movq %rax, 0x558(%rbx)
leaq 0xad9(%rip), %rax       # 0x12f20
movq %rax, 0x498(%rbx)
leaq 0xaeb(%rip), %rax       # 0x12f40
movq %rax, 0x518(%rbx)
leaq 0xaff(%rip), %rax       # 0x12f62
movq %rax, 0x4c0(%rbx)
leaq 0xb11(%rip), %rax       # 0x12f82
movq %rax, 0x540(%rbx)
leaq 0xb23(%rip), %rax       # 0x12fa2
movq %rax, 0x500(%rbx)
leaq 0xb35(%rip), %rax       # 0x12fc2
movq %rax, 0x4b0(%rbx)
leaq 0xb47(%rip), %rax       # 0x12fe2
movq %rax, 0x530(%rbx)
leaq 0xb59(%rip), %rax       # 0x13002
movq %rax, 0x4f0(%rbx)
leaq 0xb6b(%rip), %rax       # 0x13022
movq %rax, 0x3d8(%rbx)
leaq 0xb7d(%rip), %rax       # 0x13042
movq %rax, 0x3b8(%rbx)
leaq 0xb91(%rip), %rax       # 0x13064
movq %rax, 0x438(%rbx)
leaq 0xba5(%rip), %rax       # 0x13086
movq %rax, 0x3f8(%rbx)
leaq 0xbb9(%rip), %rax       # 0x130a8
movq %rax, 0x478(%rbx)
leaq 0xbcf(%rip), %rax       # 0x130cc
movq %rax, 0x458(%rbx)
leaq 0xbe5(%rip), %rax       # 0x130f0
movq %rax, 0x398(%rbx)
leaq 0xbf9(%rip), %rax       # 0x13112
movq %rax, 0x418(%rbx)
leaq 0xc0f(%rip), %rax       # 0x13136
movq %rax, 0x7d8(%rbx)
leaq 0xc21(%rip), %rax       # 0x13156
movq %rax, 0x7b8(%rbx)
leaq 0xc35(%rip), %rax       # 0x13178
movq %rax, 0x838(%rbx)
leaq 0xc49(%rip), %rax       # 0x1319a
movq %rax, 0x7f8(%rbx)
leaq 0xc5d(%rip), %rax       # 0x131bc
movq %rax, 0x878(%rbx)
leaq 0xc73(%rip), %rax       # 0x131e0
movq %rax, 0x858(%rbx)
leaq 0xc89(%rip), %rax       # 0x13204
movq %rax, 0x798(%rbx)
leaq 0xc9d(%rip), %rax       # 0x13226
movq %rax, 0x818(%rbx)
leaq 0xcb3(%rip), %rax       # 0x1324a
movq %rax, 0x1d8(%rbx)
leaq 0xcc5(%rip), %rax       # 0x1326a
movq %rax, 0x1b8(%rbx)
leaq 0xcd9(%rip), %rax       # 0x1328c
movq %rax, 0x238(%rbx)
leaq 0xced(%rip), %rax       # 0x132ae
movq %rax, 0x1f8(%rbx)
leaq 0xd01(%rip), %rax       # 0x132d0
movq %rax, 0x278(%rbx)
leaq 0xd17(%rip), %rax       # 0x132f4
movq %rax, 0x258(%rbx)
leaq 0xd2d(%rip), %rax       # 0x13318
movq %rax, 0x198(%rbx)
leaq 0xd41(%rip), %rax       # 0x1333a
movq %rax, 0x218(%rbx)
leaq 0xd57(%rip), %rax       # 0x1335e
movq %rax, 0xd8(%rbx)
leaq 0xd69(%rip), %rax       # 0x1337e
movq %rax, 0xb8(%rbx)
leaq 0xd7d(%rip), %rax       # 0x133a0
movq %rax, 0x138(%rbx)
leaq 0xd91(%rip), %rax       # 0x133c2
movq %rax, 0xf8(%rbx)
leaq 0xda5(%rip), %rax       # 0x133e4
movq %rax, 0x178(%rbx)
leaq 0xdbb(%rip), %rax       # 0x13408
movq %rax, 0x158(%rbx)
leaq 0xdd1(%rip), %rax       # 0x1342c
movq %rax, 0x98(%rbx)
leaq 0xde5(%rip), %rax       # 0x1344e
movq %rax, 0x118(%rbx)
leaq 0xdfb(%rip), %rax       # 0x13472
movq %rax, 0x2d8(%rbx)
leaq 0xe0d(%rip), %rax       # 0x13492
movq %rax, 0x2b8(%rbx)
leaq 0xe21(%rip), %rax       # 0x134b4
movq %rax, 0x338(%rbx)
leaq 0xe35(%rip), %rax       # 0x134d6
movq %rax, 0x2f8(%rbx)
leaq 0xe49(%rip), %rax       # 0x134f8
movq %rax, 0x378(%rbx)
leaq 0xe5f(%rip), %rax       # 0x1351c
movq %rax, 0x358(%rbx)
leaq 0xe75(%rip), %rax       # 0x13540
movq %rax, 0x298(%rbx)
leaq 0xe89(%rip), %rax       # 0x13562
movq %rax, 0x318(%rbx)
leaq 0xe9f(%rip), %rax       # 0x13586
movq %rax, 0x6d8(%rbx)
leaq 0xeb1(%rip), %rax       # 0x135a6
movq %rax, 0x6b8(%rbx)
leaq 0xec5(%rip), %rax       # 0x135c8
movq %rax, 0x738(%rbx)
leaq 0xed9(%rip), %rax       # 0x135ea
movq %rax, 0x6f8(%rbx)
leaq 0xeed(%rip), %rax       # 0x1360c
movq %rax, 0x778(%rbx)
leaq 0xf03(%rip), %rax       # 0x13630
movq %rax, 0x758(%rbx)
leaq 0xf19(%rip), %rax       # 0x13654
movq %rax, 0x698(%rbx)
leaq 0xf2d(%rip), %rax       # 0x13676
movq %rax, 0x718(%rbx)
leaq 0xf43(%rip), %rax       # 0x1369a
movq %rax, 0x790(%rbx)
leaq 0xf55(%rip), %rax       # 0x136ba
movq %rax, 0x7b0(%rbx)
leaq 0xf69(%rip), %rax       # 0x136dc
movq %rax, 0x7f0(%rbx)
leaq 0xf7d(%rip), %rax       # 0x136fe
movq %rax, 0x690(%rbx)
leaq 0xf8f(%rip), %rax       # 0x1371e
movq %rax, 0x6b0(%rbx)
leaq 0xfa3(%rip), %rax       # 0x13740
movq %rax, 0x6f0(%rbx)
leaq 0xfb7(%rip), %rax       # 0x13762
movq %rax, 0x2d0(%rbx)
leaq 0xfc1(%rip), %rax       # 0x1377a
movq %rax, 0xd0(%rbx)
leaq 0xfcb(%rip), %rax       # 0x13792
movq %rax, 0x3d0(%rbx)
leaq 0xfd5(%rip), %rax       # 0x137aa
movq %rax, 0x1d0(%rbx)
leaq 0xfdf(%rip), %rax       # 0x137c2
movq %rax, 0x5e0(%rbx)
leaq 0xff7(%rip), %rax       # 0x137e8
movq %rax, 0x4e0(%rbx)
leaq 0x100f(%rip), %rax      # 0x1380e
movq %rax, 0x5d0(%rbx)
leaq 0x1027(%rip), %rax      # 0x13834
movq %rax, 0x550(%rbx)
leaq 0x103f(%rip), %rax      # 0x1385a
movq %rax, 0x660(%rbx)
leaq 0x1057(%rip), %rax      # 0x13880
movq %rax, 0x560(%rbx)
leaq 0x106b(%rip), %rax      # 0x138a2
movq %rax, 0xe0(%rbx)
leaq 0x107f(%rip), %rax      # 0x138c4
movq %rax, 0xc0(%rbx)
leaq 0x10b7(%rip), %rax      # 0x1390a
movq %rax, 0x140(%rbx)
leaq 0x10ef(%rip), %rax      # 0x13950
movq %rax, 0x100(%rbx)
leaq 0x1127(%rip), %rax      # 0x13996
movq %rax, 0x180(%rbx)
leaq 0x1161(%rip), %rax      # 0x139de
movq %rax, 0x2e0(%rbx)
leaq 0x1175(%rip), %rax      # 0x13a00
movq %rax, 0x2c0(%rbx)
leaq 0x11ad(%rip), %rax      # 0x13a46
movq %rax, 0x340(%rbx)
leaq 0x11e5(%rip), %rax      # 0x13a8c
movq %rax, 0x300(%rbx)
leaq 0x121d(%rip), %rax      # 0x13ad2
movq %rax, 0x380(%rbx)
leaq 0x1257(%rip), %rax      # 0x13b1a
movq %rax, 0x1e0(%rbx)
leaq 0x126b(%rip), %rax      # 0x13b3c
movq %rax, 0x1c0(%rbx)
leaq 0x12a3(%rip), %rax      # 0x13b82
movq %rax, 0x240(%rbx)
leaq 0x12db(%rip), %rax      # 0x13bc8
movq %rax, 0x200(%rbx)
leaq 0x1313(%rip), %rax      # 0x13c0e
movq %rax, 0x280(%rbx)
leaq 0x134d(%rip), %rax      # 0x13c56
movq %rax, 0x3e0(%rbx)
leaq 0x1361(%rip), %rax      # 0x13c78
movq %rax, 0x3c0(%rbx)
leaq 0x1399(%rip), %rax      # 0x13cbe
movq %rax, 0x440(%rbx)
leaq 0x13d1(%rip), %rax      # 0x13d04
movq %rax, 0x400(%rbx)
leaq 0x1409(%rip), %rax      # 0x13d4a
movq %rax, 0x480(%rbx)
leaq 0x1443(%rip), %rax      # 0x13d92
movq %rax, 0x6c0(%rbx)
leaq 0x1481(%rip), %rax      # 0x13dde
movq %rax, 0x740(%rbx)
leaq 0x14bf(%rip), %rax      # 0x13e2a
movq %rax, 0x700(%rbx)
leaq 0x14fd(%rip), %rax      # 0x13e76
movq %rax, 0x780(%rbx)
leaq 0x153f(%rip), %rax      # 0x13ec6
movq %rax, 0x6e0(%rbx)
leaq 0x155b(%rip), %rax      # 0x13ef0
movq %rax, 0x4d0(%rbx)
leaq 0x1577(%rip), %rax      # 0x13f1a
movq %rax, 0x7c0(%rbx)
leaq 0x15b5(%rip), %rax      # 0x13f66
movq %rax, 0x840(%rbx)
leaq 0x15f3(%rip), %rax      # 0x13fb2
movq %rax, 0x800(%rbx)
leaq 0x1631(%rip), %rax      # 0x13ffe
movq %rax, 0x880(%rbx)
leaq 0x1673(%rip), %rax      # 0x1404e
movq %rax, 0x7d0(%rbx)
leaq 0x168f(%rip), %rax      # 0x14078
movq %rax, 0x6d0(%rbx)
leaq 0x16ab(%rip), %rax      # 0x140a2
movq %rax, 0x1b0(%rbx)
leaq 0x16bf(%rip), %rax      # 0x140c4
movq %rax, 0x1f0(%rbx)
leaq 0x16d3(%rip), %rax      # 0x140e6
movq %rax, 0x150(%rbx)
leaq 0x16d7(%rip), %rax      # 0x140f8
movq %rax, 0x350(%rbx)
leaq 0x16db(%rip), %rax      # 0x1410a
movq %rax, 0x650(%rbx)
leaq 0x16df(%rip), %rax      # 0x1411c
movq %rax, 0x250(%rbx)
leaq 0x16e3(%rip), %rax      # 0x1412e
movq %rax, 0x450(%rbx)
cmpl $0x0, 0x890(%rbx)
jne 0x12a77
leaq 0x16de(%rip), %rax      # 0x14140
movq %rax, 0x750(%rbx)
leaq 0x16e2(%rip), %rax      # 0x14152
movq %rax, 0x850(%rbx)
leaq 0x16e6(%rip), %rax      # 0x14164
movq %rax, 0x110(%rbx)
leaq 0x16f6(%rip), %rax      # 0x14182
movq %rax, 0x210(%rbx)
leaq 0x1706(%rip), %rax      # 0x141a0
movq %rax, 0x310(%rbx)
leaq 0x1716(%rip), %rax      # 0x141be
movq %rax, 0x410(%rbx)
leaq 0x1728(%rip), %rax      # 0x141de
movq %rax, 0x510(%rbx)
leaq 0x1738(%rip), %rax      # 0x141fc
movq %rax, 0x610(%rbx)
leaq 0x1746(%rip), %rax      # 0x14218
movq %rax, 0x710(%rbx)
leaq 0x1756(%rip), %rax      # 0x14236
movq %rax, 0x810(%rbx)
leaq 0x1766(%rip), %rax      # 0x14254
movq %rax, 0x2f0(%rbx)
leaq 0x17ba(%rip), %rax      # 0x142b6
movq %rax, 0x3f0(%rbx)
leaq 0x1842(%rip), %rax      # 0x1434c
movq %rax, 0x190(%rbx)
leaq 0x18bc(%rip), %rax      # 0x143d4
movq %rax, 0x390(%rbx)
leaq 0x1918(%rip), %rax      # 0x1443e
movq %rax, 0x90(%rbx)
leaq 0x1940(%rip), %rax      # 0x14474
movq %rax, 0x290(%rbx)
leaq 0x1992(%rip), %rax      # 0x144d4
movq %rax, 0x7e0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq