Partager via


OpCodes.Stind_I8 Field

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Stores a value of type int64 at a supplied address.

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared ReadOnly Stind_I8 As OpCode
public static readonly OpCode Stind_I8

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

55

stind.i8

Stores an int64 value at a given address.

The stack transitional behavior, in sequential order, is:

  1. An address is pushed onto the stack.

  2. A value is pushed onto the stack.

  3. The value and the address are popped from the stack; the value is stored at the address.

The stind.i8 instruction stores an int64 value at the supplied address (type native int, *, or &).

Type safe operation requires that the stind.i8 instruction be used in a manner consistent with the type of the pointer. The operation of the stind.i 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.i8 opcode:

  • ILGenerator.Emit(OpCode)

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.