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