dioscuri.module.cpu
Class Instruction_REPNE

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

public class Instruction_REPNE
extends java.lang.Object
implements Instruction

Intel opcode F2
Repeat execution of string instruction until CX == 0 or ZF is set.
Target string instruction is next instruction.
Flags modified: none; however, the CMPS and SCAS instructions do set status flags


Constructor Summary
Instruction_REPNE()
          Class constructor
Instruction_REPNE(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Repeat string instruction until CX == 0 or ZF == 1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_REPNE

public Instruction_REPNE()
Class constructor


Instruction_REPNE

public Instruction_REPNE(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
             throws CPUInstructionException
Repeat string instruction until CX == 0 or ZF == 1

Specified by:
execute in interface Instruction
Throws:
CPUInstructionException