Package CPU.instructions.SUB2EA
Class SUB_L
java.lang.Object
CPU.instructions.SUB2EA.SUB_L
- All Implemented Interfaces:
InstructionSet
The SUB instruction where the source is Dn and the destination is L.
1101dddooommmrrr
where
ddd is the destination register
ooo is the opmode : 100 = byte, 101 = word , 110 =long
mmm = ea mode =111,
rrr = 1
-
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
-
SUB_L
public SUB_L()
-
-
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)
-