示例#1
0
文件: CALL.cs 项目: dolbz/Z80Sharp
 public void Reset()
 {
     IsComplete = false;
     _addressMode.Reset();
     _reader          = null;
     _pushInstruction = null;
 }
示例#2
0
文件: CALL.cs 项目: dolbz/Z80Sharp
 private void SetupPushOrComplete()
 {
     if (_reader.IsComplete)
     {
         if (_jumpCondition.ShouldJump(_cpu))
         {
             _pushInstruction = new PUSH(_cpu, WideRegister.PC, additionalM1TCycles: 0);
             _pushInstruction.StartExecution();
         }
         else
         {
             IsComplete = true;
         }
     }
 }