Package CPU.instructions
Class BCHGimm
java.lang.Object
CPU.instructions.BCHGimm
- All Implemented Interfaces:
InstructionSet
The BCHG instruction where the bit number is contained in a word following the instruction, in all of its variants.
fedcba9876543210
0000100001mmmrrr = 840
where bbb = reg with bit number
rrr = reg for ea
mmm = mode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
BCHGimm
public BCHGimm()
-
-
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.
-