C# Class Mosa.Compiler.Framework.BaseInstruction

Inheritance: IInstruction
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
BaseInstruction ( byte resultCount, byte operandCount ) : System

Initializes a new instance of the BaseInstruction class.

GetSizeString ( InstructionSize size ) : string
Resolve ( Context ctx, BaseMethodCompiler compiler ) : void

Validates the specified instruction.

ToString ( ) : string

Returns a string representation of the context.

ToString ( InstructionNode node ) : string

Returns a System.String that represents this instance.

Méthodes protégées

Méthode Description
GetConditionString ( ConditionCode conditioncode ) : string

Gets the condition string.

GetModifier ( InstructionNode node ) : string

Gets the instruction modifier.

Method Details

BaseInstruction() public méthode

Initializes a new instance of the BaseInstruction class.
public BaseInstruction ( byte resultCount, byte operandCount ) : System
resultCount byte The result count.
operandCount byte The operand count.
Résultat System

GetConditionString() protected méthode

Gets the condition string.
protected GetConditionString ( ConditionCode conditioncode ) : string
conditioncode ConditionCode The condition code.
Résultat string

GetModifier() protected méthode

Gets the instruction modifier.
protected GetModifier ( InstructionNode node ) : string
node InstructionNode The node.
Résultat string

GetSizeString() public static méthode

public static GetSizeString ( InstructionSize size ) : string
size InstructionSize
Résultat string

Resolve() public méthode

Validates the specified instruction.
public Resolve ( Context ctx, BaseMethodCompiler compiler ) : void
ctx Context The context.
compiler BaseMethodCompiler The compiler.
Résultat void

ToString() public méthode

Returns a string representation of the context.
public ToString ( ) : string
Résultat string

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( InstructionNode node ) : string
node InstructionNode The context.
Résultat string