#include "Processor.h"
void Processor::OPCodeCB0x00()
{
OPCodes_RLC(BC.GetHighRegister());
}
void Processor::OPCodeCB0x01()
{
OPCodes_RLC(BC.GetLowRegister());
}
void Processor::OPCodeCB0x02()
{
OPCodes_RLC(DE.GetHighRegister());
}
void Processor::OPCodeCB0x03()
{
OPCodes_RLC(DE.GetLowRegister());
}
void Processor::OPCodeCB0x04()
{
OPCodes_RLC(HL.GetHighRegister());
}
void Processor::OPCodeCB0x05()
{
OPCodes_RLC(HL.GetLowRegister());
}
void Processor::OPCodeCB0x06()
{
OPCodes_RLC_HL();
}
void Processor::OPCodeCB0x07()
{
OPCodes_RLC(AF.GetHighRegister());
}
void Processor::OPCodeCB0x08()
{
OPCodes_RRC(BC.GetHighRegister());
}
void Processor::OPCodeCB0x09()
{
OPCodes_RRC(BC.GetLowRegister());
}
void Processor::OPCodeCB0x0A()
{
OPCodes_RRC(DE.GetHighRegister());
}
void Processor::OPCodeCB0x0B()
{
OPCodes_RRC(DE.GetLowRegister());
}
void Processor::OPCodeCB0x0C()
{
OPCodes_RRC(HL.GetHighRegister());
}
void Processor::OPCodeCB0x0D()
{
OPCodes_RRC(HL.GetLowRegister());
}
void Processor::OPCodeCB0x0E()
{
OPCodes_RRC_HL();
}
void Processor::OPCodeCB0x0F()
{
OPCodes_RRC(AF.GetHighRegister());
}
void Processor::OPCodeCB0x10()
{
OPCodes_RL(BC.GetHighRegister());
}
void Processor::OPCodeCB0x11()
{
OPCodes_RL(BC.GetLowRegister());
}
void Processor::OPCodeCB0x12()
{
OPCodes_RL(DE.GetHighRegister());
}
void Processor::OPCodeCB0x13()
{
OPCodes_RL(DE.GetLowRegister());
}
void Processor::OPCodeCB0x14()
{
OPCodes_RL(HL.GetHighRegister());
}
void Processor::OPCodeCB0x15()
{
OPCodes_RL(HL.GetLowRegister());
}
void Processor::OPCodeCB0x16()
{
OPCodes_RL_HL();
}
void Processor::OPCodeCB0x17()
{
OPCodes_RL(AF.GetHighRegister());
}
void Processor::OPCodeCB0x18()
{
OPCodes_RR(BC.GetHighRegister());
}
void Processor::OPCodeCB0x19()
{
OPCodes_RR(BC.GetLowRegister());
}
void Processor::OPCodeCB0x1A()
{
OPCodes_RR(DE.GetHighRegister());
}
void Processor::OPCodeCB0x1B()
{
OPCodes_RR(DE.GetLowRegister());
}
void Processor::OPCodeCB0x1C()
{
OPCodes_RR(HL.GetHighRegister());
}
void Processor::OPCodeCB0x1D()
{
OPCodes_RR(HL.GetLowRegister());
}
void Processor::OPCodeCB0x1E()
{
OPCodes_RR_HL();
}
void Processor::OPCodeCB0x1F()
{
OPCodes_RR(AF.GetHighRegister());
}
void Processor::OPCodeCB0x20()
{
OPCodes_SLA(BC.GetHighRegister());
}
void Processor::OPCodeCB0x21()
{
OPCodes_SLA(BC.GetLowRegister());
}
void Processor::OPCodeCB0x22()
{
OPCodes_SLA(DE.GetHighRegister());
}
void Processor::OPCodeCB0x23()
{
OPCodes_SLA(DE.GetLowRegister());
}
void Processor::OPCodeCB0x24()
{
OPCodes_SLA(HL.GetHighRegister());
}
void Processor::OPCodeCB0x25()
{
OPCodes_SLA(HL.GetLowRegister());
}
void Processor::OPCodeCB0x26()
{
OPCodes_SLA_HL();
}
void Processor::OPCodeCB0x27()
{
OPCodes_SLA(AF.GetHighRegister());
}
void Processor::OPCodeCB0x28()
{
OPCodes_SRA(BC.GetHighRegister());
}
void Processor::OPCodeCB0x29()
{
OPCodes_SRA(BC.GetLowRegister());
}
void Processor::OPCodeCB0x2A()
{
OPCodes_SRA(DE.GetHighRegister());
}
void Processor::OPCodeCB0x2B()
{
OPCodes_SRA(DE.GetLowRegister());
}
void Processor::OPCodeCB0x2C()
{
OPCodes_SRA(HL.GetHighRegister());
}
void Processor::OPCodeCB0x2D()
{
OPCodes_SRA(HL.GetLowRegister());
}
void Processor::OPCodeCB0x2E()
{
OPCodes_SRA_HL();
}
void Processor::OPCodeCB0x2F()
{
OPCodes_SRA(AF.GetHighRegister());
}
void Processor::OPCodeCB0x30()
{
OPCodes_SLL(BC.GetHighRegister());
}
void Processor::OPCodeCB0x31()
{
OPCodes_SLL(BC.GetLowRegister());
}
void Processor::OPCodeCB0x32()
{
OPCodes_SLL(DE.GetHighRegister());
}
void Processor::OPCodeCB0x33()
{
OPCodes_SLL(DE.GetLowRegister());
}
void Processor::OPCodeCB0x34()
{
OPCodes_SLL(HL.GetHighRegister());
}
void Processor::OPCodeCB0x35()
{
OPCodes_SLL(HL.GetLowRegister());
}
void Processor::OPCodeCB0x36()
{
OPCodes_SLL_HL();
}
void Processor::OPCodeCB0x37()
{
OPCodes_SLL(AF.GetHighRegister());
}
void Processor::OPCodeCB0x38()
{
OPCodes_SRL(BC.GetHighRegister());
}
void Processor::OPCodeCB0x39()
{
OPCodes_SRL(BC.GetLowRegister());
}
void Processor::OPCodeCB0x3A()
{
OPCodes_SRL(DE.GetHighRegister());
}
void Processor::OPCodeCB0x3B()
{
OPCodes_SRL(DE.GetLowRegister());
}
void Processor::OPCodeCB0x3C()
{
OPCodes_SRL(HL.GetHighRegister());
}
void Processor::OPCodeCB0x3D()
{
OPCodes_SRL(HL.GetLowRegister());
}
void Processor::OPCodeCB0x3E()
{
OPCodes_SRL_HL();
}
void Processor::OPCodeCB0x3F()
{
OPCodes_SRL(AF.GetHighRegister());
}
void Processor::OPCodeCB0x40()
{
OPCodes_BIT(BC.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x41()
{
OPCodes_BIT(BC.GetLowRegister(), 0);
}
void Processor::OPCodeCB0x42()
{
OPCodes_BIT(DE.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x43()
{
OPCodes_BIT(DE.GetLowRegister(), 0);
}
void Processor::OPCodeCB0x44()
{
OPCodes_BIT(HL.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x45()
{
OPCodes_BIT(HL.GetLowRegister(), 0);
}
void Processor::OPCodeCB0x46()
{
OPCodes_BIT_HL(0);
}
void Processor::OPCodeCB0x47()
{
OPCodes_BIT(AF.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x48()
{
OPCodes_BIT(BC.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x49()
{
OPCodes_BIT(BC.GetLowRegister(), 1);
}
void Processor::OPCodeCB0x4A()
{
OPCodes_BIT(DE.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x4B()
{
OPCodes_BIT(DE.GetLowRegister(), 1);
}
void Processor::OPCodeCB0x4C()
{
OPCodes_BIT(HL.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x4D()
{
OPCodes_BIT(HL.GetLowRegister(), 1);
}
void Processor::OPCodeCB0x4E()
{
OPCodes_BIT_HL(1);
}
void Processor::OPCodeCB0x4F()
{
OPCodes_BIT(AF.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x50()
{
OPCodes_BIT(BC.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x51()
{
OPCodes_BIT(BC.GetLowRegister(), 2);
}
void Processor::OPCodeCB0x52()
{
OPCodes_BIT(DE.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x53()
{
OPCodes_BIT(DE.GetLowRegister(), 2);
}
void Processor::OPCodeCB0x54()
{
OPCodes_BIT(HL.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x55()
{
OPCodes_BIT(HL.GetLowRegister(), 2);
}
void Processor::OPCodeCB0x56()
{
OPCodes_BIT_HL(2);
}
void Processor::OPCodeCB0x57()
{
OPCodes_BIT(AF.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x58()
{
OPCodes_BIT(BC.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x59()
{
OPCodes_BIT(BC.GetLowRegister(), 3);
}
void Processor::OPCodeCB0x5A()
{
OPCodes_BIT(DE.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x5B()
{
OPCodes_BIT(DE.GetLowRegister(), 3);
}
void Processor::OPCodeCB0x5C()
{
OPCodes_BIT(HL.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x5D()
{
OPCodes_BIT(HL.GetLowRegister(), 3);
}
void Processor::OPCodeCB0x5E()
{
OPCodes_BIT_HL(3);
}
void Processor::OPCodeCB0x5F()
{
OPCodes_BIT(AF.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x60()
{
OPCodes_BIT(BC.GetHighRegister(), 4);
}
void Processor::OPCodeCB0x61()
{
OPCodes_BIT(BC.GetLowRegister(), 4);
}
void Processor::OPCodeCB0x62()
{
OPCodes_BIT(DE.GetHighRegister(), 4);
}
void Processor::OPCodeCB0x63()
{
OPCodes_BIT(DE.GetLowRegister(), 4);
}
void Processor::OPCodeCB0x64()
{
OPCodes_BIT(HL.GetHighRegister(), 4);
}
void Processor::OPCodeCB0x65()
{
OPCodes_BIT(HL.GetLowRegister(), 4);
}
void Processor::OPCodeCB0x66()
{
OPCodes_BIT_HL(4);
}
void Processor::OPCodeCB0x67()
{
OPCodes_BIT(AF.GetHighRegister(), 4);
}
void Processor::OPCodeCB0x68()
{
OPCodes_BIT(BC.GetHighRegister(), 5);
}
void Processor::OPCodeCB0x69()
{
OPCodes_BIT(BC.GetLowRegister(), 5);
}
void Processor::OPCodeCB0x6A()
{
OPCodes_BIT(DE.GetHighRegister(), 5);
}
void Processor::OPCodeCB0x6B()
{
OPCodes_BIT(DE.GetLowRegister(), 5);
}
void Processor::OPCodeCB0x6C()
{
OPCodes_BIT(HL.GetHighRegister(), 5);
}
void Processor::OPCodeCB0x6D()
{
OPCodes_BIT(HL.GetLowRegister(), 5);
}
void Processor::OPCodeCB0x6E()
{
OPCodes_BIT_HL(5);
}
void Processor::OPCodeCB0x6F()
{
OPCodes_BIT(AF.GetHighRegister(), 5);
}
void Processor::OPCodeCB0x70()
{
OPCodes_BIT(BC.GetHighRegister(), 6);
}
void Processor::OPCodeCB0x71()
{
OPCodes_BIT(BC.GetLowRegister(), 6);
}
void Processor::OPCodeCB0x72()
{
OPCodes_BIT(DE.GetHighRegister(), 6);
}
void Processor::OPCodeCB0x73()
{
OPCodes_BIT(DE.GetLowRegister(), 6);
}
void Processor::OPCodeCB0x74()
{
OPCodes_BIT(HL.GetHighRegister(), 6);
}
void Processor::OPCodeCB0x75()
{
OPCodes_BIT(HL.GetLowRegister(), 6);
}
void Processor::OPCodeCB0x76()
{
OPCodes_BIT_HL(6);
}
void Processor::OPCodeCB0x77()
{
OPCodes_BIT(AF.GetHighRegister(), 6);
}
void Processor::OPCodeCB0x78()
{
OPCodes_BIT(BC.GetHighRegister(), 7);
}
void Processor::OPCodeCB0x79()
{
OPCodes_BIT(BC.GetLowRegister(), 7);
}
void Processor::OPCodeCB0x7A()
{
OPCodes_BIT(DE.GetHighRegister(), 7);
}
void Processor::OPCodeCB0x7B()
{
OPCodes_BIT(DE.GetLowRegister(), 7);
}
void Processor::OPCodeCB0x7C()
{
OPCodes_BIT(HL.GetHighRegister(), 7);
}
void Processor::OPCodeCB0x7D()
{
OPCodes_BIT(HL.GetLowRegister(), 7);
}
void Processor::OPCodeCB0x7E()
{
OPCodes_BIT_HL(7);
}
void Processor::OPCodeCB0x7F()
{
OPCodes_BIT(AF.GetHighRegister(), 7);
}
void Processor::OPCodeCB0x80()
{
OPCodes_RES(BC.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x81()
{
OPCodes_RES(BC.GetLowRegister(), 0);
}
void Processor::OPCodeCB0x82()
{
OPCodes_RES(DE.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x83()
{
OPCodes_RES(DE.GetLowRegister(), 0);
}
void Processor::OPCodeCB0x84()
{
OPCodes_RES(HL.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x85()
{
OPCodes_RES(HL.GetLowRegister(), 0);
}
void Processor::OPCodeCB0x86()
{
OPCodes_RES_HL(0);
}
void Processor::OPCodeCB0x87()
{
OPCodes_RES(AF.GetHighRegister(), 0);
}
void Processor::OPCodeCB0x88()
{
OPCodes_RES(BC.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x89()
{
OPCodes_RES(BC.GetLowRegister(), 1);
}
void Processor::OPCodeCB0x8A()
{
OPCodes_RES(DE.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x8B()
{
OPCodes_RES(DE.GetLowRegister(), 1);
}
void Processor::OPCodeCB0x8C()
{
OPCodes_RES(HL.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x8D()
{
OPCodes_RES(HL.GetLowRegister(), 1);
}
void Processor::OPCodeCB0x8E()
{
OPCodes_RES_HL(1);
}
void Processor::OPCodeCB0x8F()
{
OPCodes_RES(AF.GetHighRegister(), 1);
}
void Processor::OPCodeCB0x90()
{
OPCodes_RES(BC.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x91()
{
OPCodes_RES(BC.GetLowRegister(), 2);
}
void Processor::OPCodeCB0x92()
{
OPCodes_RES(DE.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x93()
{
OPCodes_RES(DE.GetLowRegister(), 2);
}
void Processor::OPCodeCB0x94()
{
OPCodes_RES(HL.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x95()
{
OPCodes_RES(HL.GetLowRegister(), 2);
}
void Processor::OPCodeCB0x96()
{
OPCodes_RES_HL(2);
}
void Processor::OPCodeCB0x97()
{
OPCodes_RES(AF.GetHighRegister(), 2);
}
void Processor::OPCodeCB0x98()
{
OPCodes_RES(BC.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x99()
{
OPCodes_RES(BC.GetLowRegister(), 3);
}
void Processor::OPCodeCB0x9A()
{
OPCodes_RES(DE.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x9B()
{
OPCodes_RES(DE.GetLowRegister(), 3);
}
void Processor::OPCodeCB0x9C()
{
OPCodes_RES(HL.GetHighRegister(), 3);
}
void Processor::OPCodeCB0x9D()
{
OPCodes_RES(HL.GetLowRegister(), 3);
}
void Processor::OPCodeCB0x9E()
{
OPCodes_RES_HL(3);
}
void Processor::OPCodeCB0x9F()
{
OPCodes_RES(AF.GetHighRegister(), 3);
}
void Processor::OPCodeCB0xA0()
{
OPCodes_RES(BC.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xA1()
{
OPCodes_RES(BC.GetLowRegister(), 4);
}
void Processor::OPCodeCB0xA2()
{
OPCodes_RES(DE.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xA3()
{
OPCodes_RES(DE.GetLowRegister(), 4);
}
void Processor::OPCodeCB0xA4()
{
OPCodes_RES(HL.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xA5()
{
OPCodes_RES(HL.GetLowRegister(), 4);
}
void Processor::OPCodeCB0xA6()
{
OPCodes_RES_HL(4);
}
void Processor::OPCodeCB0xA7()
{
OPCodes_RES(AF.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xA8()
{
OPCodes_RES(BC.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xA9()
{
OPCodes_RES(BC.GetLowRegister(), 5);
}
void Processor::OPCodeCB0xAA()
{
OPCodes_RES(DE.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xAB()
{
OPCodes_RES(DE.GetLowRegister(), 5);
}
void Processor::OPCodeCB0xAC()
{
OPCodes_RES(HL.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xAD()
{
OPCodes_RES(HL.GetLowRegister(), 5);
}
void Processor::OPCodeCB0xAE()
{
OPCodes_RES_HL(5);
}
void Processor::OPCodeCB0xAF()
{
OPCodes_RES(AF.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xB0()
{
OPCodes_RES(BC.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xB1()
{
OPCodes_RES(BC.GetLowRegister(), 6);
}
void Processor::OPCodeCB0xB2()
{
OPCodes_RES(DE.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xB3()
{
OPCodes_RES(DE.GetLowRegister(), 6);
}
void Processor::OPCodeCB0xB4()
{
OPCodes_RES(HL.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xB5()
{
OPCodes_RES(HL.GetLowRegister(), 6);
}
void Processor::OPCodeCB0xB6()
{
OPCodes_RES_HL(6);
}
void Processor::OPCodeCB0xB7()
{
OPCodes_RES(AF.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xB8()
{
OPCodes_RES(BC.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xB9()
{
OPCodes_RES(BC.GetLowRegister(), 7);
}
void Processor::OPCodeCB0xBA()
{
OPCodes_RES(DE.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xBB()
{
OPCodes_RES(DE.GetLowRegister(), 7);
}
void Processor::OPCodeCB0xBC()
{
OPCodes_RES(HL.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xBD()
{
OPCodes_RES(HL.GetLowRegister(), 7);
}
void Processor::OPCodeCB0xBE()
{
OPCodes_RES_HL(7);
}
void Processor::OPCodeCB0xBF()
{
OPCodes_RES(AF.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xC0()
{
OPCodes_SET(BC.GetHighRegister(), 0);
}
void Processor::OPCodeCB0xC1()
{
OPCodes_SET(BC.GetLowRegister(), 0);
}
void Processor::OPCodeCB0xC2()
{
OPCodes_SET(DE.GetHighRegister(), 0);
}
void Processor::OPCodeCB0xC3()
{
OPCodes_SET(DE.GetLowRegister(), 0);
}
void Processor::OPCodeCB0xC4()
{
OPCodes_SET(HL.GetHighRegister(), 0);
}
void Processor::OPCodeCB0xC5()
{
OPCodes_SET(HL.GetLowRegister(), 0);
}
void Processor::OPCodeCB0xC6()
{
OPCodes_SET_HL(0);
}
void Processor::OPCodeCB0xC7()
{
OPCodes_SET(AF.GetHighRegister(), 0);
}
void Processor::OPCodeCB0xC8()
{
OPCodes_SET(BC.GetHighRegister(), 1);
}
void Processor::OPCodeCB0xC9()
{
OPCodes_SET(BC.GetLowRegister(), 1);
}
void Processor::OPCodeCB0xCA()
{
OPCodes_SET(DE.GetHighRegister(), 1);
}
void Processor::OPCodeCB0xCB()
{
OPCodes_SET(DE.GetLowRegister(), 1);
}
void Processor::OPCodeCB0xCC()
{
OPCodes_SET(HL.GetHighRegister(), 1);
}
void Processor::OPCodeCB0xCD()
{
OPCodes_SET(HL.GetLowRegister(), 1);
}
void Processor::OPCodeCB0xCE()
{
OPCodes_SET_HL(1);
}
void Processor::OPCodeCB0xCF()
{
OPCodes_SET(AF.GetHighRegister(), 1);
}
void Processor::OPCodeCB0xD0()
{
OPCodes_SET(BC.GetHighRegister(), 2);
}
void Processor::OPCodeCB0xD1()
{
OPCodes_SET(BC.GetLowRegister(), 2);
}
void Processor::OPCodeCB0xD2()
{
OPCodes_SET(DE.GetHighRegister(), 2);
}
void Processor::OPCodeCB0xD3()
{
OPCodes_SET(DE.GetLowRegister(), 2);
}
void Processor::OPCodeCB0xD4()
{
OPCodes_SET(HL.GetHighRegister(), 2);
}
void Processor::OPCodeCB0xD5()
{
OPCodes_SET(HL.GetLowRegister(), 2);
}
void Processor::OPCodeCB0xD6()
{
OPCodes_SET_HL(2);
}
void Processor::OPCodeCB0xD7()
{
OPCodes_SET(AF.GetHighRegister(), 2);
}
void Processor::OPCodeCB0xD8()
{
OPCodes_SET(BC.GetHighRegister(), 3);
}
void Processor::OPCodeCB0xD9()
{
OPCodes_SET(BC.GetLowRegister(), 3);
}
void Processor::OPCodeCB0xDA()
{
OPCodes_SET(DE.GetHighRegister(), 3);
}
void Processor::OPCodeCB0xDB()
{
OPCodes_SET(DE.GetLowRegister(), 3);
}
void Processor::OPCodeCB0xDC()
{
OPCodes_SET(HL.GetHighRegister(), 3);
}
void Processor::OPCodeCB0xDD()
{
OPCodes_SET(HL.GetLowRegister(), 3);
}
void Processor::OPCodeCB0xDE()
{
OPCodes_SET_HL(3);
}
void Processor::OPCodeCB0xDF()
{
OPCodes_SET(AF.GetHighRegister(), 3);
}
void Processor::OPCodeCB0xE0()
{
OPCodes_SET(BC.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xE1()
{
OPCodes_SET(BC.GetLowRegister(), 4);
}
void Processor::OPCodeCB0xE2()
{
OPCodes_SET(DE.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xE3()
{
OPCodes_SET(DE.GetLowRegister(), 4);
}
void Processor::OPCodeCB0xE4()
{
OPCodes_SET(HL.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xE5()
{
OPCodes_SET(HL.GetLowRegister(), 4);
}
void Processor::OPCodeCB0xE6()
{
OPCodes_SET_HL(4);
}
void Processor::OPCodeCB0xE7()
{
OPCodes_SET(AF.GetHighRegister(), 4);
}
void Processor::OPCodeCB0xE8()
{
OPCodes_SET(BC.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xE9()
{
OPCodes_SET(BC.GetLowRegister(), 5);
}
void Processor::OPCodeCB0xEA()
{
OPCodes_SET(DE.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xEB()
{
OPCodes_SET(DE.GetLowRegister(), 5);
}
void Processor::OPCodeCB0xEC()
{
OPCodes_SET(HL.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xED()
{
OPCodes_SET(HL.GetLowRegister(), 5);
}
void Processor::OPCodeCB0xEE()
{
OPCodes_SET_HL(5);
}
void Processor::OPCodeCB0xEF()
{
OPCodes_SET(AF.GetHighRegister(), 5);
}
void Processor::OPCodeCB0xF0()
{
OPCodes_SET(BC.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xF1()
{
OPCodes_SET(BC.GetLowRegister(), 6);
}
void Processor::OPCodeCB0xF2()
{
OPCodes_SET(DE.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xF3()
{
OPCodes_SET(DE.GetLowRegister(), 6);
}
void Processor::OPCodeCB0xF4()
{
OPCodes_SET(HL.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xF5()
{
OPCodes_SET(HL.GetLowRegister(), 6);
}
void Processor::OPCodeCB0xF6()
{
OPCodes_SET_HL(6);
}
void Processor::OPCodeCB0xF7()
{
OPCodes_SET(AF.GetHighRegister(), 6);
}
void Processor::OPCodeCB0xF8()
{
OPCodes_SET(BC.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xF9()
{
OPCodes_SET(BC.GetLowRegister(), 7);
}
void Processor::OPCodeCB0xFA()
{
OPCodes_SET(DE.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xFB()
{
OPCodes_SET(DE.GetLowRegister(), 7);
}
void Processor::OPCodeCB0xFC()
{
OPCodes_SET(HL.GetHighRegister(), 7);
}
void Processor::OPCodeCB0xFD()
{
OPCodes_SET(HL.GetLowRegister(), 7);
}
void Processor::OPCodeCB0xFE()
{
OPCodes_SET_HL(7);
}
void Processor::OPCodeCB0xFF()
{
OPCodes_SET(AF.GetHighRegister(), 7);
}