Package CPU.instructions.LEA
Class LEA_d8AnXn
java.lang.Object
CPU.instructions.LEA.LEA_d8AnXn
- All Implemented Interfaces:
InstructionSet
The LEA instruction where source is d8(An,Xn).
0100dddd111mmmrrr
where dd = destination reg
mmm = source mode = 110
rrr = source reg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
LEA_d8AnXn
public LEA_d8AnXn()
-
-
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.
-