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