pub mod STRB_32B_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STRB_32B_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STRB_32B_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STRB_32BL_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000001110110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000001000000110100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STRB_32BL_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STRB_32BL_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000001u32 << 21u32
| Rm.into_inner() << 16u32
| 0b011u32 << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRB_32B_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRB_32B_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRB_32B_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRB_32BL_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000001110110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000011000000110100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRB_32BL_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRB_32BL_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000011u32 << 21u32
| Rm.into_inner() << 16u32
| 0b011u32 << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSB_64B_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000101000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSB_64B_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSB_64B_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000101u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSB_64BL_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000001110110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000101000000110100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSB_64BL_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSB_64BL_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000101u32 << 21u32
| Rm.into_inner() << 16u32
| 0b011u32 << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSB_32B_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000111000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSB_32B_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSB_32B_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000111u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSB_32BL_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000001110110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111000111000000110100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSB_32BL_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSB_32BL_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111000111u32 << 21u32
| Rm.into_inner() << 16u32
| 0b011u32 << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_B_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111100001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_B_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_B_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111100001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_BL_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000001110110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111100001000000110100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_BL_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_BL_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111100001u32 << 21u32
| Rm.into_inner() << 16u32
| 0b011u32 << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_B_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111100011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_B_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_B_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111100011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_BL_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000001110110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111100011000000110100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_BL_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_BL_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111100011u32 << 21u32
| Rm.into_inner() << 16u32
| 0b011u32 << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_Q_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111100101000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_Q_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_Q_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111100101u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_Q_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b00111100111000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_Q_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_Q_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b00111100111u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STRH_32_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b01111000001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STRH_32_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STRH_32_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b01111000001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRH_32_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b01111000011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRH_32_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRH_32_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b01111000011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSH_64_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b01111000101000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSH_64_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSH_64_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b01111000101u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSH_32_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b01111000111000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSH_32_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSH_32_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b01111000111u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_H_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b01111100001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_H_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_H_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b01111100001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_H_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b01111100011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_H_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_H_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b01111100011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_32_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b10111000001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_32_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_32_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b10111000001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_32_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b10111000011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_32_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_32_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b10111000011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDRSW_64_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b10111000101000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDRSW_64_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDRSW_64_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b10111000101u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_S_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b10111100001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_S_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_S_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b10111100001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_S_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b10111100011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_S_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_S_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b10111100011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_64_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111000001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_64_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_64_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b11111000001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_64_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111000011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_64_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_64_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b11111000011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod PRFM_P_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000100110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111000101000000100100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "PRFM_P_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_13_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_13_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_15_OFFSET: u32 = 15u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_15_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn PRFM_P_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option_15: ::aarchmrs_types::BitValue<1>,
option_13: ::aarchmrs_types::BitValue<1>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b11111000101u32 << 21u32
| Rm.into_inner() << 16u32
| option_15.into_inner() << 15u32
| 0b1u32 << 14u32
| option_13.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod RPRFM_R_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000100110000011000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111000101000000100100000011000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "RPRFM_R_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_13_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_13_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_15_OFFSET: u32 = 15u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_15_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn RPRFM_R_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option_15: ::aarchmrs_types::BitValue<1>,
option_13: ::aarchmrs_types::BitValue<1>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<3>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b11111000101u32 << 21u32
| Rm.into_inner() << 16u32
| option_15.into_inner() << 15u32
| 0b1u32 << 14u32
| option_13.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| 0b11u32 << 3u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod STR_D_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111100001000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "STR_D_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn STR_D_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b11111100001u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod LDR_D_ldst_regoff {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111000000000110000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11111100011000000000100000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "LDR_D_ldst_regoff";
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_OFFSET: u32 = 0u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rt_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rn_WIDTH: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_S_WIDTH: u32 = 1u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_OFFSET: u32 = 13u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_option_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_Rm_WIDTH: u32 = 5u32;
#[inline]
pub const fn LDR_D_ldst_regoff(
Rm: ::aarchmrs_types::BitValue<5>,
option: ::aarchmrs_types::BitValue<3>,
S: ::aarchmrs_types::BitValue<1>,
Rn: ::aarchmrs_types::BitValue<5>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b11111100011u32 << 21u32
| Rm.into_inner() << 16u32
| option.into_inner() << 13u32
| S.into_inner() << 12u32
| 0b10u32 << 10u32
| Rn.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}