Esempio n. 1
0
        public static Instruction Create(int loopnumber)
        {
            var ins = AsmNext_Small.Create(loopnumber);

            if (ins.Success)
            {
                return(ins);
            }
            return(AsmNext_Large.Create(loopnumber));
        }
Esempio n. 2
0
        public static new Instruction Create(int loopnumber)
        {
            if (loopnumber >= 1 << 10 || loopnumber < 0)
            {
                return(Failed.OutOfRange);
            }
            var ins = new AsmNext_Small();

            ins.LoopNumber = loopnumber;
            return(ins);
        }