Package CPU.instructions.SUBQ
Class SUBQ_An
java.lang.Object
CPU.instructions.SUBQ.SUBQ_An
- All Implemented Interfaces:
InstructionSet
The SUB instruction where destination is An.
This affects the entire reg and no condition codes are changed.
0101ddd1ssmmmrrr
where ddd= data (0=8)
ss= size (00=byte, 01 = word, 10 = long )
mmm = ea mode =001,
rrr = ea 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
-
SUBQ_An
public SUBQ_An()
-
-
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)
-