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
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:
value1é enviado por push para a pilha.value1is pushed onto the stack.value2é enviado por push para a pilha.value2is pushed onto the stack.value2evalue1são retirados da pilha; sevalue1for maior ou igual avalue2, a operação de ramificação será executada.value2andvalue1are popped from the stack; ifvalue1is greater than or equal tovalue2, 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: