Enum tis_100::core::Instruction [] [src]

pub enum Instruction {
    Nop,
    Mov(SourceRegister),
    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

Trait Implementations

impl Debug for Instruction
[src]

Formats the value using the given formatter.

impl PartialEq for Instruction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for Instruction
[src]

impl Clone for Instruction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more