C# Class Mosa.Compiler.Framework.IR.ShiftRight

Intermediate representation of the shift right operation.
The shift instruction is a three-address instruction, where the result receives the value of the first operand (index 0) shifted by the number of bits specified by the second operand (index 1). Both the first and second operand must be the same integral type. If the second operand is statically or dynamically equal to or larger than the number of bits in the first operand, the result is undefined. The most significant bits will be filled with zeroes by this context. To preserve the sign of the shifted value (inserting ones if it is negative), use the ArithmeticShiftRight instead.
Inheritance: Mosa.Compiler.Framework.IR.ThreeOperandInstruction
ファイルを表示 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
ShiftRight ( )

Initializes a new instance of the ShiftRight.

Method Details

ShiftRight() public method

Initializes a new instance of the ShiftRight.
public ShiftRight ( )