public void Execute() { var t_Value = m_First.Load <int>() - m_Second.Load <int>(); m_Destination.Store(t_Value); }
public void Execute() { if (m_CompareLocation.Load <byte>() == 0) { m_Destination.Store(m_Value); } }
public void ExecuteLoadIfZeroOperation() { var t_Destination = new MemoryLocation(new MemoryAddress(4), m_Bank); new OpLoadConstIfZero <int>(5, t_Destination, new MemoryLocation(new MemoryAddress(8), m_Bank)) .Execute(); t_Destination.Load <int>() .Should().Be(5); }
public void Execute() { m_To.Store(m_From.Load <T>()); }