//////////////////////
// Constants:
//////////////////////
// ADC: 0x69; 0x65; 0x75; 0x6d; 0x7d; 0x79; 0x61; 0x71
static const byte ADC_IMMEDIATE = 0x69;
static const byte ADC_ZERO_PAGE = 0x65;
static const byte ADC_ZERO_PAGE_X = 0x75;
static const byte ADC_ABSOLUTE = 0x6d;
static const byte ADC_ABSOLUTE_X = 0x7d;
static const byte ADC_ABSOLUTE_Y = 0x79;
static const byte ADC_INDIRECT_X = 0x61;
static const byte ADC_INDIRECT_Y = 0x71;
// AND: 0x29; 0x25; 0x35; 0x2d; 0x3d; 0x39; 0x21; 0x31
static const byte AND_IMMEDIATE = 0x29;
static const byte AND_ZERO_PAGE = 0x25;
static const byte AND_ZERO_PAGE_X = 0x35;
static const byte AND_ABSOLUTE = 0x2d;
static const byte AND_ABSOLUTE_X = 0x3d;
static const byte AND_ABSOLUTE_Y = 0x39;
static const byte AND_INDIRECT_X = 0x21;
static const byte AND_INDIRECT_Y = 0x31;
// ASL: 0x0a; 0x06; 0x16; 0x0e; 0x1e
static const byte ASL_ACCUMULATOR = 0x0a;
static const byte ASL_ZERO_PAGE = 0x06;
static const byte ASL_ZERO_PAGE_X = 0x16;
static const byte ASL_ABSOLUTE = 0x0e;
static const byte ASL_ABSOLUTE_X = 0x1e;
// BCC: 0x90
static const byte BCC_RELATIVE = 0x90;
// BCS: 0xb0
static const byte BCS_RELATIVE = 0xb0;
// BEQ: 0xf0
static const byte BEQ_RELATIVE = 0xf0;
// BIT: 0x24; 0x2c
static const byte BIT_ZERO_PAGE = 0x24;
static const byte BIT_ABSOLUTE = 0x2c;
// BMI: 0x30
static const byte BMI_RELATIVE = 0x30;
// BNE: 0xd0
static const byte BNE_RELATIVE = 0xd0;
// BPL: 0x10
static const byte BPL_RELATIVE = 0x10;
// BRK: 0x00
static const byte BRK_IMPLIED = 0x00;
// BVC: 0x50
static const byte BVC_RELATIVE = 0x50;
// BVS: 0x70
static const byte BVS_RELATIVE = 0x70;
// CLC: 0x18
static const byte CLC_IMPLIED = 0x18;
// CLD: 0xd8
static const byte CLD_IMPLIED = 0xd8;
// CLI: 0x58
static const byte CLI_IMPLIED = 0x58;
// CLV: 0xb8
static const byte CLV_IMPLIED = 0xb8;
// CMP: 0xc9; 0xc5; 0xd5; 0xcd; 0xdd; 0xd9; 0xc1; 0xd1
static const byte CMP_IMMEDIATE = 0xc9;
static const byte CMP_ZERO_PAGE = 0xc5;
static const byte CMP_ZERO_PAGE_X = 0xd5;
static const byte CMP_ABSOLUTE = 0xcd;
static const byte CMP_ABSOLUTE_X = 0xdd;
static const byte CMP_ABSOLUTE_Y = 0xd9;
static const byte CMP_INDIRECT_X = 0xc1;
static const byte CMP_INDIRECT_Y = 0xd1;
// CPX: 0xe0; 0xe4; 0xec
static const byte CPX_IMMEDIATE = 0xe0;
static const byte CPX_ZERO_PAGE = 0xe4;
static const byte CPX_ABSOLUTE = 0xec;
// CPY: 0xc0; 0xc4; 0xcc
static const byte CPY_IMMEDIATE = 0xc0;
static const byte CPY_ZERO_PAGE = 0xc4;
static const byte CPY_ABSOLUTE = 0xcc;
// DEC: 0xc6; 0xd6; 0xce; 0xde
static const byte DEC_ZERO_PAGE = 0xc6;
static const byte DEC_ZERO_PAGE_X = 0xd6;
static const byte DEC_ABSOLUTE = 0xce;
static const byte DEC_ABSOLUTE_X = 0xde;
// DEX: 0xca;
static const byte DEX_IMPLIED = 0xca;
// DEY: 0x88;
static const byte DEY_IMPLIED = 0x88;
// EOR: 0x49; 0x45; 0x55; 0x4d; 0x5d; 0x59; 0x41; 0x51
static const byte EOR_IMMEDIATE = 0x49;
static const byte EOR_ZERO_PAGE = 0x45;
static const byte EOR_ZERO_PAGE_X = 0x55;
static const byte EOR_ABSOLUTE = 0x4d;
static const byte EOR_ABSOLUTE_X = 0x5d;
static const byte EOR_ABSOLUTE_Y = 0x59;
static const byte EOR_INDIRECT_X = 0x41;
static const byte EOR_INDIRECT_Y = 0x51;
// INC: 0xe6; 0xf6; 0xee; 0xfe
static const byte INC_ZERO_PAGE = 0xe6;
static const byte INC_ZERO_PAGE_X = 0xf6;
static const byte INC_ABSOLUTE = 0xee;
static const byte INC_ABSOLUTE_X = 0xfe;
// INX: 0xe8
static const byte INX_IMPLIED = 0xe8;
// INY: 0xc8
static const byte INY_IMPLIED = 0xc8;
// JMP: 0x4c; 0x6c
static const byte JMP_ABSOLUTE = 0x4c;
static const byte JMP_INDIRECT = 0x6c;
// JSR: 0x20
static const byte JSR_ABSOLUTE = 0x20;
// LDA: 0xa9; 0xa5; 0xb5; 0xad; 0xbd; 0xb9; 0xa1; 0xb1
static const byte LDA_IMMEDIATE = 0xa9;
static const byte LDA_ZERO_PAGE = 0xa5;
static const byte LDA_ZERO_PAGE_X = 0xb5;
static const byte LDA_ABSOLUTE = 0xad;
static const byte LDA_ABSOLUTE_X = 0xbd;
static const byte LDA_ABSOLUTE_Y = 0xb9;
static const byte LDA_INDIRECT_X = 0xa1;
static const byte LDA_INDIRECT_Y = 0xb1;
// LDX: 0xa2; 0xa6; 0xb6; 0xae; 0xbe
static const byte LDX_IMMEDIATE = 0xa2;
static const byte LDX_ZERO_PAGE = 0xa6;
static const byte LDX_ZERO_PAGE_Y = 0xb6;
static const byte LDX_ABSOLUTE = 0xae;
static const byte LDX_ABSOLUTE_Y = 0xbe;
// LDY: 0xa0; 0xa4; 0xb4; 0xac; 0xbc
static const byte LDY_IMMEDIATE = 0xa0;
static const byte LDY_ZERO_PAGE = 0xa4;
static const byte LDY_ZERO_PAGE_X = 0xb4;
static const byte LDY_ABSOLUTE = 0xac;
static const byte LDY_ABSOLUTE_X = 0xbc;
// LSR: 0x4a; 0x46; 0x56; 0x4e; 0x5e
static const byte LSR_ACCUMULATOR = 0x4a;
static const byte LSR_ZERO_PAGE = 0x46;
static const byte LSR_ZERO_PAGE_X = 0x56;
static const byte LSR_ABSOLUTE = 0x4e;
static const byte LSR_ABSOLUTE_X = 0x5e;
// NOP: 0xea
static const byte NOP_IMPLIED = 0xea;
// ORA: 0x09; 0x05; 0x15; 0x0d; 0x1d; 0x19; 0x01; 0x11
static const byte ORA_IMMEDIATE = 0x09;
static const byte ORA_ZERO_PAGE = 0x05;
static const byte ORA_ZERO_PAGE_X = 0x15;
static const byte ORA_ABSOLUTE = 0x0d;
static const byte ORA_ABSOLUTE_X = 0x1d;
static const byte ORA_ABSOLUTE_Y = 0x19;
static const byte ORA_INDIRECT_X = 0x01;
static const byte ORA_INDIRECT_Y = 0x11;
// PHA: 0x48
static const byte PHA_IMPLIED = 0x48;
// PHP: 0x08
static const byte PHP_IMPLIED = 0x08;
// PLA: 0x68
static const byte PLA_IMPLIED = 0x68;
// PLP: 0x28
static const byte PLP_IMPLIED = 0x28;
// ROL: 0x2a; 0x26; 0x36; 0x2e; 0x3e;
static const byte ROL_ACCUMULATOR = 0x2a;
static const byte ROL_ZERO_PAGE = 0x26;
static const byte ROL_ZERO_PAGE_X = 0x36;
static const byte ROL_ABSOLUTE = 0x2e;
static const byte ROL_ABSOLUTE_X = 0x3e;
// ROR: 0x6a; 0x66; 0x76; 0x6e; 0x7e;
static const byte ROR_ACCUMULATOR = 0x6a;
static const byte ROR_ZERO_PAGE = 0x66;
static const byte ROR_ZERO_PAGE_X = 0x76;
static const byte ROR_ABSOLUTE = 0x6e;
static const byte ROR_ABSOLUTE_X = 0x7e;
// RTI: 0x40
static const byte RTI_IMPLIED = 0x40;
// RTS: 0x60
static const byte RTS_IMPLIED = 0x60;
// SBC: 0xe9; 0xe5; 0xf5; 0xed; 0xfd; 0xf9; 0xe1; 0xf1
static const byte SBC_IMMEDIATE = 0xe9;
static const byte SBC_ZERO_PAGE = 0xe5;
static const byte SBC_ZERO_PAGE_X = 0xf5;
static const byte SBC_ABSOLUTE = 0xed;
static const byte SBC_ABSOLUTE_X = 0xfd;
static const byte SBC_ABSOLUTE_Y = 0xf9;
static const byte SBC_INDIRECT_X = 0xe1;
static const byte SBC_INDIRECT_Y = 0xf1;
// SEC: 0x38
static const byte SEC_IMPLIED = 0x38;
// SED: 0xf8
static const byte SED_IMPLIED = 0xf8;
// SEI: 0x78
static const byte SEI_IMPLIED = 0x78;
// STA: 0x85; 0x95; 0x8d; 0x9d; 0x99; 0x81; 0x91
static const byte STA_ZERO_PAGE = 0x85;
static const byte STA_ZERO_PAGE_X = 0x95;
static const byte STA_ABSOLUTE = 0x8d;
static const byte STA_ABSOLUTE_X = 0x9d;
static const byte STA_ABSOLUTE_Y = 0x99;
static const byte STA_INDIRECT_X = 0x81;
static const byte STA_INDIRECT_Y = 0x91;
// STX: 0x86; 0x96; 0x8e
static const byte STX_ZERO_PAGE = 0x86;
static const byte STX_ZERO_PAGE_Y = 0x96;
static const byte STX_ABSOLUTE = 0x8e;
// STY: 0x84; 0x94; 0x8c
static const byte STY_ZERO_PAGE = 0x84;
static const byte STY_ZERO_PAGE_X = 0x94;
static const byte STY_ABSOLUTE = 0x8c;
// TAX: 0xaa
static const byte TAX_IMPLIED = 0xaa;
// TAY: 0xa8
static const byte TAY_IMPLIED = 0xa8;
// TSX: 0xba
static const byte TSX_IMPLIED = 0xba;
// TXA: 0x8a
static const byte TXA_IMPLIED = 0x8a;
// TXS: 0x9a
static const byte TXS_IMPLIED = 0x9a;
// TYA: 0x98
static const byte TYA_IMPLIED = 0x98;