Package CPU.instructions
Class SUBXreg
java.lang.Object
CPU.instructions.SUBXreg
- All Implemented Interfaces:
InstructionSet
The SUBX instruction (mem to mem) in all of its variants.
fedcba9876543210
1001ddd1ss001rrr = 9100
where rrr = source reg
ss = size
ddd = destination reg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final DisassembledInstruction
disassembleOp
(int address, int opcode, Size sz, MC68000Cpu cpu) final void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
SUBXreg
public SUBXreg()
-
-
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
protected final DisassembledInstruction disassembleOp(int address, int opcode, Size sz, MC68000Cpu cpu)
-