Esempio n. 1
0
 protected override void ExecuteInstruction()
 {
     if (wordSize == 0)
     {
         EU.WritePort(wordSize, port, EU.Registers.AL);
     }
     else
     {
         EU.WritePort(wordSize, port, EU.Registers.AX);
     }
 }
Esempio n. 2
0
 protected override void DoInstruction()
 {
     EU.WritePort(wordSize, EU.Registers.DX, Bus.GetDestString(wordSize, EU.Registers.SI));
     if (EU.CondReg.DirectionFlag)
     {
         EU.Registers.SI -= (ushort)(wordSize + 1);
     }
     else
     {
         EU.Registers.SI += (ushort)(wordSize + 1);
     }
 }