public override string GenerateCode() { return(string.Format("if({0})\r\n{{\r\n {1} = {2}; \r\n}}\r\n", ImportVaribleName, SourceValue.GetValue(), DestinationValue.GetValue())); }
public override string GenerateCode() { return(string.Format("if({0})\r\n{{\r\n{3} = {1} - {2};\r\nif({3} == 0)\r\n{{\r\nMBit[8171] = 1;\r\n}}\r\nelse if({3} < 0)\r\n{{\r\nMBit[8170] = 1;\r\n}}\r\n}}\r\n", ImportVaribleName, InputValue1.GetValue(), InputValue2.GetValue(), OutputValue.GetValue())); }