mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
27 lines
No EOL
604 B
C#
27 lines
No EOL
604 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Compiler.Assembler.X86
|
|
{
|
|
public class ExternalLabel: Instruction
|
|
{
|
|
public ExternalLabel(string aName):base()
|
|
{
|
|
Name = aName;
|
|
}
|
|
|
|
public string Name
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public override void WriteText( Cosmos.Compiler.Assembler.Assembler aAssembler, System.IO.TextWriter aOutput )
|
|
{
|
|
aOutput.Write("extern ");
|
|
aOutput.Write(Name);
|
|
}
|
|
}
|
|
} |