예제 #1
0
        /// <summary>
        /// Creates temporary variable.
        /// </summary>
        /// <param name="fmt">Format of variable.</param>
        /// <returns>Variable that can be assigned.</returns>
        public Operand CreateTemporary(PinFormat fmt, uint size)
        {
            int name = GenerateNextUniqueName();

            compiler.RegisterTemp(name, fmt, size);
            return(new Operand(fmt, name, size, true));
        }