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
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

UnaryArithmeticInstruction() public méthode

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