以Rust 的struct實作如下,目前先支援32位元的架構: #[derive(Default)] struct RVCore { pc: u32, ... impl RVCore { fn step(&mut self, inst: u32) { println!(
確定! 回上一頁