<commit_before>#include "CPU.h"

void CPU::execute_opcode(const uint8_t opcode) {
    switch (opcode) {
        case 0x00:
            opcode_00();
        case 0x01:
            opcode_01();
        case 0x02:
            opcode_02();
        case 0x03:
            opcode_03();
        case 0x04:
            opcode_04();
        case 0x05:
            opcode_05();
        case 0x06:
            opcode_06();
        case 0x07:
            opcode_07();
        case 0x08:
            opcode_08();
        case 0x09:
            opcode_09();
        case 0x0A:
            opcode_0A();
        case 0x0B:
            opcode_0B();
        case 0x0C:
            opcode_0C();
        case 0x0D:
            opcode_0D();
        case 0x0E:
            opcode_0E();
        case 0x0F:
            opcode_0F();
        case 0x10:
            opcode_10();
        case 0x11:
            opcode_11();
        case 0x12:
            opcode_12();
        case 0x13:
            opcode_13();
        case 0x14:
            opcode_14();
        case 0x15:
            opcode_15();
        case 0x16:
            opcode_16();
        case 0x17:
            opcode_17();
        case 0x18:
            opcode_18();
        case 0x19:
            opcode_19();
        case 0x1A:
            opcode_1A();
        case 0x1B:
            opcode_1B();
        case 0x1C:
            opcode_1C();
        case 0x1D:
            opcode_1D();
        case 0x1E:
            opcode_1E();
        case 0x1F:
            opcode_1F();
        case 0x20:
            opcode_20();
        case 0x21:
            opcode_21();
        case 0x22:
            opcode_22();
        case 0x23:
            opcode_23();
        case 0x24:
            opcode_24();
        case 0x25:
            opcode_25();
        case 0x26:
            opcode_26();
        case 0x27:
            opcode_27();
        case 0x28:
            opcode_28();
        case 0x29:
            opcode_29();
        case 0x2A:
            opcode_2A();
        case 0x2B:
            opcode_2B();
        case 0x2C:
            opcode_2C();
        case 0x2D:
            opcode_2D();
        case 0x2E:
            opcode_2E();
        case 0x2F:
            opcode_2F();
        case 0x30:
            opcode_30();
        case 0x31:
            opcode_31();
        case 0x32:
            opcode_32();
        case 0x33:
            opcode_33();
        case 0x34:
            opcode_34();
        case 0x35:
            opcode_35();
        case 0x36:
            opcode_36();
        case 0x37:
            opcode_37();
        case 0x38:
            opcode_38();
        case 0x39:
            opcode_39();
        case 0x3A:
            opcode_3A();
        case 0x3B:
            opcode_3B();
        case 0x3C:
            opcode_3C();
        case 0x3D:
            opcode_3D();
        case 0x3E:
            opcode_3E();
        case 0x3F:
            opcode_3F();
        case 0x40:
            opcode_40();
        case 0x41:
            opcode_41();
        case 0x42:
            opcode_42();
        case 0x43:
            opcode_43();
        case 0x44:
            opcode_44();
        case 0x45:
            opcode_45();
        case 0x46:
            opcode_46();
        case 0x47:
            opcode_47();
        case 0x48:
            opcode_48();
        case 0x49:
            opcode_49();
        case 0x4A:
            opcode_4A();
        case 0x4B:
            opcode_4B();
        case 0x4C:
            opcode_4C();
        case 0x4D:
            opcode_4D();
        case 0x4E:
            opcode_4E();
        case 0x4F:
            opcode_4F();
        case 0x50:
            opcode_50();
        case 0x51:
            opcode_51();
        case 0x52:
            opcode_52();
        case 0x53:
            opcode_53();
        case 0x54:
            opcode_54();
        case 0x55:
            opcode_55();
        case 0x56:
            opcode_56();
        case 0x57:
            opcode_57();
        case 0x58:
            opcode_58();
        case 0x59:
            opcode_59();
        case 0x5A:
            opcode_5A();
        case 0x5B:
            opcode_5B();
        case 0x5C:
            opcode_5C();
        case 0x5D:
            opcode_5D();
        case 0x5E:
            opcode_5E();
        case 0x5F:
            opcode_5F();
        case 0x60:
            opcode_60();
        case 0x61:
            opcode_61();
        case 0x62:
            opcode_62();
        case 0x63:
            opcode_63();
        case 0x64:
            opcode_64();
        case 0x65:
            opcode_65();
        case 0x66:
            opcode_66();
        case 0x67:
            opcode_67();
        case 0x68:
            opcode_68();
        case 0x69:
            opcode_69();
        case 0x6A:
            opcode_6A();
        case 0x6B:
            opcode_6B();
        case 0x6C:
            opcode_6C();
        case 0x6D:
            opcode_6D();
        case 0x6E:
            opcode_6E();
        case 0x6F:
            opcode_6F();
        case 0x70:
            opcode_70();
        case 0x71:
            opcode_71();
        case 0x72:
            opcode_72();
        case 0x73:
            opcode_73();
        case 0x74:
            opcode_74();
        case 0x75:
            opcode_75();
        case 0x76:
            opcode_76();
        case 0x77:
            opcode_77();
        case 0x78:
            opcode_78();
        case 0x79:
            opcode_79();
        case 0x7A:
            opcode_7A();
        case 0x7B:
            opcode_7B();
        case 0x7C:
            opcode_7C();
        case 0x7D:
            opcode_7D();
        case 0x7E:
            opcode_7E();
        case 0x7F:
            opcode_7F();
        case 0x80:
            opcode_80();
        case 0x81:
            opcode_81();
        case 0x82:
            opcode_82();
        case 0x83:
            opcode_83();
        case 0x84:
            opcode_84();
        case 0x85:
            opcode_85();
        case 0x86:
            opcode_86();
        case 0x87:
            opcode_87();
        case 0x88:
            opcode_88();
        case 0x89:
            opcode_89();
        case 0x8A:
            opcode_8A();
        case 0x8B:
            opcode_8B();
        case 0x8C:
            opcode_8C();
        case 0x8D:
            opcode_8D();
        case 0x8E:
            opcode_8E();
        case 0x8F:
            opcode_8F();
        case 0x90:
            opcode_90();
        case 0x91:
            opcode_91();
        case 0x92:
            opcode_92();
        case 0x93:
            opcode_93();
        case 0x94:
            opcode_94();
        case 0x95:
            opcode_95();
        case 0x96:
            opcode_96();
        case 0x97:
            opcode_97();
        case 0x98:
            opcode_98();
        case 0x99:
            opcode_99();
        case 0x9A:
            opcode_9A();
        case 0x9B:
            opcode_9B();
        case 0x9C:
            opcode_9C();
        case 0x9D:
            opcode_9D();
        case 0x9E:
            opcode_9E();
        case 0x9F:
            opcode_9F();
        case 0xA0:
            opcode_A0();
        case 0xA1:
            opcode_A1();
        case 0xA2:
            opcode_A2();
        case 0xA3:
            opcode_A3();
        case 0xA4:
            opcode_A4();
        case 0xA5:
            opcode_A5();
        case 0xA6:
            opcode_A6();
        case 0xA7:
            opcode_A7();
        case 0xA8:
            opcode_A8();
        case 0xA9:
            opcode_A9();
        case 0xAA:
            opcode_AA();
        case 0xAB:
            opcode_AB();
        case 0xAC:
            opcode_AC();
        case 0xAD:
            opcode_AD();
        case 0xAE:
            opcode_AE();
        case 0xAF:
            opcode_AF();
        case 0xB0:
            opcode_B0();
        case 0xB1:
            opcode_B1();
        case 0xB2:
            opcode_B2();
        case 0xB3:
            opcode_B3();
        case 0xB4:
            opcode_B4();
        case 0xB5:
            opcode_B5();
        case 0xB6:
            opcode_B6();
        case 0xB7:
            opcode_B7();
        case 0xB8:
            opcode_B8();
        case 0xB9:
            opcode_B9();
        case 0xBA:
            opcode_BA();
        case 0xBB:
            opcode_BB();
        case 0xBC:
            opcode_BC();
        case 0xBD:
            opcode_BD();
        case 0xBE:
            opcode_BE();
        case 0xBF:
            opcode_BF();
        case 0xC0:
            opcode_C0();
        case 0xC1:
            opcode_C1();
        case 0xC2:
            opcode_C2();
        case 0xC3:
            opcode_C3();
        case 0xC4:
            opcode_C4();
        case 0xC5:
            opcode_C5();
        case 0xC6:
            opcode_C6();
        case 0xC7:
            opcode_C7();
        case 0xC8:
            opcode_C8();
        case 0xC9:
            opcode_C9();
        case 0xCA:
            opcode_CA();
        case 0xCB:
            opcode_CB();
        case 0xCC:
            opcode_CC();
        case 0xCD:
            opcode_CD();
        case 0xCE:
            opcode_CE();
        case 0xCF:
            opcode_CF();
        case 0xD0:
            opcode_D0();
        case 0xD1:
            opcode_D1();
        case 0xD2:
            opcode_D2();
        case 0xD3:
            opcode_D3();
        case 0xD4:
            opcode_D4();
        case 0xD5:
            opcode_D5();
        case 0xD6:
            opcode_D6();
        case 0xD7:
            opcode_D7();
        case 0xD8:
            opcode_D8();
        case 0xD9:
            opcode_D9();
        case 0xDA:
            opcode_DA();
        case 0xDB:
            opcode_DB();
        case 0xDC:
            opcode_DC();
        case 0xDD:
            opcode_DD();
        case 0xDE:
            opcode_DE();
        case 0xDF:
            opcode_DF();
        case 0xE0:
            opcode_E0();
        case 0xE1:
            opcode_E1();
        case 0xE2:
            opcode_E2();
        case 0xE3:
            opcode_E3();
        case 0xE4:
            opcode_E4();
        case 0xE5:
            opcode_E5();
        case 0xE6:
            opcode_E6();
        case 0xE7:
            opcode_E7();
        case 0xE8:
            opcode_E8();
        case 0xE9:
            opcode_E9();
        case 0xEA:
            opcode_EA();
        case 0xEB:
            opcode_EB();
        case 0xEC:
            opcode_EC();
        case 0xED:
            opcode_ED();
        case 0xEE:
            opcode_EE();
        case 0xEF:
            opcode_EF();
        case 0xF0:
            opcode_F0();
        case 0xF1:
            opcode_F1();
        case 0xF2:
            opcode_F2();
        case 0xF3:
            opcode_F3();
        case 0xF4:
            opcode_F4();
        case 0xF5:
            opcode_F5();
        case 0xF6:
            opcode_F6();
        case 0xF7:
            opcode_F7();
        case 0xF8:
            opcode_F8();
        case 0xF9:
            opcode_F9();
        case 0xFA:
            opcode_FA();
        case 0xFB:
            opcode_FB();
        case 0xFC:
            opcode_FC();
        case 0xFD:
            opcode_FD();
        case 0xFE:
            opcode_FE();
        case 0xFF:
            opcode_FF();
    }
}
<commit_msg>Move opcode switch onto single lines & add breaks<commit_after>#include "CPU.h"

void CPU::execute_opcode(const uint8_t opcode) {
    switch (opcode) {
        case 0x00: opcode_00(); break;
        case 0x01: opcode_01(); break;
        case 0x02: opcode_02(); break;
        case 0x03: opcode_03(); break;
        case 0x04: opcode_04(); break;
        case 0x05: opcode_05(); break;
        case 0x06: opcode_06(); break;
        case 0x07: opcode_07(); break;
        case 0x08: opcode_08(); break;
        case 0x09: opcode_09(); break;
        case 0x0A: opcode_0A(); break;
        case 0x0B: opcode_0B(); break;
        case 0x0C: opcode_0C(); break;
        case 0x0D: opcode_0D(); break;
        case 0x0E: opcode_0E(); break;
        case 0x0F: opcode_0F(); break;
        case 0x10: opcode_10(); break;
        case 0x11: opcode_11(); break;
        case 0x12: opcode_12(); break;
        case 0x13: opcode_13(); break;
        case 0x14: opcode_14(); break;
        case 0x15: opcode_15(); break;
        case 0x16: opcode_16(); break;
        case 0x17: opcode_17(); break;
        case 0x18: opcode_18(); break;
        case 0x19: opcode_19(); break;
        case 0x1A: opcode_1A(); break;
        case 0x1B: opcode_1B(); break;
        case 0x1C: opcode_1C(); break;
        case 0x1D: opcode_1D(); break;
        case 0x1E: opcode_1E(); break;
        case 0x1F: opcode_1F(); break;
        case 0x20: opcode_20(); break;
        case 0x21: opcode_21(); break;
        case 0x22: opcode_22(); break;
        case 0x23: opcode_23(); break;
        case 0x24: opcode_24(); break;
        case 0x25: opcode_25(); break;
        case 0x26: opcode_26(); break;
        case 0x27: opcode_27(); break;
        case 0x28: opcode_28(); break;
        case 0x29: opcode_29(); break;
        case 0x2A: opcode_2A(); break;
        case 0x2B: opcode_2B(); break;
        case 0x2C: opcode_2C(); break;
        case 0x2D: opcode_2D(); break;
        case 0x2E: opcode_2E(); break;
        case 0x2F: opcode_2F(); break;
        case 0x30: opcode_30(); break;
        case 0x31: opcode_31(); break;
        case 0x32: opcode_32(); break;
        case 0x33: opcode_33(); break;
        case 0x34: opcode_34(); break;
        case 0x35: opcode_35(); break;
        case 0x36: opcode_36(); break;
        case 0x37: opcode_37(); break;
        case 0x38: opcode_38(); break;
        case 0x39: opcode_39(); break;
        case 0x3A: opcode_3A(); break;
        case 0x3B: opcode_3B(); break;
        case 0x3C: opcode_3C(); break;
        case 0x3D: opcode_3D(); break;
        case 0x3E: opcode_3E(); break;
        case 0x3F: opcode_3F(); break;
        case 0x40: opcode_40(); break;
        case 0x41: opcode_41(); break;
        case 0x42: opcode_42(); break;
        case 0x43: opcode_43(); break;
        case 0x44: opcode_44(); break;
        case 0x45: opcode_45(); break;
        case 0x46: opcode_46(); break;
        case 0x47: opcode_47(); break;
        case 0x48: opcode_48(); break;
        case 0x49: opcode_49(); break;
        case 0x4A: opcode_4A(); break;
        case 0x4B: opcode_4B(); break;
        case 0x4C: opcode_4C(); break;
        case 0x4D: opcode_4D(); break;
        case 0x4E: opcode_4E(); break;
        case 0x4F: opcode_4F(); break;
        case 0x50: opcode_50(); break;
        case 0x51: opcode_51(); break;
        case 0x52: opcode_52(); break;
        case 0x53: opcode_53(); break;
        case 0x54: opcode_54(); break;
        case 0x55: opcode_55(); break;
        case 0x56: opcode_56(); break;
        case 0x57: opcode_57(); break;
        case 0x58: opcode_58(); break;
        case 0x59: opcode_59(); break;
        case 0x5A: opcode_5A(); break;
        case 0x5B: opcode_5B(); break;
        case 0x5C: opcode_5C(); break;
        case 0x5D: opcode_5D(); break;
        case 0x5E: opcode_5E(); break;
        case 0x5F: opcode_5F(); break;
        case 0x60: opcode_60(); break;
        case 0x61: opcode_61(); break;
        case 0x62: opcode_62(); break;
        case 0x63: opcode_63(); break;
        case 0x64: opcode_64(); break;
        case 0x65: opcode_65(); break;
        case 0x66: opcode_66(); break;
        case 0x67: opcode_67(); break;
        case 0x68: opcode_68(); break;
        case 0x69: opcode_69(); break;
        case 0x6A: opcode_6A(); break;
        case 0x6B: opcode_6B(); break;
        case 0x6C: opcode_6C(); break;
        case 0x6D: opcode_6D(); break;
        case 0x6E: opcode_6E(); break;
        case 0x6F: opcode_6F(); break;
        case 0x70: opcode_70(); break;
        case 0x71: opcode_71(); break;
        case 0x72: opcode_72(); break;
        case 0x73: opcode_73(); break;
        case 0x74: opcode_74(); break;
        case 0x75: opcode_75(); break;
        case 0x76: opcode_76(); break;
        case 0x77: opcode_77(); break;
        case 0x78: opcode_78(); break;
        case 0x79: opcode_79(); break;
        case 0x7A: opcode_7A(); break;
        case 0x7B: opcode_7B(); break;
        case 0x7C: opcode_7C(); break;
        case 0x7D: opcode_7D(); break;
        case 0x7E: opcode_7E(); break;
        case 0x7F: opcode_7F(); break;
        case 0x80: opcode_80(); break;
        case 0x81: opcode_81(); break;
        case 0x82: opcode_82(); break;
        case 0x83: opcode_83(); break;
        case 0x84: opcode_84(); break;
        case 0x85: opcode_85(); break;
        case 0x86: opcode_86(); break;
        case 0x87: opcode_87(); break;
        case 0x88: opcode_88(); break;
        case 0x89: opcode_89(); break;
        case 0x8A: opcode_8A(); break;
        case 0x8B: opcode_8B(); break;
        case 0x8C: opcode_8C(); break;
        case 0x8D: opcode_8D(); break;
        case 0x8E: opcode_8E(); break;
        case 0x8F: opcode_8F(); break;
        case 0x90: opcode_90(); break;
        case 0x91: opcode_91(); break;
        case 0x92: opcode_92(); break;
        case 0x93: opcode_93(); break;
        case 0x94: opcode_94(); break;
        case 0x95: opcode_95(); break;
        case 0x96: opcode_96(); break;
        case 0x97: opcode_97(); break;
        case 0x98: opcode_98(); break;
        case 0x99: opcode_99(); break;
        case 0x9A: opcode_9A(); break;
        case 0x9B: opcode_9B(); break;
        case 0x9C: opcode_9C(); break;
        case 0x9D: opcode_9D(); break;
        case 0x9E: opcode_9E(); break;
        case 0x9F: opcode_9F(); break;
        case 0xA0: opcode_A0(); break;
        case 0xA1: opcode_A1(); break;
        case 0xA2: opcode_A2(); break;
        case 0xA3: opcode_A3(); break;
        case 0xA4: opcode_A4(); break;
        case 0xA5: opcode_A5(); break;
        case 0xA6: opcode_A6(); break;
        case 0xA7: opcode_A7(); break;
        case 0xA8: opcode_A8(); break;
        case 0xA9: opcode_A9(); break;
        case 0xAA: opcode_AA(); break;
        case 0xAB: opcode_AB(); break;
        case 0xAC: opcode_AC(); break;
        case 0xAD: opcode_AD(); break;
        case 0xAE: opcode_AE(); break;
        case 0xAF: opcode_AF(); break;
        case 0xB0: opcode_B0(); break;
        case 0xB1: opcode_B1(); break;
        case 0xB2: opcode_B2(); break;
        case 0xB3: opcode_B3(); break;
        case 0xB4: opcode_B4(); break;
        case 0xB5: opcode_B5(); break;
        case 0xB6: opcode_B6(); break;
        case 0xB7: opcode_B7(); break;
        case 0xB8: opcode_B8(); break;
        case 0xB9: opcode_B9(); break;
        case 0xBA: opcode_BA(); break;
        case 0xBB: opcode_BB(); break;
        case 0xBC: opcode_BC(); break;
        case 0xBD: opcode_BD(); break;
        case 0xBE: opcode_BE(); break;
        case 0xBF: opcode_BF(); break;
        case 0xC0: opcode_C0(); break;
        case 0xC1: opcode_C1(); break;
        case 0xC2: opcode_C2(); break;
        case 0xC3: opcode_C3(); break;
        case 0xC4: opcode_C4(); break;
        case 0xC5: opcode_C5(); break;
        case 0xC6: opcode_C6(); break;
        case 0xC7: opcode_C7(); break;
        case 0xC8: opcode_C8(); break;
        case 0xC9: opcode_C9(); break;
        case 0xCA: opcode_CA(); break;
        case 0xCB: opcode_CB(); break;
        case 0xCC: opcode_CC(); break;
        case 0xCD: opcode_CD(); break;
        case 0xCE: opcode_CE(); break;
        case 0xCF: opcode_CF(); break;
        case 0xD0: opcode_D0(); break;
        case 0xD1: opcode_D1(); break;
        case 0xD2: opcode_D2(); break;
        case 0xD3: opcode_D3(); break;
        case 0xD4: opcode_D4(); break;
        case 0xD5: opcode_D5(); break;
        case 0xD6: opcode_D6(); break;
        case 0xD7: opcode_D7(); break;
        case 0xD8: opcode_D8(); break;
        case 0xD9: opcode_D9(); break;
        case 0xDA: opcode_DA(); break;
        case 0xDB: opcode_DB(); break;
        case 0xDC: opcode_DC(); break;
        case 0xDD: opcode_DD(); break;
        case 0xDE: opcode_DE(); break;
        case 0xDF: opcode_DF(); break;
        case 0xE0: opcode_E0(); break;
        case 0xE1: opcode_E1(); break;
        case 0xE2: opcode_E2(); break;
        case 0xE3: opcode_E3(); break;
        case 0xE4: opcode_E4(); break;
        case 0xE5: opcode_E5(); break;
        case 0xE6: opcode_E6(); break;
        case 0xE7: opcode_E7(); break;
        case 0xE8: opcode_E8(); break;
        case 0xE9: opcode_E9(); break;
        case 0xEA: opcode_EA(); break;
        case 0xEB: opcode_EB(); break;
        case 0xEC: opcode_EC(); break;
        case 0xED: opcode_ED(); break;
        case 0xEE: opcode_EE(); break;
        case 0xEF: opcode_EF(); break;
        case 0xF0: opcode_F0(); break;
        case 0xF1: opcode_F1(); break;
        case 0xF2: opcode_F2(); break;
        case 0xF3: opcode_F3(); break;
        case 0xF4: opcode_F4(); break;
        case 0xF5: opcode_F5(); break;
        case 0xF6: opcode_F6(); break;
        case 0xF7: opcode_F7(); break;
        case 0xF8: opcode_F8(); break;
        case 0xF9: opcode_F9(); break;
        case 0xFA: opcode_FA(); break;
        case 0xFB: opcode_FB(); break;
        case 0xFC: opcode_FC(); break;
        case 0xFD: opcode_FD(); break;
        case 0xFE: opcode_FE(); break;
        case 0xFF: opcode_FF(); break;
    }
}

{'fraction_non_alphanumeric': 0.10862901727661156, 'fraction_numerical': 0.08331785249860672, 'mean_word_length': 1.389104626650394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6661519', 'n_tokens_mistral': 8536, 'n_tokens_neox': 7631, 'n_words': 1815}