OpCodes.Div_Un 字段


两个无符号整数值相除并将结果 ( int32 ) 推送到计算堆栈上。Divides two unsigned integer values and pushes the result (int32) onto the evaluation stack.

public: static initonly System::Reflection::Emit::OpCode Div_Un;
public static readonly System.Reflection.Emit.OpCode Div_Un;
 staticval mutable Div_Un : System.Reflection.Emit.OpCode
Public Shared ReadOnly Div_Un 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
5C5C div. undiv.un 将两个值相除,并返回商。Divides two values, unsigned, returning a quotient.

堆栈转换行为顺序如下: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 除以 @no__t。value2 and value1 are popped from the stack; value1 is divided by value2.

  4. 将结果推送到堆栈上。The result is pushed onto the stack.

@No__t-0 指令计算 value2 相除 @no__t,并将其作为无符号整数,并将 @no__t 推送到堆栈上。The div.un instruction computes value1 divided by value2, both taken as unsigned integers, and pushes the result on the stack.

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

  • ILGenerator.Emit(OpCode)ILGenerator.Emit(OpCode)