pub enum ClrOpcode {
Show 76 variants
Nop,
LdcI4M1,
LdcI40,
LdcI41,
LdcI42,
LdcI43,
LdcI44,
LdcI45,
LdcI46,
LdcI47,
LdcI48,
LdcI4S,
LdcI4,
LdcI8,
LdcR4,
LdcR8,
Ldnull,
Ldstr,
Ldarg0,
Ldarg1,
Ldarg2,
Ldarg3,
Ldloc0,
Ldloc1,
Ldloc2,
Ldloc3,
Stloc0,
Stloc1,
Stloc2,
Stloc3,
Call,
Callvirt,
Ret,
Newobj,
Pop,
Dup,
Add,
Sub,
Mul,
Div,
Ceq,
Cgt,
Clt,
And,
Or,
Br,
Brtrue,
Brfalse,
Ldloc,
Stloc,
Ldarg,
Starg,
Ldloca,
Ldfld,
Stfld,
Ldelem,
Stelem,
Ldlen,
Newarr,
Box,
Unbox,
ConvI4,
ConvI8,
ConvR4,
ConvR8,
LdindI4,
LdindI8,
LdindR4,
LdindR8,
LdindRef,
StindI4,
StindI8,
StindR4,
StindR8,
StindRef,
Throw,
}Expand description
CLR opcode enumeration representing all Common Language Runtime instructions.
Variants§
Nop
No operation.
LdcI4M1
Load constant integer -1 onto the stack.
LdcI40
Load constant integer 0 onto the stack.
LdcI41
Load constant integer 1 onto the stack.
LdcI42
Load constant integer 2 onto the stack.
LdcI43
Load constant integer 3 onto the stack.
LdcI44
Load constant integer 4 onto the stack.
LdcI45
Load constant integer 5 onto the stack.
LdcI46
Load constant integer 6 onto the stack.
LdcI47
Load constant integer 7 onto the stack.
LdcI48
Load constant integer 8 onto the stack.
LdcI4S
Load constant integer (signed byte) onto the stack.
LdcI4
Load constant int32 onto the stack.
LdcI8
Load constant int64 onto the stack.
LdcR4
Load constant float32 onto the stack.
LdcR8
Load constant float64 onto the stack.
Ldnull
Load null reference onto the stack.
Ldstr
Load a string literal onto the stack.
Ldarg0
Load argument 0 onto the stack.
Ldarg1
Load argument 1 onto the stack.
Ldarg2
Load argument 2 onto the stack.
Ldarg3
Load argument 3 onto the stack.
Ldloc0
Load local variable 0 onto the stack.
Ldloc1
Load local variable 1 onto the stack.
Ldloc2
Load local variable 2
Ldloc3
Load local variable 3
Stloc0
Store local variable 0
Stloc1
Store local variable 1
Stloc2
Store local variable 2
Stloc3
Store local variable 3
Call
Call method
Callvirt
Call virtual method
Ret
Return
Newobj
Create new object
Pop
Pop from stack
Dup
Duplicate top of stack
Add
Add
Sub
Subtract
Mul
Multiply
Div
Divide
Ceq
Compare equal
Cgt
Compare greater than
Clt
Compare less than
And
Logical AND
Or
Logical OR
Br
Branch
Brtrue
Branch if true
Brfalse
Branch if false
Ldloc
Load local variable
Stloc
Store local variable
Ldarg
Load argument
Starg
Store argument
Ldloca
Load local address
Ldfld
Load field
Stfld
Store field
Ldelem
Load element
Stelem
Store element
Ldlen
Load array length
Newarr
Create new array
Box
Box value type
Unbox
Unbox value type
ConvI4
Convert to int32
ConvI8
Convert to int64
ConvR4
Convert to float32
ConvR8
Convert to float64
LdindI4
Load indirect int32
LdindI8
Load indirect int64
LdindR4
Load indirect float32
LdindR8
Load indirect float64
LdindRef
Load indirect reference
StindI4
Store indirect int32
StindI8
Store indirect int64
StindR4
Store indirect float32
StindR8
Store indirect float64
StindRef
Store indirect reference
Throw
Throw exception