Package CPU.instructions
Class EXG
java.lang.Object
CPU.instructions.EXG
- All Implemented Interfaces:
InstructionSet
The EXG instruction in all of its variants.
1100ddd1ooooosss =0xc100
where ddd = dest reg
rrr = src reg
ooooo = opmode 01000 = exchange data regs
01001 = exchange addr regs
10001 = xchange addr and data regs, the data reg is the dest reg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final DisassembledInstruction
disassembleOp
(int address, int opcode) final void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
EXG
public EXG()
-
-
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
-