Class BSR

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

public class BSR extends Object implements InstructionSet
The emulated BSR instruction in all of its variants.
  • Constructor Details

    • BSR

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

      public DisassembledInstruction disassembleOp(int address, int opcode, MC68000Cpu cpu)
      Disassemble the instruction.
      Parameters:
      address - address of op in memory
      opcode - MC68000 opcode of operation
      cpu - cpu used
      Returns:
      the DisassembledInstruction