Enum avr::inst::Instruction [] [src]

pub enum Instruction {
    Inc(Gpr),
    Dec(Gpr),
    Com(Gpr),
    Neg(Gpr),
    Push(Gpr),
    Pop(Gpr),
    Swap(Gpr),
    Subi(Gpru8),
    Sbci(Gpru8),
    Andi(Gpru8),
    Ori(Gpru8),
    Cpi(Gpru8),
    Ldi(Gpru8),
    Add(GprGpr),
    Adc(GprGpr),
    Sub(GprGpr),
    Sbc(GprGpr),
    Mul(GprGpr),
    And(GprGpr),
    Or(GprGpr),
    Eor(GprGpr),
    Cpse(GprGpr),
    Cp(GprGpr),
    Cpc(GprGpr),
    Mov(GprGpr),
    Movw(GprPairGprPair),
    In(Gpru8),
    Out(u8Gpr),
    Sbi(u8u8),
    Cbi(u8u8),
    Jmp(u32),
    Call(u32),
    Rjmp(i16),
    Rcall(i16),
    Brbs(u8RelativeAddress7),
    Brbc(u8RelativeAddress7),
    Breq(RelativeAddress7),
    Brne(RelativeAddress7),
    Brcs(RelativeAddress7),
    Brcc(RelativeAddress7),
    Brsh(RelativeAddress7),
    Brlo(RelativeAddress7),
    Brmi(RelativeAddress7),
    Brpl(RelativeAddress7),
    Brge(RelativeAddress7),
    Brlt(RelativeAddress7),
    Brhs(RelativeAddress7),
    Brhc(RelativeAddress7),
    Brts(RelativeAddress7),
    Brtc(RelativeAddress7),
    Brvs(RelativeAddress7),
    Brvc(RelativeAddress7),
    Brie(RelativeAddress7),
    Brid(RelativeAddress7),
    St(GprPairGprVariant),
    Ld(GprGprPairVariant),
    Std(GprPairu8Gpr),
    Ldd(GprGprPairu8),
    Lpm(GprGprPairbool),
    Nop,
    Ret,
    Reti,
}

An instruction.

Variants

Set bit in IO register.

Clear bit in IO register.

Load program memory. GprPair is always the Z register. The bool is whether to postincrement.

Methods

impl Instruction
[src]

Trait Implementations

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

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 Eq for Instruction
[src]