Package CPU.instructions
Class BSR
java.lang.Object
CPU.instructions.BSR
- All Implemented Interfaces:
InstructionSet
The emulated BSR instruction in all of its variants.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisassembleOp
(int address, int opcode, MC68000Cpu cpu) Disassemble the instruction.final void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
BSR
public BSR()
-
-
Method Details
-
register
Description copied from interface:InstructionSet
Registers the InstructionSet with the cpu.- Specified by:
register
in interfaceInstructionSet
- Parameters:
cpu2
- the cpu to use.
-
disassembleOp
Disassemble the instruction.- Parameters:
address
- address of op in memoryopcode
- MC68000 opcode of operationcpu
- cpu used- Returns:
- the DisassembledInstruction
-