Enum melon::Instruction [] [src]

pub enum Instruction {
    Add(IntegerType),
    Sub(IntegerType),
    Mul(IntegerType),
    Div(IntegerType),
    Shr(IntegerType),
    Shl(IntegerType),
    And(IntegerType),
    Or(IntegerType),
    Xor(IntegerType),
    Not(IntegerType),
    Neg(IntegerType),
    Cmp(IntegerType),
    Inc(IntegerType),
    Dec(IntegerType),
    U8Promote,
    U16Demote,
    I8Promote,
    I16Demote,
    PushConstU8(SmallUInt),
    PushConstU16(UInt),
    PushConstI8(SmallInt),
    PushConstI16(Int),
    LoadReg(Register),
    Load(IntegerTypeAddress),
    LoadIndirect(IntegerType),
    Store(IntegerTypeAddress),
    StoreIndirect(IntegerType),
    Dup(IntegerType),
    Drop(IntegerType),
    SysCall(UInt),
    Call(Address),
    Ret,
    Jmp(Int),
    Jnz(Int),
    Jz(Int),
    Jn(Int),
    Jp(Int),
}

Variants

Trait Implementations

impl Clone for Instruction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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