pub struct Abs32Dp1src;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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | Rn | Rd | ||||||||
| S | opcode2 | opcode | |||||||||||||||||||||||||||||
Implementations§
Source§impl Abs32Dp1src
impl Abs32Dp1src
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 Abs32Dp1src
impl RefUnwindSafe for Abs32Dp1src
impl Send for Abs32Dp1src
impl Sync for Abs32Dp1src
impl Unpin for Abs32Dp1src
impl UnsafeUnpin for Abs32Dp1src
impl UnwindSafe for Abs32Dp1src
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