Class CMPI_d8AnXn

java.lang.Object
CPU.instructions.CMPI.CMPI_d8AnXn
All Implemented Interfaces:
InstructionSet

public class CMPI_d8AnXn extends Object implements InstructionSet
The CMPI instruction where destination is d8(An,Xn).
  • Constructor Details

    • CMPI_d8AnXn

      public CMPI_d8AnXn()
  • Method Details

    • register

      public final void register(MC68000Cpu cpu2)
      Description copied from interface: InstructionSet
      Registers the InstructionSet with the cpu.
      Specified by:
      register in interface InstructionSet
      Parameters:
      cpu2 - the cpu to use.
    • disassembleOp

      protected final DisassembledInstruction disassembleOp(int address, int opcode, Size sz, MC68000Cpu cpu)
    • getDisplacement

      protected int getDisplacement(MC68000Cpu cpu)
      Gets the displacement for an intruction.
      Parameters:
      cpu - the CPU executing the instruction
      Returns:
      the calulated displacement.