using System; using System.Collections.Generic; using System.Text; using Sunweaver.Commands.Attributes; namespace Sunweaver.Commands.BinaryMath { [BasePair] public class store : Abstracts.BinaryOperation { public override void Operation(long a, long b) { //early out when stores are turned off if (!VM.BoolStack.Peek()) return; b = Math.Abs(b) % 1000; a = a % 10000; VM.mem[(int)b] = (Int16)a; } } }