public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);
            string value = doc.Resolve(m_value);

            doc.AppendLineFormat("{0} = {1};", name, value);
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);
            string options = doc.Resolve(m_options);

            doc.AppendLineFormat("        {0} {1}", name, options);
        } 
        public override void EvaluateStatement(Document doc)
        {
            string name    = doc.Resolve(m_name);
            string options = doc.Resolve(m_options);

            doc.AppendLineFormat("        {0} {1}", name, options);
        }
        public override void EvaluateStatement(Document doc)
        {
            string name  = doc.Resolve(m_name);
            string value = doc.Resolve(m_value);

            doc.AppendLineFormat("{0} = {1};", name, value);
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);
            string baseAddress = doc.Resolve(m_baseAddress);
            string options = doc.Resolve(m_options);
            string size = doc.Resolve(m_size);

            doc.AppendLineFormat("    {0} : ORIGIN = {1}, LENGTH = {2}", name, baseAddress, size);
        }
        public override void EvaluateStatement(Document doc)
        {
            string name        = doc.Resolve(m_name);
            string baseAddress = doc.Resolve(m_baseAddress);
            string options     = doc.Resolve(m_options);
            string size        = doc.Resolve(m_size);

            doc.AppendLineFormat("    {0} : ORIGIN = {1}, LENGTH = {2}", name, baseAddress, size);
        }
Exemple #7
0
        public override void EvaluateStatement(Document doc)
        {
            string name        = doc.Resolve(m_name);
            string baseAddress = doc.Resolve(m_baseAddress);
            string options     = doc.Resolve(m_options);
            string size        = doc.Resolve(m_size);

            doc.AppendLineFormat("{0} {1} {2} {3}", name, baseAddress, options, size);
            doc.AppendLine("{"); EvaluateStatementInner(doc);
            doc.AppendLine("}");
        }
        public override void EvaluateStatement(Document doc)
        {
            string name        = doc.Resolve( m_name        );
            string baseAddress = doc.Resolve( m_baseAddress );
            string options     = doc.Resolve( m_options     );
            string size        = doc.Resolve( m_size        );

            doc.AppendLineFormat( "{0} {1} {2} {3}", name, baseAddress, options, size );
            doc.AppendLine      ( "{"                                               ); EvaluateStatementInner( doc );
            doc.AppendLine      ( "}"                                               );
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);

            doc.AppendLineFormat("{0}", name);
            doc.AppendLine("{"); EvaluateStatementInner(doc);
            doc.AppendLine("}");
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);

            doc.AppendLineFormat("{0}", name);
            doc.AppendLine("{"); EvaluateStatementInner(doc);
            doc.AppendLine("}");
        }
        public void EvaluateStatement(Document doc)
        {
            string   file = doc.Resolve(m_file);
            Document doc2 = Document.Load(file, doc);

            foreach (string res in doc2.Execute())
            {
                doc.AppendLine(res);
            }
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);
            string baseAddress = doc.Resolve(m_baseAddress);
            string align = doc.Resolve(m_align);
            string options = doc.Resolve(m_options);
            string size = doc.Resolve(m_size);

            if (align.Length > 0)
            {
                doc.AppendLineFormat("    {0} {1} : ALIGN({2})", name, baseAddress, align);
            }
            else
            {
                doc.AppendLineFormat("    {0} {1} :", name, baseAddress);
            }

            doc.AppendLine("    {"); EvaluateStatementInner(doc);
            doc.AppendLineFormat("    }}{0}", options);
        }
        public override void EvaluateStatement(Document doc)
        {
            string name        = doc.Resolve(m_name);
            string baseAddress = doc.Resolve(m_baseAddress);
            string align       = doc.Resolve(m_align);
            string options     = doc.Resolve(m_options);
            string size        = doc.Resolve(m_size);

            if (align.Length > 0)
            {
                doc.AppendLineFormat("    {0} {1} : ALIGN({2})", name, baseAddress, align);
            }
            else
            {
                doc.AppendLineFormat("    {0} {1} :", name, baseAddress);
            }

            doc.AppendLine("    {"); EvaluateStatementInner(doc);
            doc.AppendLineFormat("    }}{0}", options);
        }
        public void EvaluateStatement( Document doc )
        {
            string   file = doc     .Resolve( m_file      );
            Document doc2 = Document.Load   (   file, doc );

            foreach(string res in doc2.Execute())
            {
                doc.AppendLine( res );
            }
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);

            doc.AppendLineFormat("        PROVIDE({0} = .);", name);
        }
		public void EvaluateStatement( Document doc )
		{
			doc.AddVariable( m_name, doc.Resolve( m_value ) );
		}
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);

            doc.AppendLineFormat("ENTRY({0})", name);
        }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);

            doc.AppendLineFormat("        PROVIDE({0} = .);", name);
        }
 public void EvaluateStatement(Document doc)
 {
     doc.AddVariable(m_name, doc.Resolve(m_value));
 }
        public override void EvaluateStatement(Document doc)
        {
            string name = doc.Resolve(m_name);

            doc.AppendLineFormat("ENTRY({0})", name);
        }