OpCodes.Ldc_I8 字段

定义

将所提供的 int64 类型的值作为 int64 推送到计算堆栈上。Pushes a supplied value of type int64 onto the evaluation stack as an int64.

public: static initonly System::Reflection::Emit::OpCode Ldc_I8;
public static readonly System.Reflection.Emit.OpCode Ldc_I8;
 staticval mutable Ldc_I8 : System.Reflection.Emit.OpCode
Public Shared ReadOnly Ldc_I8 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
21 < int64 >21 < int64 > ldc.i8 numldc.i8 num num 推送到堆栈上,@no__t 为-1。Pushes num onto the stack as int64.

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

  1. num 将被推送到堆栈上。The value num is pushed onto the stack.

此编码将 @no__t 0 值推送到堆栈上。This encoding pushes an int64 value onto the stack.

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

  • ILGenerator (操作码,长)ILGenerator.Emit(OpCode, long)

适用于