Class ADD_d16An

java.lang.Object
CPU.instructions.ADD2EA.ADD_d16An
All Implemented Interfaces:
InstructionSet

public class ADD_d16An extends Object implements InstructionSet
The ADD instruction where the source is Dn and the destination is d16(An).
  • Constructor Details

    • ADD_d16An

      public ADD_d16An()
  • 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)
      Disassemble the instruction.
      Parameters:
      address - address of op in memory
      opcode - MC68000 opcode of operation
      sz - size (.b, .w, .l)
      cpu - cpu used
      Returns:
      the DisassembledInstruction