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
impl StrIT4Off
Sourcepub fn mnemonic(_instr: &Instruction) -> Mnemonic
pub fn mnemonic(_instr: &Instruction) -> Mnemonic
Returns the instruction mnemonic.
Sourcepub fn condition(instr: &Instruction) -> ConditionalInstruction
pub fn condition(instr: &Instruction) -> ConditionalInstruction
Returns the instruction condition information.
Sourcepub fn size(_instr: &Instruction) -> usize
pub fn size(_instr: &Instruction) -> usize
Returns the instruction size.
Sourcepub fn decode(data: u32, decoder: &mut Decoder<'_>) -> Result<Instruction>
pub fn decode(data: u32, decoder: &mut Decoder<'_>) -> Result<Instruction>
Decodes the instruction in data.
pub fn encode(instr: &Instruction, buf: &mut Vec<u8>) -> Result<usize>
Sourcepub fn encode_block(
instr: &mut Instruction,
buf: &mut Vec<u8>,
labels: &HashMap<u64, u64>,
) -> Result<usize>
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.
Sourcepub fn check_op0(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op0(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #0 is valid.
Sourcepub fn check_op1(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op1(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #1 is valid.
Sourcepub fn check_op2(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op2(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #2 is valid.
Sourcepub fn check_op3(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op3(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #3 is valid.
Sourcepub fn check_op4(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op4(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #4 is valid.
Sourcepub fn check_op5(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op5(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #5 is valid.
Sourcepub fn check_op6(instr: &Instruction, op: &Operand) -> Result<()>
pub fn check_op6(instr: &Instruction, op: &Operand) -> Result<()>
Verifies that operand #6 is valid.
Sourcepub fn format(
instr: &Instruction,
fmt: &mut impl Formatter,
output: &mut impl FormatterOutput,
config: &Config,
) -> Result<()>
pub fn format( instr: &Instruction, fmt: &mut impl Formatter, output: &mut impl FormatterOutput, config: &Config, ) -> Result<()>
Formats the instruction.
Auto Trait Implementations§
impl Freeze for StrIT4Off
impl RefUnwindSafe for StrIT4Off
impl Send for StrIT4Off
impl Sync for StrIT4Off
impl Unpin for StrIT4Off
impl UnsafeUnpin for StrIT4Off
impl UnwindSafe for StrIT4Off
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more