pub struct Extr32Extract;Expand description
32-bit 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 |
| sf | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | N | 0 | Rm | imms | Rn | Rd | |||||||||||||||||
| op21 | o0 | ||||||||||||||||||||||||||||||
Implementations§
Source§impl Extr32Extract
impl Extr32Extract
Sourcepub fn mnemonic(_instr: &Instruction) -> Mnemonic
pub fn mnemonic(_instr: &Instruction) -> Mnemonic
Returns the instruction mnemonic.
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.
Sourcepub fn encode(instr: &Instruction, buf: &mut Vec<u8>) -> Result<usize>
pub fn encode(instr: &Instruction, buf: &mut Vec<u8>) -> Result<usize>
Encodes the instruction into buf.
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 Extr32Extract
impl RefUnwindSafe for Extr32Extract
impl Send for Extr32Extract
impl Sync for Extr32Extract
impl Unpin for Extr32Extract
impl UnsafeUnpin for Extr32Extract
impl UnwindSafe for Extr32Extract
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