Skip to main content

StrIT4Off

Struct StrIT4Off 

Source
pub struct StrIT4Off;
Expand description

STR T4 encoding.

§Encoding

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 1 1 1 0 0 0 0 1 0 0 != 1111 Rt 1 P U W imm8
size L Rn

Implementations§

Source§

impl StrIT4Off

Source

pub fn mnemonic(_instr: &Instruction) -> Mnemonic

Returns the instruction mnemonic.

Source

pub fn condition(instr: &Instruction) -> ConditionalInstruction

Returns the instruction condition information.

Source

pub fn size(_instr: &Instruction) -> usize

Returns the instruction size.

Source

pub fn decode(data: u32, decoder: &mut Decoder<'_>) -> Result<Instruction>

Decodes the instruction in data.

Source

pub fn encode(instr: &Instruction, buf: &mut Vec<u8>) -> Result<usize>

Source

pub fn encode_block( instr: &mut Instruction, buf: &mut Vec<u8>, labels: &HashMap<u64, u64>, ) -> Result<usize>

Encode an instruction part of an instruction block into buf.

Source

pub fn check_op0(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #0 is valid.

Source

pub fn check_op1(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #1 is valid.

Source

pub fn check_op2(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #2 is valid.

Source

pub fn check_op3(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #3 is valid.

Source

pub fn check_op4(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #4 is valid.

Source

pub fn check_op5(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #5 is valid.

Source

pub fn check_op6(instr: &Instruction, op: &Operand) -> Result<()>

Verifies that operand #6 is valid.

Source

pub fn format( instr: &Instruction, fmt: &mut impl Formatter, output: &mut impl FormatterOutput, config: &Config, ) -> Result<()>

Formats the instruction.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.