Enum tis_100::core::Instruction
[−]
[src]
pub enum Instruction { Nop, Mov(Source, Register), Swp, Sav, Add(Source), Sub(Source), Neg, Jmp(isize), Jez(isize), Jnz(isize), Jgz(isize), Jlz(isize), Jro(Source), }
A valid TIS-100 instruction.
Variants
Nop
Mov(Source, Register)
Swp
Sav
Add(Source)
Sub(Source)
Neg
Jmp(isize)
Jez(isize)
Jnz(isize)
Jgz(isize)
Jlz(isize)
Jro(Source)
Trait Implementations
impl Debug for Instruction
[src]
impl PartialEq for Instruction
[src]
fn eq(&self, __arg_0: &Instruction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Instruction) -> bool
This method tests for !=
.
impl Copy for Instruction
[src]
impl Clone for Instruction
[src]
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more