pub mod LDRSB_i_T2_pre {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111100000000110100000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111001000100000000110100000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSB_i_T2_pre";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_imm8_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_imm8_WIDTH: u32 = 8u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_U_OFFSET: u32 = 9u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_U_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 4u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 4u32;
#[inline]
pub const fn LDRSB_i_T2_pre(
Rn: ::aarchmrs_types::BitValue<4>,
Rt: ::aarchmrs_types::BitValue<4>,
U: ::aarchmrs_types::BitValue<1>,
imm8: ::aarchmrs_types::BitValue<8>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b111110010001u32 << 20u32
| Rn.into_inner() << 16u32
| Rt.into_inner() << 12u32
| 0b11u32 << 10u32
| U.into_inner() << 9u32
| 0b1u32 << 8u32
| imm8.into_inner() << 0u32,
)
}
}
pub mod LDRSH_i_T2_pre {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111100000000110100000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111001001100000000110100000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSH_i_T2_pre";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_imm8_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_imm8_WIDTH: u32 = 8u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_U_OFFSET: u32 = 9u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_U_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 4u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 4u32;
#[inline]
pub const fn LDRSH_i_T2_pre(
Rn: ::aarchmrs_types::BitValue<4>,
Rt: ::aarchmrs_types::BitValue<4>,
U: ::aarchmrs_types::BitValue<1>,
imm8: ::aarchmrs_types::BitValue<8>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b111110010011u32 << 20u32
| Rn.into_inner() << 16u32
| Rt.into_inner() << 12u32
| 0b11u32 << 10u32
| U.into_inner() << 9u32
| 0b1u32 << 8u32
| imm8.into_inner() << 0u32,
)
}
}