public static void PerformRMRRAssignmentOperation(LM1 machine) { machine.SetCpuMemoryCell(machine.GetAddressOperand(machine.currentAddress, 1), machine.GetValueOperand(machine.currentAddress, 2)); machine.GoToNextAddress(); }
public static void PerformFromRInMAssignmentOperation(LM1 machine) { machine.SetVariableInMemory(machine.GetAddressOperand(machine.currentAddress, 2), machine.GetCpuMemoryCell(machine.GetAddressOperand(machine.currentAddress, 1))); machine.GoToNextAddress(); }