OpCodes.Bge Campo

Definição

Transferirá controle para uma instrução de destino se o primeiro valor for maior ou igual ao segundo valor.Transfers control to a target instruction if the first value is greater than or equal to the second value.

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

Valor do campo

OpCode

Comentários

A tabela a seguir lista o formato de assembly hexadecimal e da MSIL (Microsoft Intermediate Language) da instrução, juntamente com um resumo de referência breve:The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:

FormatarFormat Formato do assemblyAssembly Format DescriçãoDescription
3C <int32>3C <int32> bge targetbge target Branch para a instrução de destino no deslocamento especificado se o primeiro valor for maior ou igual ao segundo valor.Branch to the target instruction at the specified offset if the first value is greater than or equal to the second value.

O comportamento de transição de pilha, em ordem sequencial, é:The stack transitional behavior, in sequential order, is:

  1. value1 é enviado por push para a pilha.value1 is pushed onto the stack.

  2. value2 é enviado por push para a pilha.value2 is pushed onto the stack.

  3. value2 e value1 são retirados da pilha; se value1 for maior ou igual a value2 , a operação de ramificação será executada.value2 and value1 are popped from the stack; if value1 is greater than or equal to value2, the branch operation is performed.

A bge instrução transfere o controle para a instrução de destino especificada se value1 for maior ou igual a value2 .The bge instruction transfers control to the specified target instruction if value1 is greater than or equal to value2. O efeito é idêntico à execução de uma clt instrução ( clt.un para floats) seguida por uma brfalse ramificação para a instrução de destino específica.The effect is identical to performing a clt instruction (clt.un for floats) followed by a brfalse branch to the specific target instruction. A instrução de destino é representada como um deslocamento assinado de 4 bytes do início da instrução após a instrução atual.The target instruction is represented as a 4-byte signed offset from the beginning of the instruction following the current instruction.

Se a instrução de destino tiver um ou mais códigos de prefixo, o controle só poderá ser transferido para o primeiro desses prefixos.If the target instruction has one or more prefix codes, control can only be transferred to the first of these prefixes. As transferências de controle para dentro e fora dos try catch blocos,, filter e finally não podem ser executadas por essa instrução.Control transfers into and out of try, catch, filter, and finally blocks cannot be performed by this instruction.

A sobrecarga do método a seguir Emit pode usar o bge opcode:The following Emit method overload can use the bge opcode:

Aplica-se a