using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Indy.IL2CPU.Assembler.X86 { [OpCode(0xFFFFFFFF, "push")] public class Push: Instruction { public readonly string[] Arguments; public readonly string Size; public Push(string aSize, string aArgument): this(new string[] {aArgument}) { Size = aSize; } public Push(params string[] aArguments) { Arguments = aArguments; } public override string ToString() { string xResult = "push"; if(!String.IsNullOrEmpty(Size)){ xResult += " " + Size; } foreach (string A in Arguments) { xResult += " " + A; } return xResult; } } }