Enum jbcrs_basic::Instruction [] [src]

pub enum Instruction {
    NOP,
    AConstNull,
    IConstM1,
    IConst0,
    IConst1,
    IConst2,
    IConst3,
    IConst4,
    IConst5,
    LConst0,
    LConst1,
    FConst0,
    FConst1,
    FConst2,
    DConst0,
    DConst1,
    BIPush(i8),
    SIPush(i16),
    LDC(u16),
    ILoad(u16),
    LLoad(u16),
    FLoad(u16),
    DLoad(u16),
    ALoad(u16),
    ILoad0,
    ILoad1,
    ILoad2,
    ILoad3,
    LLoad0,
    LLoad1,
    LLoad2,
    LLoad3,
    FLoad0,
    FLoad1,
    FLoad2,
    FLoad3,
    DLoad0,
    DLoad1,
    DLoad2,
    DLoad3,
    ALoad0,
    ALoad1,
    ALoad2,
    ALoad3,
    IALoad,
    LALoad,
    FALoad,
    DALoad,
    AALoad,
    BALoad,
    CALoad,
    SALoad,
    IStore(u16),
    LStore(u16),
    FStore(u16),
    DStore(u16),
    AStore(u16),
    IStore0,
    IStore1,
    IStore2,
    IStore3,
    LStore0,
    LStore1,
    LStore2,
    LStore3,
    FStore0,
    FStore1,
    FStore2,
    FStore3,
    DStore0,
    DStore1,
    DStore2,
    DStore3,
    AStore0,
    AStore1,
    AStore2,
    AStore3,
    IAStore,
    LAStore,
    FAStore,
    DAStore,
    AAStore,
    BAStore,
    CAStore,
    SAStore,
    Pop,
    Pop2,
    Dup,
    DupX1,
    DupX2,
    Dup2,
    Dup2X1,
    Dup2X2,
    Swap,
    IAdd,
    LAdd,
    FAdd,
    DAdd,
    ISub,
    LSub,
    FSub,
    DSub,
    IMul,
    LMul,
    FMul,
    DMul,
    IDiv,
    LDiv,
    FDiv,
    DDiv,
    IRem,
    LRem,
    FRem,
    DRem,
    INeg,
    LNeg,
    FNeg,
    DNeg,
    IShL,
    LShL,
    IShR,
    LShR,
    IUShR,
    LUShR,
    IAnd,
    LAnd,
    IOr,
    LOr,
    IXOr,
    LXOr,
    IInc(u16i16),
    I2L,
    I2F,
    I2D,
    L2I,
    L2F,
    L2D,
    F2I,
    F2L,
    F2D,
    D2I,
    D2L,
    D2F,
    I2B,
    I2C,
    I2S,
    LCmp,
    FCmpL,
    FCmpG,
    DCmpL,
    DCmpG,
    IfEq(i16),
    IfNE(i16),
    IfLT(i16),
    IfGE(i16),
    IfGT(i16),
    IfLE(i16),
    IfICmpEq(i16),
    IfICmpNE(i16),
    IfICmpLT(i16),
    IfICmpGE(i16),
    IfICmpGT(i16),
    IfICmpLE(i16),
    IfACmpEq(i16),
    IfACmpNE(i16),
    GoTo(i32),
    JSR(i32),
    Ret(u16),
    TableSwitch {
        default: i32,
        low: i32,
        high: i32,
        offsets: Vec<i32>,
    },
    LookupSwitch {
        default: i32,
        offsets: BTreeMap<i32, i32>,
    },
    IReturn,
    LReturn,
    FReturn,
    DReturn,
    AReturn,
    Return,
    GetStatic(u16),
    PutStatic(u16),
    GetField(u16),
    PutField(u16),
    InvokeVirtual(u16),
    InvokeSpecial(u16),
    InvokeStatic(u16),
    InvokeInterface(u16u8),
    InvokeDynamic(u16),
    New(u16),
    NewArray(ArrayType),
    ANewArray(u16),
    ArrayLength,
    AThrow,
    CheckCast(u16),
    InstanceOf(u16),
    MonitorEnter,
    MonitorExit,
    MultiANewArray(u16u8),
    IfNull(i16),
    IfNonNull(i16),
    BreakPoint,
    ImpDep1,
    ImpDep2,
}

Variants

No operation

Pushes null on the stack

Pushes the int -1 on the stack

Pushes the int 0 on the stack

Pushes the int 1 on the stack

Pushes the int 2 on the stack

Pushes the int 3 on the stack

Pushes the int 4 on the stack

Pushes the int 5 on the stack

Pushes the long 0 on the stack

Pushes the long 1 on the stack

Pushes the float 0 on the stack

Pushes the float 1 on the stack

Pushes the float 2 on the stack

Pushes the double 0 on the stack

Pushes the double 1 on the stack

Pushes a byte on the stack

Pushes a short on the stack

Pushes a constant from the constant pool on the stack

Pushes the int at a specific local variable index on the stack

Pushes the long at a specific local variable index on the stack

Pushes the float at a specific local variable index on the stack

Pushes the double at a specific local variable index on the stack

Pushes the reference at a specific local variable index on the stack

Pushes the int at local variable index 0 on the stack

Pushes the int at local variable index 1 on the stack

Pushes the int at local variable index 2 on the stack

Pushes the int at local variable index 3 on the stack

Pushes the long at local variable index 0 on the stack

Pushes the long at local variable index 1 on the stack

Pushes the long at local variable index 2 on the stack

Pushes the long at local variable index 3 on the stack

Pushes the float at local variable index 0 on the stack

Pushes the float at local variable index 1 on the stack

Pushes the float at local variable index 2 on the stack

Pushes the float at local variable index 3 on the stack

Pushes the double at local variable index 0 on the stack

Pushes the double at local variable index 1 on the stack

Pushes the double at local variable index 2 on the stack

Pushes the double at local variable index 3 on the stack

Pushes the reference at local variable index 0 on the stack

Pushes the reference at local variable index 1 on the stack

Pushes the reference at local variable index 2 on the stack

Pushes the reference at local variable index 3 on the stack

Pushes the value from an int array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an long array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an float array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an double array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an reference array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an byte array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an char array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Pushes the value from an short array, which is popped from the stack, at an index, which is popped from the stack as well, on the stack.

Fields of TableSwitch

Fields of LookupSwitch

Trait Implementations

impl Debug for Instruction
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Instruction

impl Sync for Instruction