Enum bad64::Operand[][src]

pub enum Operand {
Show 19 variants Imm32 { imm: Imm, shift: Option<Shift>, }, Imm64 { imm: Imm, shift: Option<Shift>, }, FImm32(u32), ShiftReg { reg: Reg, shift: Shift, }, QualReg { reg: Reg, qual: char, }, Reg { reg: Reg, arrspec: Option<ArrSpec>, }, MultiReg { regs: [Option<Reg>; 5], arrspec: Option<ArrSpec>, }, SysReg(SysReg), MemReg(Reg), MemOffset { reg: Reg, offset: Imm, mul_vl: bool, arrspec: Option<ArrSpec>, }, MemPreIdx { reg: Reg, imm: Imm, }, MemPostIdxReg([Reg; 2]), MemPostIdxImm { reg: Reg, imm: Imm, }, MemExt { regs: [Reg; 2], shift: Option<Shift>, arrspec: Option<ArrSpec>, }, Label(Imm), ImplSpec { o0: u8, o1: u8, cm: u8, cn: u8, o2: u8, }, Cond(Condition), Name([u8; 16]), StrImm { str: [u8; 16], imm: u64, },
}
Expand description

An instruction operand

Variants

Imm32
Show 2 fields

Fields of Imm32

imm: Immshift: Option<Shift>
Imm64
Show 2 fields

Fields of Imm64

imm: Immshift: Option<Shift>
FImm32(u32)
ShiftReg
Show 2 fields

Fields of ShiftReg

reg: Regshift: Shift
QualReg
Show 2 fields

Fields of QualReg

reg: Regqual: char
Reg
Show 2 fields

Fields of Reg

reg: Regarrspec: Option<ArrSpec>
MultiReg
Show 2 fields

Fields of MultiReg

regs: [Option<Reg>; 5]arrspec: Option<ArrSpec>
SysReg(SysReg)
MemReg(Reg)
MemOffset
Show 4 fields

Fields of MemOffset

reg: Regoffset: Immmul_vl: boolarrspec: Option<ArrSpec>
MemPreIdx
Show 2 fields

Fields of MemPreIdx

reg: Regimm: Imm
MemPostIdxReg([Reg; 2])
MemPostIdxImm
Show 2 fields

Fields of MemPostIdxImm

reg: Regimm: Imm
MemExt
Show 3 fields

Fields of MemExt

regs: [Reg; 2]shift: Option<Shift>arrspec: Option<ArrSpec>
Label(Imm)
ImplSpec
Show 5 fields

Fields of ImplSpec

o0: u8o1: u8cm: u8cn: u8o2: u8
Cond(Condition)
Name([u8; 16])
StrImm
Show 2 fields

Fields of StrImm

str: [u8; 16]imm: u64

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.