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,
    Alloc(UInt),
    Free,
    Jmp(boolUInt),
    Jnz(boolUInt),
    Jz(boolUInt),
    Jn(boolUInt),
    Jp(boolUInt),
}

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

impl Rand for Instruction
[src]

[src]

Generates a random instance of this type using the specified source of randomness. Read more

Auto Trait Implementations

impl Send for Instruction

impl Sync for Instruction