Class LdStr
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Cosmos.IL2CPU.X86.IL
Assembly: Cosmos.IL2CPU.dll
Syntax
[OpCode(ILOpCode.Code.Ldstr)]
public class LdStr : ILOp
Constructors
| Improve this Doc View SourceLdStr(Assembler)
Declaration
public LdStr(Assembler aAssembler)
Parameters
Type | Name | Description |
---|---|---|
Assembler | aAssembler |
Methods
| Improve this Doc View SourceExecute(Il2cpuMethodInfo, ILOpCode)
Declaration
public override void Execute(Il2cpuMethodInfo aMethod, ILOpCode aOpCode)
Parameters
Type | Name | Description |
---|---|---|
Il2cpuMethodInfo | aMethod | |
ILOpCode | aOpCode |
Overrides
| Improve this Doc View SourceGetContentsArrayName(Assembler, String)
Create a new string literal to be included in the assembly
Declaration
public static string GetContentsArrayName(Assembler assembler, string aLiteral)
Parameters
Type | Name | Description |
---|---|---|
Assembler | assembler | |
System.String | aLiteral |
Returns
Type | Description |
---|---|
System.String |
PushString(Assembler, String)
Emit X# instructions to push a specified string value to the stack as an 64bit pointer
Declaration
public static void PushString(Assembler aAssembler, string aValue)
Parameters
Type | Name | Description |
---|---|---|
Assembler | aAssembler | |
System.String | aValue |
Exceptions
Type | Condition |
---|---|
System.Exception |