Class ADDXreg

java.lang.Object
CPU.instructions.ADDXreg
All Implemented Interfaces:
InstructionSet

public class ADDXreg extends Object implements InstructionSet
The ADDX instruction (register to register) in all of its variants. fedcba9876543210 1101ddd1ss000rrr = D100 where rrr = source reg ss = size ddd = destination reg
  • Constructor Details

    • ADDXreg

      public ADDXreg()
  • 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