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

Inheritance: Mosa.Compiler.Framework.CIL.BinaryInstruction, IBranchInstruction
Exibir arquivo Open project: tgiphil/MOSA-Project

Public Methods

Method Description
BinaryBranchInstruction ( OpCode opCode ) : System

Initializes a new instance of the BinaryBranchInstruction class.

Decode ( InstructionNode ctx, IInstructionDecoder decoder ) : void

Decodes the specified instruction.

DecodeTargets ( IInstructionDecoder decoder ) : bool

Protected Methods

Method Description
GetModifier ( InstructionNode node ) : string

Gets the instruction modifier.

Method Details

BinaryBranchInstruction() public method

Initializes a new instance of the BinaryBranchInstruction class.
public BinaryBranchInstruction ( OpCode opCode ) : System
opCode OpCode The opcode.
return System

Decode() public method

Decodes the specified instruction.
public Decode ( InstructionNode ctx, IInstructionDecoder decoder ) : void
ctx InstructionNode The context.
decoder IInstructionDecoder The instruction decoder, which holds the code stream.
return void

DecodeTargets() public method

public DecodeTargets ( IInstructionDecoder decoder ) : bool
decoder IInstructionDecoder
return bool

GetModifier() protected method

Gets the instruction modifier.
protected GetModifier ( InstructionNode node ) : string
node InstructionNode The context.
return string