Expand description
System-register identity and naming.
A SystemReg is a u16 newtype over the packed
(op0<<14 | op1<<11 | CRn<<7 | CRm<<3 | op2) key used by MSR/MRS/SYS.
Known registers resolve to a &'static str via a const match over the
common architectural directory (NZCV, FPCR, FPSR, the EL banked registers,
…); unknown registers resolve to None, and the renderer emits the generic
S<op0>_<op1>_c<CRn>_c<CRm>_<op2> syntax. Forward-compatible with registers
added by future ARM revisions.
Structs§
- System
Reg - A packed AArch64 system-register selector.