OpCodes.Stind_I1 Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores a value of type int8
at a supplied address.
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
Field Value
Remarks
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 |
---|---|---|
52 | stind.i1 | Stores an int8 value at a given address. |
The stack transitional behavior, in sequential order, is:
An address is pushed onto the stack.
A value is pushed onto the stack.
The value and the address are popped from the stack; the value is stored at the address.
The stind.i1
instruction stores an int8
value at the supplied address (type native int
, *
, or &
).
Type safe operation requires that the stind.i1
instruction be used in a manner consistent with the type of the pointer. The operation of the stind.i1
instruction can be altered by an immediately preceding Volatile or Unaligned prefix instruction.
NullReferenceException is thrown if addr
is not naturally aligned for the argument type implied by the instruction suffix.
The following Emit method overload can use the stind.i1
opcode: