Package CPU.instructions.CLR
Class CLR_Dn
java.lang.Object
CPU.instructions.CLR.CLR_Dn
- All Implemented Interfaces:
InstructionSet
The CLR instruction where the destination is Dn.
01000010 =0x42
ssmmmrrr
where ss = size (00 =byte, 01= word, 10=long)
mmm =detination mode
rrr= 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
-
CLR_Dn
public CLR_Dn()
-
-
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)
-