public void Execute(byte firstOpcodeByte) { switch (firstOpcodeByte) { case 0xCB: CB_InstructionExecutors[Memory[PC++]](); break; case 0xED: ED_InstructionExecutors[Memory[PC++]](); break; case 0xDD: Execute_DD_Instruction(); break; case 0xFD: Execute_FD_Instruction(); break; } SingleByte_InstructionExecutors[firstOpcodeByte](); }
private int Execute_SingleByte_Instruction(byte firstOpcodeByte) { Inc_R(); return(SingleByte_InstructionExecutors[firstOpcodeByte]()); }