@Test public void shouldUseOneCycleAsLastInstructionExecutionTime() { Instruction instruction = new And8BitRegisterToAIntoA(z80, ANY_8BIT_SOURCE_REGISTER); instruction.execute(); assertEquals(1, z80.getLastInstructionExecutionTime()); }
@Override protected int getLastInstructionExecutionTime() { return 1; }
And8BitRegisterToAIntoA extends And8Bit { @Override protected int getLastInstructionExecutionTime() { return 1; } }
And8BitRegisterToAIntoA extends And8Bit { @Override protected int getLastInstructionExecutionTime() { return 1; } And8BitRegisterToAIntoA(GBZ80 z80, Register sourceRegister); }
And8BitRegisterToAIntoA extends And8Bit { @Override protected int getLastInstructionExecutionTime() { return 1; } And8BitRegisterToAIntoA(GBZ80 z80, Register sourceRegister);  }
And8BitRegisterToAIntoA extends And8Bit { @Override protected int getLastInstructionExecutionTime() { return 1; } And8BitRegisterToAIntoA(GBZ80 z80, Register sourceRegister);   }