C# Class Mosa.Compiler.Framework.CIL.UnaryArithmeticInstruction

Represents a unary instruction, which performs an operation on the operand and places the result on the stack.
Inheritance: Mosa.Compiler.Framework.CIL.UnaryInstruction
显示文件 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
Resolve ( Context ctx, BaseMethodCompiler compiler ) : void

Validates the instruction operands and creates a matching variable for the result.

UnaryArithmeticInstruction ( OpCode opcode )

Initializes a new instance of the UnaryArithmeticInstruction class.

Method Details

Resolve() public method

Validates the instruction operands and creates a matching variable for the result.
public Resolve ( Context ctx, BaseMethodCompiler compiler ) : void
ctx Context The context.
compiler BaseMethodCompiler The compiler.
return void

UnaryArithmeticInstruction() public method

Initializes a new instance of the UnaryArithmeticInstruction class.
public UnaryArithmeticInstruction ( OpCode opcode )
opcode OpCode The opcode.