[−][src]Enum jazz::opcodes::Instruction
Variants
LoadInt(usize, i32)LoadInt R(A) = B Loading integer value B to register A
LoadLong(usize, i64)LoadLong R(A) = B Loading long value B to register A
LoadFloat(usize, f32)LoadFloat R(A) = B Loading float value B to register A
LoadDouble(usize, f64)LoadDouble R(A) = B Loading double value B to register A
LoadObject(usize, usize)LoadConst(usize, usize)LoadConst R(A) = C(B) Load constant from object pool to register A
LoadGlobal(usize, usize)LoadGlobal R(A) = G(B) Load global value B into register A
LoadAt(usize, usize, usize)LoadAt R(A) = R(B)[C] Load C from B and store in A
LoadSuper(usize, usize, usize)LoadSuper R(A) = R(B)C Load C from B and store in A
Move(usize, usize)Move R(A) = R(B) Move register
Store(usize, usize, usize)Store R(B)[C] = A Store A into R(B)[C]
StoreAt(usize, usize, usize)StoreGlobal(usize, usize)StoreGlobal G(A) = R(B) Store global
Jump(usize)Jump IP
JumpF(usize, usize)Jump (R(A) == false ? ip = B : continue)
JumpT(usize, usize)Jump (R(A) == true ? ip == B : continue)
Goto(usize)Goto
Same as Jump instructions, but uses labels
GotoT(usize, usize)GotoF(usize, usize)PushArg(usize)Push value from R(A) to arguments stack
Call(usize, usize, usize)R(A) = B(Args), C - Arg count, args poped from arg stack
Add(usize, usize, usize)Add R(A) = R(B) + R(C)
Sub(usize, usize, usize)Sub R(A) = R(B) - R(C)
Mul(usize, usize, usize)Mul R(A) = R(B) * R(C)
Div(usize, usize, usize)Div R(A) = R(B) / R(C)
Gt(usize, usize, usize)Gt R(A) = R(B) > R(C)
Lt(usize, usize, usize)Lt R(A) = R(B) < R(C)
Ret0Ret0 return null value
Ret(usize)Ret R(A) return value from R(A)
Label(usize)Create label with id A
Trait Implementations
impl Clone for Instruction[src]
impl Clone for Instructionfn clone(&self) -> Instruction[src]
fn clone(&self) -> InstructionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for Instruction[src]
impl Debug for InstructionAuto Trait Implementations
impl Send for Instruction
impl Send for Instructionimpl Sync for Instruction
impl Sync for InstructionBlanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, type Owned = T
fn to_owned(&self) -> T[src]
fn to_owned(&self) -> TCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)[src]
fn clone_into(&self, target: &mut T)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more