Class Assembler
Inheritance
System.Object
Assembler
Assembly: XSharp.dll
Syntax
public class Assembler : object
Constructors
|
Improve this Doc
View Source
Assembler()
Declaration
|
Improve this Doc
View Source
Assembler(Boolean)
Declaration
public Assembler(bool aFormat = false)
Parameters
Type |
Name |
Description |
System.Boolean |
aFormat |
|
Fields
|
Improve this Doc
View Source
mAsmIlIdx
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
mCurrentIlLabel
Declaration
protected string mCurrentIlLabel
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
mDataMembers
Declaration
protected List<DataMember> mDataMembers
Field Value
|
Improve this Doc
View Source
mGdCode
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
mGdData
Declaration
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
mInstructions
Declaration
protected List<Instruction> mInstructions
Field Value
Properties
|
Improve this Doc
View Source
AddSymbol
Declaration
public string AddSymbol { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
AsmIlIdx
Declaration
public int AsmIlIdx { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CurrentIlLabel
Declaration
public string CurrentIlLabel { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CurrentInstance
Declaration
public static Assembler CurrentInstance { get; }
Property Value
|
Improve this Doc
View Source
DataMembers
Declaration
public List<DataMember> DataMembers { get; set; }
Property Value
|
Improve this Doc
View Source
EmitAsmLabels
Declaration
public bool EmitAsmLabels { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool Format { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Instructions
Declaration
public List<Instruction> Instructions { get; set; }
Property Value
|
Improve this Doc
View Source
Separator
Declaration
public string Separator { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Add(Instruction)
Declaration
public void Add(Instruction aReader)
Parameters
|
Improve this Doc
View Source
Add(Instruction[])
Declaration
public void Add(params Instruction[] aReaders)
Parameters
|
Improve this Doc
View Source
BeforeFlush()
Declaration
protected void BeforeFlush()
|
Improve this Doc
View Source
BeforeFlushText(TextWriter)
Declaration
protected virtual void BeforeFlushText(TextWriter aOutput)
Parameters
Type |
Name |
Description |
TextWriter |
aOutput |
|
|
Improve this Doc
View Source
ClearCurrentInstance()
Declaration
public static void ClearCurrentInstance()
|
Improve this Doc
View Source
FlushBinary(Stream, UInt64)
Declaration
public virtual void FlushBinary(Stream aOutput, ulong aBaseAddress)
Parameters
Type |
Name |
Description |
Stream |
aOutput |
|
System.UInt64 |
aBaseAddress |
|
|
Improve this Doc
View Source
FlushText(TextWriter)
Declaration
public virtual void FlushText(TextWriter aOutput)
Parameters
Type |
Name |
Description |
TextWriter |
aOutput |
|
|
Improve this Doc
View Source
GetAssemblerElement(Int32)
Declaration
public BaseAssemblerElement GetAssemblerElement(int aIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
aIndex |
|
Returns
|
Improve this Doc
View Source
GetIdentifier(String)
Declaration
public string GetIdentifier(string aPrefix)
Parameters
Type |
Name |
Description |
System.String |
aPrefix |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OnBeforeFlush()
Declaration
protected virtual void OnBeforeFlush()
|
Improve this Doc
View Source
OnFlushTextAfterEmitEverything(TextWriter)
Declaration
protected virtual void OnFlushTextAfterEmitEverything(TextWriter aOutput)
Parameters
Type |
Name |
Description |
TextWriter |
aOutput |
|
|
Improve this Doc
View Source
TryResolveReference(ElementReference)
Declaration
public BaseAssemblerElement TryResolveReference(ElementReference aReference)
Parameters
Returns