Package CPU.instructions.SUB2Dn
Class SUB_AnContent
java.lang.Object
CPU.instructions.SUB2Dn.SUB_AnContent
- All Implemented Interfaces:
InstructionSet
The SUB/SUBA instruction where the destination is a data/address register and the source is (An).
1101dddooommmrrr
where
ddd is the destination register
ooo is the opmode : 000 = byte, 001 = word , 010 =long, 011 = word SUBA, 111 = long SUB
mmm = ea mode =010,
rrr = source register
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final DisassembledInstruction
disassembleOp
(int address, int opcode, Size sz, String reg, 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, String reg, MC68000Cpu cpu)
-