Enum msp430_asm::instruction::Instruction
source · pub enum Instruction {
Show 51 variants
Rrc(Rrc),
Swpb(Swpb),
Rra(Rra),
Sxt(Sxt),
Push(Push),
Call(Call),
Reti(Reti),
Jnz(Jnz),
Jz(Jz),
Jlo(Jlo),
Jc(Jc),
Jn(Jn),
Jge(Jge),
Jl(Jl),
Jmp(Jmp),
Mov(Mov),
Add(Add),
Addc(Addc),
Subc(Subc),
Sub(Sub),
Cmp(Cmp),
Dadd(Dadd),
Bit(Bit),
Bic(Bic),
Bis(Bis),
Xor(Xor),
And(And),
Adc(Adc),
Br(Br),
Clr(Clr),
Clrc(Clrc),
Clrn(Clrn),
Clrz(Clrz),
Dadc(Dadc),
Dec(Dec),
Decd(Decd),
Dint(Dint),
Eint(Eint),
Inc(Inc),
Incd(Incd),
Inv(Inv),
Nop(Nop),
Pop(Pop),
Ret(Ret),
Rla(Rla),
Rlc(Rlc),
Sbc(Sbc),
Setc(Setc),
Setn(Setn),
Setz(Setz),
Tst(Tst),
}
Expand description
A container that holds all types of instructions (including emulated)
Variants§
Rrc(Rrc)
Swpb(Swpb)
Rra(Rra)
Sxt(Sxt)
Push(Push)
Call(Call)
Reti(Reti)
Jnz(Jnz)
Jz(Jz)
Jlo(Jlo)
Jc(Jc)
Jn(Jn)
Jge(Jge)
Jl(Jl)
Jmp(Jmp)
Mov(Mov)
Add(Add)
Addc(Addc)
Subc(Subc)
Sub(Sub)
Cmp(Cmp)
Dadd(Dadd)
Bit(Bit)
Bic(Bic)
Bis(Bis)
Xor(Xor)
And(And)
Adc(Adc)
Br(Br)
Clr(Clr)
Clrc(Clrc)
Clrn(Clrn)
Clrz(Clrz)
Dadc(Dadc)
Dec(Dec)
Decd(Decd)
Dint(Dint)
Eint(Eint)
Inc(Inc)
Incd(Incd)
Inv(Inv)
Nop(Nop)
Pop(Pop)
Ret(Ret)
Rla(Rla)
Rlc(Rlc)
Sbc(Sbc)
Setc(Setc)
Setn(Setn)
Setz(Setz)
Tst(Tst)
Implementations§
Trait Implementations§
source§impl Clone for Instruction
impl Clone for Instruction
source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Instruction
impl Debug for Instruction
source§impl Display for Instruction
impl Display for Instruction
source§impl PartialEq<Instruction> for Instruction
impl PartialEq<Instruction> for Instruction
source§fn eq(&self, other: &Instruction) -> bool
fn eq(&self, other: &Instruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.