C# Класс Mosa.Compiler.Framework.BaseInstruction

Наследование: IInstruction
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetConditionString ( ConditionCode conditioncode ) : string

Gets the condition string.

GetModifier ( InstructionNode node ) : string

Gets the instruction modifier.

Описание методов

BaseInstruction() публичный Метод

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.
Результат System

GetConditionString() защищенный Метод

Gets the condition string.
protected GetConditionString ( ConditionCode conditioncode ) : string
conditioncode ConditionCode The condition code.
Результат string

GetModifier() защищенный Метод

Gets the instruction modifier.
protected GetModifier ( InstructionNode node ) : string
node InstructionNode The node.
Результат string

GetSizeString() публичный статический Метод

public static GetSizeString ( InstructionSize size ) : string
size InstructionSize
Результат string

Resolve() публичный Метод

Validates the specified instruction.
public Resolve ( Context ctx, BaseMethodCompiler compiler ) : void
ctx Context The context.
compiler BaseMethodCompiler The compiler.
Результат void

ToString() публичный Метод

Returns a string representation of the context.
public ToString ( ) : string
Результат string

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( InstructionNode node ) : string
node InstructionNode The context.
Результат string