using System; using System.Collections.Generic; using System.Reflection.Emit; using System.Text; using Sunweaver.Commands.Attributes; using Sunweaver.VM; namespace Sunweaver.Commands { [BasePair("Returns the maximum of the top two values of the integer stack.")] public class max : Abstracts.BinaryOperation { public override void Operation(long a, long b) { VM.Stack.Push(Math.Max(a, b)); } public override void CompileOperation(ILGenerator il, Locals locals) { throw new NotImplementedException(); } } }