nl.kbna.dioscuri.module.cpu
Class Instruction_GRP11_MOV_EbIb
java.lang.Object
nl.kbna.dioscuri.module.cpu.Instruction_GRP11_MOV_EbIb
- All Implemented Interfaces:
- Instruction
public class Instruction_GRP11_MOV_EbIb
- extends java.lang.Object
- implements Instruction
Intel opcode C6
Group 11 opcode extension: MOV immediate byte (source) into memory/register (destination).
Performs the selected instruction (indicated by bits 5, 4, 3 of the ModR/M byte) using immediate data.
NOTE: Only one instruction in group (MOV EbIb, reg=000).
Flags modified: none
|
Method Summary |
void |
execute()
MOV immediate byte into memory/register. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cpu
private CPU cpu
operandWordSize
boolean operandWordSize
addressByte
byte addressByte
memoryReferenceDisplacement
byte[] memoryReferenceDisplacement
memoryReferenceLocation
byte[] memoryReferenceLocation
destinationRegister
byte[] destinationRegister
intermediateResult
int intermediateResult
displacement
byte displacement
registerHighLow
byte registerHighLow
Instruction_GRP11_MOV_EbIb
public Instruction_GRP11_MOV_EbIb()
- Class constructor
Instruction_GRP11_MOV_EbIb
public Instruction_GRP11_MOV_EbIb(CPU processor)
- Class constructor specifying processor reference
- Parameters:
processor - Reference to CPU class
execute
public void execute()
throws CPUInstructionException
- MOV immediate byte into memory/register.
- Specified by:
execute in interface Instruction
- Throws:
CPUInstructionException