Class EXT

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

public class EXT extends Object implements InstructionSet
The EXT instruction in all of its variants. fedcba9876543210 0100100ooo000rrr where oo = opmode = 010 for b. to w 011 for w to l, 111 for b to l rrr = reg to be extended ooooo = opmode 01000 = exchange data regs 01001 = exchange addr regs 10001 = xchange addr and data regs, the data reg is the dest reg
  • Constructor Details

    • EXT

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