1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
mod generated; mod name; pub use crate::generated::{arm, x86}; pub use crate::name::Name; #[derive(Debug)] pub struct Instruction { pub name: Name, pub operands: &'static [Operand], } #[derive(Debug)] pub struct Operand { pub spec: &'static str, }