nl.kbna.dioscuri.module.cpu
Class Instruction_GRP11_MOV_EbIb

java.lang.Object
  extended by 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


Field Summary
(package private)  byte addressByte
           
private  CPU cpu
           
(package private)  byte[] destinationRegister
           
(package private)  byte displacement
           
(package private)  int intermediateResult
           
(package private)  byte[] memoryReferenceDisplacement
           
(package private)  byte[] memoryReferenceLocation
           
(package private)  boolean operandWordSize
           
(package private)  byte registerHighLow
           
 
Constructor Summary
Instruction_GRP11_MOV_EbIb()
          Class constructor
Instruction_GRP11_MOV_EbIb(CPU processor)
          Class constructor specifying processor reference
 
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
 

Field Detail

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
Constructor Detail

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
Method Detail

execute

public void execute()
             throws CPUInstructionException
MOV immediate byte into memory/register.

Specified by:
execute in interface Instruction
Throws:
CPUInstructionException