Enum bad64::Operand[][src]

pub enum Operand {
Show 22 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>, }, SmeTile { tile: u16, slice: Option<SliceIndicator>, arrspec: Option<ArrSpec>, reg: Option<Reg>, imm: Imm, }, AccumArray { reg: Reg, imm: Imm, }, IndexedElement { regs: [Reg; 2], arrspec: Option<ArrSpec>, imm: Imm, }, 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

Fields

imm: Imm
shift: Option<Shift>

Imm64

Fields

imm: Imm
shift: Option<Shift>

FImm32(u32)

Tuple Fields

0: u32

ShiftReg

Fields

reg: Reg
shift: Shift

QualReg

Fields

reg: Reg
qual: char

Reg

Fields

reg: Reg
arrspec: Option<ArrSpec>

MultiReg

Fields

arrspec: Option<ArrSpec>

SysReg(SysReg)

Tuple Fields

0: SysReg

MemReg(Reg)

Tuple Fields

0: Reg

MemOffset

Fields

reg: Reg
offset: Imm
mul_vl: bool
arrspec: Option<ArrSpec>

MemPreIdx

Fields

reg: Reg
imm: Imm

MemPostIdxReg([Reg; 2])

Tuple Fields

MemPostIdxImm

Fields

reg: Reg
imm: Imm

MemExt

Fields

regs: [Reg; 2]
shift: Option<Shift>
arrspec: Option<ArrSpec>

SmeTile

Fields

tile: u16
slice: Option<SliceIndicator>
arrspec: Option<ArrSpec>
reg: Option<Reg>
imm: Imm

AccumArray

Fields

reg: Reg
imm: Imm

IndexedElement

Fields

regs: [Reg; 2]
arrspec: Option<ArrSpec>
imm: Imm

Label(Imm)

Tuple Fields

0: Imm

ImplSpec

Fields

o0: u8
o1: u8
cm: u8
cn: u8
o2: u8

Cond(Condition)

Tuple Fields

Name([u8; 16])

Tuple Fields

StrImm

Fields

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)

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.