dioscuri.module.cpu
Class Instruction_SCAS_AXYv

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

public class Instruction_SCAS_AXYv
extends java.lang.Object
implements Instruction

Intel opcode AF
Compare AX with word at ES:(E)DI and set status flags.
ES:(E)DI is incremented/decremented depending on DF flag.
Flags modified: OF, SF, ZF, AF, PF, and CF.


Constructor Summary
Instruction_SCAS_AXYv()
          Class constructor
Instruction_SCAS_AXYv(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Compare AX with word at ES:(E)DI and set status flags.
ES:(E)DI is incremented/decremented depending on DF flag.
Flags modified: OF, SF, ZF, AF, PF, and CF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_SCAS_AXYv

public Instruction_SCAS_AXYv()
Class constructor


Instruction_SCAS_AXYv

public Instruction_SCAS_AXYv(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Compare AX with word at ES:(E)DI and set status flags.
ES:(E)DI is incremented/decremented depending on DF flag.
Flags modified: OF, SF, ZF, AF, PF, and CF.

Specified by:
execute in interface Instruction