Class ADD_d16PC

java.lang.Object
CPU.instructions.ADD2Dn.ADD_d16PC
All Implemented Interfaces:
InstructionSet

public class ADD_d16PC extends Object implements InstructionSet
The ADD/ADDA instruction where the destination is a data/addr register and the source is d16(Pc).
  • Constructor Details

    • ADD_d16PC

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