Class Assignments
The class that provides assignments for different types.
Inheritance
System.Object
Assignments
Assembly: XSharp.dll
Syntax
public class Assignments : Emitters
Constructors
|
Improve this Doc
View Source
Assignments(Compiler, Assembler)
Declaration
public Assignments(Compiler aCompiler, Assembler aAsm)
Parameters
Methods
|
Improve this Doc
View Source
IntegerAssignToMemory(String, Register, String, String, Object)
Declaration
protected void IntegerAssignToMemory(string aOpOpenBracket, Register aTargetRegisterRoot, string aOpCloseBracket, string aOpEquals, object source)
Parameters
| Type |
Name |
Description |
| System.String |
aOpOpenBracket |
|
| Register |
aTargetRegisterRoot |
|
| System.String |
aOpCloseBracket |
|
| System.String |
aOpEquals |
|
| System.Object |
source |
|
|
Improve this Doc
View Source
MemoryAssignToReg(Register, String, String, Register, String)
Declaration
protected void MemoryAssignToReg(Register aRegister, string aOpEquals, string aOpOpenBracket, Register aSourceRegister, string aOpCloseBracket)
Parameters
| Type |
Name |
Description |
| Register |
aRegister |
|
| System.String |
aOpEquals |
|
| System.String |
aOpOpenBracket |
|
| Register |
aSourceRegister |
|
| System.String |
aOpCloseBracket |
|
|
Improve this Doc
View Source
MemoryAssignToReg(Register, String, String, Register, String, Object, String)
Declaration
protected void MemoryAssignToReg(Register aDestReg, string aOpEquals, string aOpOpen, Register aSrc, string aOp, object aOffset, string aOpClose)
Parameters
| Type |
Name |
Description |
| Register |
aDestReg |
|
| System.String |
aOpEquals |
|
| System.String |
aOpOpen |
|
| Register |
aSrc |
|
| System.String |
aOp |
|
| System.Object |
aOffset |
|
| System.String |
aOpClose |
|
|
Improve this Doc
View Source
RegAssignConst(Register, String, String)
Declaration
protected void RegAssignConst(Register aReg, string aEquals, string aVal)
Parameters
| Type |
Name |
Description |
| Register |
aReg |
|
| System.String |
aEquals |
|
| System.String |
aVal |
|
|
Improve this Doc
View Source
RegAssignNum(Register, String, Object)
Declaration
protected void RegAssignNum(Register aDestReg, string aEquals, object aVal)
Parameters
| Type |
Name |
Description |
| Register |
aDestReg |
|
| System.String |
aEquals |
|
| System.Object |
aVal |
|
|
Improve this Doc
View Source
RegAssignStringListeral(Register, String, String)
Declaration
protected void RegAssignStringListeral(Register aReg, string aEquals, string aVal)
Parameters
| Type |
Name |
Description |
| Register |
aReg |
|
| System.String |
aEquals |
|
| System.String |
aVal |
|
|
Improve this Doc
View Source
RegAssignToMemory(String, Register, String, Object, String, String, Register)
Declaration
protected void RegAssignToMemory(string aOpOpenBracket, Register aTargetRegisterRoot, string aOpOperator, object aOffset, string aOpCloseBracket, string aOpEquals, Register source)
Parameters
| Type |
Name |
Description |
| System.String |
aOpOpenBracket |
|
| Register |
aTargetRegisterRoot |
|
| System.String |
aOpOperator |
|
| System.Object |
aOffset |
|
| System.String |
aOpCloseBracket |
|
| System.String |
aOpEquals |
|
| Register |
source |
|
|
Improve this Doc
View Source
RegAssignToMemory(String, Register, String, String, Register)
Declaration
protected void RegAssignToMemory(string aOpOpenBracket, Register aTargetRegisterRoot, string aOpCloseBracket, string aOpEquals, Register source)
Parameters
| Type |
Name |
Description |
| System.String |
aOpOpenBracket |
|
| Register |
aTargetRegisterRoot |
|
| System.String |
aOpCloseBracket |
|
| System.String |
aOpEquals |
|
| Register |
source |
|
|
Improve this Doc
View Source
RegAssignVar(Register, String, Address)
Declaration
protected void RegAssignVar(Register aReg, string aEquals, Address aVal)
Parameters
|
Improve this Doc
View Source
RegAssignVarAddress(Register, String, String)
Declaration
protected void RegAssignVarAddress(Register aReg, string aEquals, string aVal)
Parameters
| Type |
Name |
Description |
| Register |
aReg |
|
| System.String |
aEquals |
|
| System.String |
aVal |
|
|
Improve this Doc
View Source
RegAssigReg(Register, String, Register)
Declaration
protected void RegAssigReg(Register aDestReg, string aEquals, Register aSrcReg)
Parameters
|
Improve this Doc
View Source
VariableAssignment(Address, String, Object)
Declaration
protected void VariableAssignment(Address aVariableName, string aOpEquals, object aValue)
Parameters
| Type |
Name |
Description |
| Address |
aVariableName |
|
| System.String |
aOpEquals |
|
| System.Object |
aValue |
|
|
Improve this Doc
View Source
VariableAssignToMemory(String, Register, String, String, Address)
Declaration
protected void VariableAssignToMemory(string aOpOpenBracket, Register aTargetRegisterRoot, string aOpCloseBracket, string aOpEquals, Address source)
Parameters
| Type |
Name |
Description |
| System.String |
aOpOpenBracket |
|
| Register |
aTargetRegisterRoot |
|
| System.String |
aOpCloseBracket |
|
| System.String |
aOpEquals |
|
| Address |
source |
|
See Also