pub mod SYS_CR_systeminstrs {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111110000000000000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11010101000010000000000000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "SYS_CR_systeminstrs";
#[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_op2_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_op2_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRm_OFFSET: u32 = 8u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRm_WIDTH: u32 = 4u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRn_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRn_WIDTH: u32 = 4u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_op1_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_op1_WIDTH: u32 = 3u32;
#[inline]
pub const fn SYS_CR_systeminstrs(
op1: ::aarchmrs_types::BitValue<3>,
CRn: ::aarchmrs_types::BitValue<4>,
CRm: ::aarchmrs_types::BitValue<4>,
op2: ::aarchmrs_types::BitValue<3>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b1101010100001u32 << 19u32
| op1.into_inner() << 16u32
| CRn.into_inner() << 12u32
| CRm.into_inner() << 8u32
| op2.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}
pub mod SYSL_RC_systeminstrs {
#[cfg(feature = "meta")]
pub const OPCODE_MASK: u32 = 0b11111111111110000000000000000000u32;
#[cfg(feature = "meta")]
pub const OPCODE: u32 = 0b11010101001010000000000000000000u32;
#[cfg(feature = "meta")]
pub const SHOULD_BE_MASK: u32 = 0b00000000000000000000000000000000u32;
#[cfg(feature = "meta")]
pub const NAME: &str = "SYSL_RC_systeminstrs";
#[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_op2_OFFSET: u32 = 5u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_op2_WIDTH: u32 = 3u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRm_OFFSET: u32 = 8u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRm_WIDTH: u32 = 4u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRn_OFFSET: u32 = 12u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_CRn_WIDTH: u32 = 4u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_op1_OFFSET: u32 = 16u32;
#[cfg(feature = "meta_field")]
#[allow(nonstandard_style)]
pub const FIELD_op1_WIDTH: u32 = 3u32;
#[inline]
pub const fn SYSL_RC_systeminstrs(
op1: ::aarchmrs_types::BitValue<3>,
CRn: ::aarchmrs_types::BitValue<4>,
CRm: ::aarchmrs_types::BitValue<4>,
op2: ::aarchmrs_types::BitValue<3>,
Rt: ::aarchmrs_types::BitValue<5>,
) -> ::aarchmrs_types::InstructionCode {
::aarchmrs_types::InstructionCode::from_u32(
0b1101010100101u32 << 19u32
| op1.into_inner() << 16u32
| CRn.into_inner() << 12u32
| CRm.into_inner() << 8u32
| op2.into_inner() << 5u32
| Rt.into_inner() << 0u32,
)
}
}