dioscuri.module.cpu
Class Instruction_INC_DI

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

public class Instruction_INC_DI
extends java.lang.Object
implements Instruction

Intel opcode 47
Increment index register DI.
Flags modified: OF, SF, ZF, AF, PF


Constructor Summary
Instruction_INC_DI()
          Class constructor
Instruction_INC_DI(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Increment general register DI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_INC_DI

public Instruction_INC_DI()
Class constructor


Instruction_INC_DI

public Instruction_INC_DI(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Increment general register DI

Specified by:
execute in interface Instruction