The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:
FE 18 |
initblk |
Set each location in a block of memory to a given value. |
The stack transitional behavior, in sequential order, is:
[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]The initblk instruction sets the number (unsigned int32) of bytes starting at the specified address (of type native int, &, or *) to the initialization value (of type unsigned int8). initblk assumes that the starting address is aligned to the natural size of the machine.
The operation of the initblk instructions can be altered by an immediately preceding OpCodes.Volatile or OpCodes.Unaligned prefix instruction.
NullReferenceException may be thrown if an invalid address is detected.
The following ILGenerator.Emit(OpCode) method overload can use the initblk opcode:
ILGenerator.Emit(OpCode)