pub enum ClrOpcode {
Show 201 variants
Nop,
LdcI4,
LdcI4S,
LdcI4M1,
LdcI40,
LdcI41,
LdcI42,
LdcI43,
LdcI44,
LdcI45,
LdcI46,
LdcI47,
LdcI48,
LdcI8,
LdcR4,
LdcR8,
Ldnull,
Ldstr,
Ldarg,
LdargS,
Ldarg0,
Ldarg1,
Ldarg2,
Ldarg3,
Ldloc,
LdlocS,
Ldloc0,
Ldloc1,
Ldloc2,
Ldloc3,
Starg,
StargS,
Stloc,
StlocS,
Stloc0,
Stloc1,
Stloc2,
Stloc3,
Ldarga,
LdargaS,
Ldloca,
LdlocaS,
Ldelem,
LdelemI1,
LdelemU1,
LdelemI2,
LdelemU2,
LdelemI4,
LdelemU4,
LdelemI8,
LdelemI,
LdelemR4,
LdelemR8,
LdelemRef,
Stelem,
StelemI1,
StelemI2,
StelemI4,
StelemI8,
StelemI,
StelemR4,
StelemR8,
StelemRef,
Ldlen,
Newarr,
LdindI1,
LdindU1,
LdindI2,
LdindU2,
LdindI4,
LdindU4,
LdindI8,
LdindI,
LdindR4,
LdindR8,
LdindRef,
StindI1,
StindI2,
StindI4,
StindI8,
StindI,
StindR4,
StindR8,
StindRef,
Ldfld,
Ldflda,
Stfld,
Ldsfld,
Ldsflda,
Stsfld,
Call,
Callvirt,
Calli,
Ret,
Newobj,
Castclass,
Isinst,
Unbox,
UnboxAny,
Box,
Br,
BrS,
Brtrue,
BrtrueS,
Brfalse,
BrfalseS,
Beq,
BeqS,
Bne,
BneS,
Blt,
BltS,
BltUn,
BltUnS,
Ble,
BleS,
BleUn,
BleUnS,
Bgt,
BgtS,
BgtUn,
BgtUnS,
Bge,
BgeS,
BgeUn,
BgeUnS,
Switch,
Add,
AddOvf,
AddOvfUn,
Sub,
SubOvf,
SubOvfUn,
Mul,
MulOvf,
MulOvfUn,
Div,
DivUn,
Rem,
RemUn,
And,
Or,
Xor,
Not,
Shl,
Shr,
ShrUn,
Neg,
Ceq,
Cgt,
CgtUn,
Clt,
CltUn,
ConvI1,
ConvI2,
ConvI4,
ConvI8,
ConvR4,
ConvR8,
ConvU4,
ConvU8,
ConvOvfI1,
ConvOvfI2,
ConvOvfI4,
ConvOvfI8,
ConvOvfU1,
ConvOvfU2,
ConvOvfU4,
ConvOvfU8,
ConvOvfI1Un,
ConvOvfI2Un,
ConvOvfI4Un,
ConvOvfI8Un,
ConvOvfU1Un,
ConvOvfU2Un,
ConvOvfU4Un,
ConvOvfU8Un,
ConvRUn,
ConvOvfIUn,
ConvOvfUUn,
Dup,
Pop,
Throw,
Rethrow,
Leave,
LeaveS,
Endfinally,
Endfilter,
Sizeof,
Refanytype,
Refanyval,
Mkrefany,
Arglist,
Localloc,
Jmp,
Calli2,
Tail,
Volatile,
Unaligned,
Constrained,
Readonly,
}Expand description
CLR 操作码
Variants§
Nop
LdcI4
LdcI4S
LdcI4M1
LdcI40
LdcI41
LdcI42
LdcI43
LdcI44
LdcI45
LdcI46
LdcI47
LdcI48
LdcI8
LdcR4
LdcR8
Ldnull
Ldstr
Ldarg
LdargS
Ldarg0
Ldarg1
Ldarg2
Ldarg3
Ldloc
LdlocS
Ldloc0
Ldloc1
Ldloc2
Ldloc3
Starg
StargS
Stloc
StlocS
Stloc0
Stloc1
Stloc2
Stloc3
Ldarga
LdargaS
Ldloca
LdlocaS
Ldelem
LdelemI1
LdelemU1
LdelemI2
LdelemU2
LdelemI4
LdelemU4
LdelemI8
LdelemI
LdelemR4
LdelemR8
LdelemRef
Stelem
StelemI1
StelemI2
StelemI4
StelemI8
StelemI
StelemR4
StelemR8
StelemRef
Ldlen
Newarr
LdindI1
LdindU1
LdindI2
LdindU2
LdindI4
LdindU4
LdindI8
LdindI
LdindR4
LdindR8
LdindRef
StindI1
StindI2
StindI4
StindI8
StindI
StindR4
StindR8
StindRef
Ldfld
Ldflda
Stfld
Ldsfld
Ldsflda
Stsfld
Call
Callvirt
Calli
Ret
Newobj
Castclass
Isinst
Unbox
UnboxAny
Box
Br
BrS
Brtrue
BrtrueS
Brfalse
BrfalseS
Beq
BeqS
Bne
BneS
Blt
BltS
BltUn
BltUnS
Ble
BleS
BleUn
BleUnS
Bgt
BgtS
BgtUn
BgtUnS
Bge
BgeS
BgeUn
BgeUnS
Switch
Add
AddOvf
AddOvfUn
Sub
SubOvf
SubOvfUn
Mul
MulOvf
MulOvfUn
Div
DivUn
Rem
RemUn
And
Or
Xor
Not
Shl
Shr
ShrUn
Neg
Ceq
Cgt
CgtUn
Clt
CltUn
ConvI1
ConvI2
ConvI4
ConvI8
ConvR4
ConvR8
ConvU4
ConvU8
ConvOvfI1
ConvOvfI2
ConvOvfI4
ConvOvfI8
ConvOvfU1
ConvOvfU2
ConvOvfU4
ConvOvfU8
ConvOvfI1Un
ConvOvfI2Un
ConvOvfI4Un
ConvOvfI8Un
ConvOvfU1Un
ConvOvfU2Un
ConvOvfU4Un
ConvOvfU8Un
ConvRUn
ConvOvfIUn
ConvOvfUUn
Dup
Pop
Throw
Rethrow
Leave
LeaveS
Endfinally
Endfilter
Sizeof
Refanytype
Refanyval
Mkrefany
Arglist
Localloc
Jmp
Calli2
Tail
Volatile
Unaligned
Constrained
Readonly
Implementations§
Trait Implementations§
impl Copy for ClrOpcode
impl StructuralPartialEq for ClrOpcode
Auto Trait Implementations§
impl Freeze for ClrOpcode
impl RefUnwindSafe for ClrOpcode
impl Send for ClrOpcode
impl Sync for ClrOpcode
impl Unpin for ClrOpcode
impl UnwindSafe for ClrOpcode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more