1 2 3 4 5 6 7 8 9
/// 应用程序状态寄存器 pub struct APSR; // Note (@Lokathor): 因为这破坏了 Rust 在 Game Boy Advance 上的使用,所以必须恢复这个更改,直到 Rust 学会处理 cpu 状态为止 // // properly。另请参见: https://github.com/rust-lang/stdarch/issues/702 // #[cfg(any(not(target_feature = "thumb-state"), target_feature = "v6t2"))] // rsr!(APSR);