OpCodes.Bgt_Un_S 字段


当比较无符号整数值或未经排序的浮点值时,如果第一个值大于第二个值,则将控制转移到目标指令(短格式)。Transfers control to a target instruction (short form) if the first value is greater than the second value, when comparing unsigned integer values or unordered float values.

public: static initonly System::Reflection::Emit::OpCode Bgt_Un_S;
public static readonly System.Reflection.Emit.OpCode Bgt_Un_S;
 staticval mutable Bgt_Un_S : System.Reflection.Emit.OpCode
Public Shared ReadOnly Bgt_Un_S As OpCode 



下表列出了指令的十六进制和 Microsoft 中间语言(MSIL)程序集格式以及简短的参考摘要:The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:

格式Format 程序集格式Assembly Format 说明Description
35 < int8 >35 < int8 > 预算 targetbgt.un.s target 如果第一个值大于第二个值(无符号值),则按指定的偏移量分支到目标指令(短格式)。Branch to the target instruction at the specified offset if the first value is greater than the second value (unsigned values), short form.

堆栈转换行为顺序如下:The stack transitional behavior, in sequential order, is:

  1. value1 推送到堆栈上。value1 is pushed onto the stack.

  2. value2 推送到堆栈上。value2 is pushed onto the stack.

  3. value2 和 @no__t 从堆栈中弹出;如果 value1 大于 value2,则执行分支操作。value2 and value1 are popped from the stack; if value1 is greater than value2, the branch operation is performed.

当使用无符号整数或无序浮点值进行比较时,如果 value1 大于 value2,则 bgt.un.s 指令将控制转移到指定的目标指令。The bgt.un.s instruction transfers control to the specified target instruction if value1 is greater than value2, when compared using unsigned integer or unordered float values. 其效果与执行 cgt.un 指令后跟特定目标指令的 brtrue 分支相同。The effect is identical to performing a cgt.un instruction followed by a brtrue branch to the specific target instruction. 目标指令表示为与当前指令后面的指令开头之间的1字节有符号偏移量。The target instruction is represented as a 1-byte signed offset from the beginning of the instruction following the current instruction.

如果目标指令具有一个或多个前缀代码,则只能将控制转移到其中的第一个前缀。If the target instruction has one or more prefix codes, control can only be transferred to the first of these prefixes. 控制传入和传出 trycatchfilterfinally 块无法通过此说明执行。Control transfers into and out of try, catch, filter, and finally blocks cannot be performed by this instruction.

以下 @no__t 0 方法重载可以使用 @no__t 操作码:The following Emit method overload can use the bgt.un.s opcode:

  • ILGenerator (操作码、标签)ILGenerator.Emit(OpCode, Label)