dioscuri.module.cpu
Class Instruction_MOV_Imm_AX

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

public class Instruction_MOV_Imm_AX
extends java.lang.Object
implements Instruction

Intel opcode B8
Copy immediate word to register AX.
Flags modified: none


Constructor Summary
Instruction_MOV_Imm_AX()
          Class constructor
Instruction_MOV_Imm_AX(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Copy immediate word to register AX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_MOV_Imm_AX

public Instruction_MOV_Imm_AX()
Class constructor


Instruction_MOV_Imm_AX

public Instruction_MOV_Imm_AX(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Copy immediate word to register AX

Specified by:
execute in interface Instruction