Package CPU.instructions
Class EXT
java.lang.Object
CPU.instructions.EXT
- All Implemented Interfaces:
InstructionSet
The EXT instruction in all of its variants.
fedcba9876543210
0100100ooo000rrr
where oo = opmode = 010 for b. to w 011 for w to l, 111 for b to l
rrr = reg to be extended
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 TypeMethodDescriptionfinal void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
EXT
public EXT()
-
-
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.
-