dioscuri.module.cpu
Class Instruction_MOVS_XbYb

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

public class Instruction_MOVS_XbYb
extends java.lang.Object
implements Instruction

Intel opcode A4
Move string byte at address DS:(E)SI to address ES:(E)DI.
After move, contents of SI and DI are incremented or decremented based on DF flag:
Byte: +/- 1, word: +/- 2, doubleword: +/-4.
Flags modified: none


Constructor Summary
Instruction_MOVS_XbYb()
          Class constructor
Instruction_MOVS_XbYb(CPU processor)
          Class constructor specifying processor reference
 
Method Summary
 void execute()
          Move byte at address DS:(E)SI to address ES:(E)DI and increment/decrement both depending on DF flag.
Flags modified: none
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction_MOVS_XbYb

public Instruction_MOVS_XbYb()
Class constructor


Instruction_MOVS_XbYb

public Instruction_MOVS_XbYb(CPU processor)
Class constructor specifying processor reference

Parameters:
processor - Reference to CPU class
Method Detail

execute

public void execute()
Move byte at address DS:(E)SI to address ES:(E)DI and increment/decrement both depending on DF flag.
Flags modified: none

Specified by:
execute in interface Instruction