Class Branching
Class that processes conditional branches for X#.
Inheritance
System.Object
Branching
Assembly: XSharp.dll
Syntax
public class Branching : Emitters
Constructors
|
Improve this Doc
View Source
Branching(Compiler, Assembler)
Declaration
public Branching(Compiler aCompiler, Assembler aAsm)
Parameters
Methods
|
Improve this Doc
View Source
IfConditionGoto(String, String, Object[], String, String)
Declaration
protected void IfConditionGoto(string aOpIf, string aSize, object[] aCompareData, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
System.String |
aSize |
|
System.Object[] |
aCompareData |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfConditionPureBlockStart(String, String, String)
Declaration
protected void IfConditionPureBlockStart(string aOpIf, string aOpPureComparators, string aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
System.String |
aOpPureComparators |
|
System.String |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfConditionPureGoto(String, String, String, String)
Declaration
protected void IfConditionPureGoto(string aOpIf, string aOpPureComparators, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
System.String |
aOpPureComparators |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfConditionPureReturn(String, String, String)
Declaration
protected void IfConditionPureReturn(string aOpIf, string aPureComparator, string aReturns)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
System.String |
aPureComparator |
|
System.String |
aReturns |
|
|
Improve this Doc
View Source
IfRegisterConditionConst(String, Register, String, Object, Object)
Declaration
protected void IfRegisterConditionConst(string aOpIf, Register aRegister, string aOpCompare, object aValue, object aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.Object |
aValue |
|
System.Object |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfRegisterConditionConst(String, Register, String, String, Object)
Declaration
protected void IfRegisterConditionConst(string aOpIf, Register aRegister, string aOpCompare, string aValue, object aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.String |
aValue |
|
System.Object |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfRegisterConditionConstGoto(String, Register, String, String, String, String)
Declaration
protected void IfRegisterConditionConstGoto(string aOpIf, Register aRegister, string aOpCompare, string aValue, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.String |
aValue |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfRegisterConditionConstReturn(String, Register, String, String, Object)
Declaration
protected void IfRegisterConditionConstReturn(string aOpIf, Register aRegister, string aOpCompare, string aValue, object aOpReturn)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.String |
aValue |
|
System.Object |
aOpReturn |
|
|
Improve this Doc
View Source
IfRegisterConditionIntGoto(String, Register, String, Object, String, String)
Declaration
protected void IfRegisterConditionIntGoto(string aOpIf, Register aRegister, string aOpCompare, object aValue, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.Object |
aValue |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfRegisterConditionRegister(String, Register, String, Register, Object)
Declaration
protected void IfRegisterConditionRegister(string aOpIf, Register aLeftRegister, string aOpCompare, Register aRightRegister, object aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aLeftRegister |
|
System.String |
aOpCompare |
|
Register |
aRightRegister |
|
System.Object |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfRegisterConditionRegisterGoto(String, Register, String, Register, String, String)
Declaration
protected void IfRegisterConditionRegisterGoto(string aOpIf, Register aLeftRegister, string aOpCompare, Register aRightRegister, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aLeftRegister |
|
System.String |
aOpCompare |
|
Register |
aRightRegister |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfRegisterConditionRegisterReturn(String, Register, String, Object, Object)
Declaration
protected void IfRegisterConditionRegisterReturn(string aOpIf, Register aRegister, string aOpCompare, object aValue, object aOpReturn)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.Object |
aValue |
|
System.Object |
aOpReturn |
|
|
Improve this Doc
View Source
IfRegisterConditionVariable(String, Register, String, Address, Object)
Declaration
protected void IfRegisterConditionVariable(string aOpIf, Register aRegister, string aOpCompare, Address aValue, object aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
Address |
aValue |
|
System.Object |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfRegisterConditionVariable(String, Register, String, Address, String, String)
Declaration
protected void IfRegisterConditionVariable(string aOpIf, Register aRegister, string aOpCompare, Address aValue, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
Address |
aValue |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfRegisterConditionVariableAddress(String, Register, String, String, Object)
Declaration
protected void IfRegisterConditionVariableAddress(string aOpIf, Register aRegister, string aOpCompare, string aValue, object aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.String |
aValue |
|
System.Object |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfRegisterConditionVariableAddressGoto(String, Register, String, String, String, String)
Declaration
protected void IfRegisterConditionVariableAddressGoto(string aOpIf, Register aRegister, string aOpCompare, string aValue, string aGotoKeyword, string aLabel)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.String |
aValue |
|
System.String |
aGotoKeyword |
|
System.String |
aLabel |
|
|
Improve this Doc
View Source
IfRegisterConditionVariableAddressReturn(String, Register, String, String, Object)
Declaration
protected void IfRegisterConditionVariableAddressReturn(string aOpIf, Register aRegister, string aOpCompare, string aValue, object aOpReturn)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
System.String |
aValue |
|
System.Object |
aOpReturn |
|
|
Improve this Doc
View Source
IfRegisterConditionVariableReturn(String, Register, String, Address, Object)
Declaration
protected void IfRegisterConditionVariableReturn(string aOpIf, Register aRegister, string aOpCompare, Address aValue, object aOpReturn)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
Address |
aValue |
|
System.Object |
aOpReturn |
|
|
Improve this Doc
View Source
IfSizeAdressConditionConst(String, String, Address, String, String, Object)
Declaration
protected void IfSizeAdressConditionConst(string aOpIf, string aSize, Address aAdress, string aOpCompare, string aConstant, object aOpOpenBrace)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
System.String |
aSize |
|
Address |
aAdress |
|
System.String |
aOpCompare |
|
System.String |
aConstant |
|
System.Object |
aOpOpenBrace |
|
|
Improve this Doc
View Source
IfSizeRegisterConditionVariableReturn(String, String, Register, String, Address, Object)
Declaration
protected void IfSizeRegisterConditionVariableReturn(string aOpIf, string aSize, Register aRegister, string aOpCompare, Address aValue, object aOpReturn)
Parameters
Type |
Name |
Description |
System.String |
aOpIf |
|
System.String |
aSize |
|
Register |
aRegister |
|
System.String |
aOpCompare |
|
Address |
aValue |
|
System.Object |
aOpReturn |
|
See Also