Function Instruction.execute

Executes this instruction with one of the given opcodes previously stated by the getOpcodes method. This method has to return a number of cycles to emulate, take into account that by default, the emulator will wait one cycle after executing the instruction.

abstract ushort execute (
  ubyte Opcode,
  DM6502 Emulator
);