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 two values of the integer stack are the same.")] public class Equal : 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(); } } }