using System; using System.Collections.Generic; using System.Reflection.Emit; using System.Text; using Sunweaver.VM; namespace Sunweaver.Commands { [Commands.Attributes.BasePair("Returns TRUE if the top value of the integer stack is less than or equal to the " + "second value of the integer stack. FALSE otherwise.")] public class LessEqual : Commands.Abstracts.BinaryOperation { public override void Operation(long a, long b) { VM.BoolStack.Push(a <= b); } public override string ToString() { return "<="; } public override void CompileOperation(ILGenerator il, Locals locals) { throw new NotImplementedException(); } } }