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(IntegerType, Address), LoadIndirect(IntegerType), Store(IntegerType, Address), StoreIndirect(IntegerType), Dup(IntegerType), Drop(IntegerType), SysCall(UInt), Call(Address), Ret, Jmp(Int), Jnz(Int), Jz(Int), Jn(Int), Jp(Int), }
Variants
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(IntegerType, Address)
LoadIndirect(IntegerType)
Store(IntegerType, Address)
StoreIndirect(IntegerType)
Dup(IntegerType)
Drop(IntegerType)
SysCall(UInt)
Call(Address)
Ret
Jmp(Int)
Jnz(Int)
Jz(Int)
Jn(Int)
Jp(Int)
Trait Implementations
impl Clone for Instruction
[src]
fn clone(&self) -> Instruction
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more