Package CPU.instructions.ASR
Class ASRmem
java.lang.Object
CPU.instructions.ASR.ASRmem
- All Implemented Interfaces:
InstructionSet
The ASR instruction where data to be shifted is in memory.
1110000011mmmrrr = 0xe0C0
mmm = mode 010
rrr = data register to be shifted
ccc = dataregister containing the shift count (modulo 64)
ss =size : 00 = byte
01 = word
10 = long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
register
(MC68000Cpu cpu2) Registers the InstructionSet with the cpu.
-
Constructor Details
-
ASRmem
public ASRmem()
-
-
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.
-