dioscuri.module.cpu
Class Instruction_LEA_GvM

java.lang.Object
  extended by dioscuri.module.cpu.Instruction_LEA_GvM
All Implemented Interfaces:
Instruction

public class Instruction_LEA_GvM
extends java.lang.Object
implements Instruction

Intel opcode 8D
Load effective address computed from second operand (source) to register (destination).
The addressbyte determines the source (rrr bits, memory address) and destination (sss bits).
NOTE: The direction (d) bit in the opcode does not seems to be honored here!
Flags modified: none


Constructor Summary
Instruction_LEA_GvM()
          Class constructor
Instruction_LEA_GvM(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Load effective address computed from second operand (source) to register (destination).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_LEA_GvM

public Instruction_LEA_GvM()
Class constructor


Instruction_LEA_GvM

public Instruction_LEA_GvM(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Load effective address computed from second operand (source) to register (destination).

Specified by:
execute in interface Instruction