Class ASLreg

java.lang.Object
CPU.instructions.ASL.ASLreg
All Implemented Interfaces:
InstructionSet

public class ASLreg extends Object implements InstructionSet
The ASL instruction where data to be shifted is in a data reg and the shift count is in another data reg. 1110ccc1ss100rrr = 0xe120 mmm = mode 010 rrr = data register to be shifted ccc = dataregister containing the shift count (modulo 64) ss =size : 00 = byte 01 = word 10 = long
  • Constructor Details

    • ASLreg

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