OpCodes.Stind_I1 欄位

定義

於所提供的位址儲存 int8 型別的值。

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

欄位值

備註

下表列出指令的十六進位和 Microsoft 中繼語言 (MSIL) 元件格式,以及簡短的參考摘要:

格式 元件格式 描述
52 stind.i1 int8 值儲存在指定的位址。

堆疊轉換行為依循序順序為:

  1. 位址會推送至堆疊。

  2. 值會推送至堆疊。

  3. 值和位址會從堆疊中擷取;值會儲存在位址。

指令 stind.i1 會將 int8 值儲存在提供的位址 (類型 native int*&) 。

型別安全作業需要 stind.i1 以與指標類型一致的方式使用指令。 指令的 stind.i1 作業可以由緊接在 Volatile 前面或 Unaligned 前置詞指令來改變。

NullReferenceException 如果未 addr 自然對齊指令尾碼所隱含的引數類型,則會擲回 。

下列 Emit 方法多載可以使用 stind.i1 opcode:

適用於