pub struct MIPS;
Expand description
MIPS architecture specific definitions.
See MIPS Details.
Implementations§
source§impl MIPS
impl MIPS
pub const R0: Register = _
pub const R1: Register = _
pub const R2: Register = _
pub const R3: Register = _
pub const R4: Register = _
pub const R5: Register = _
pub const R6: Register = _
pub const R7: Register = _
pub const R8: Register = _
pub const R9: Register = _
pub const R10: Register = _
pub const R11: Register = _
pub const R12: Register = _
pub const R13: Register = _
pub const R14: Register = _
pub const R15: Register = _
pub const R16: Register = _
pub const R17: Register = _
pub const R18: Register = _
pub const R19: Register = _
pub const R20: Register = _
pub const R21: Register = _
pub const R22: Register = _
pub const R23: Register = _
pub const R24: Register = _
pub const R25: Register = _
pub const R26: Register = _
pub const R27: Register = _
pub const R28: Register = _
pub const R29: Register = _
pub const R30: Register = _
pub const R31: Register = _
pub const F0: Register = _
pub const F1: Register = _
pub const F2: Register = _
pub const F3: Register = _
pub const F4: Register = _
pub const F5: Register = _
pub const F6: Register = _
pub const F7: Register = _
pub const F8: Register = _
pub const F9: Register = _
pub const F10: Register = _
pub const F11: Register = _
pub const F12: Register = _
pub const F13: Register = _
pub const F14: Register = _
pub const F15: Register = _
pub const F16: Register = _
pub const F17: Register = _
pub const F18: Register = _
pub const F19: Register = _
pub const F20: Register = _
pub const F21: Register = _
pub const F22: Register = _
pub const F23: Register = _
pub const F24: Register = _
pub const F25: Register = _
pub const F26: Register = _
pub const F27: Register = _
pub const F28: Register = _
pub const F29: Register = _
pub const F30: Register = _
pub const F31: Register = _
pub const HI: Register = _
pub const LO: Register = _
pub const ZERO: Register = _
pub const AT: Register = _
pub const V0: Register = _
pub const V1: Register = _
pub const A0: Register = _
pub const A1: Register = _
pub const A2: Register = _
pub const A3: Register = _
pub const T0: Register = _
pub const T1: Register = _
pub const T2: Register = _
pub const T3: Register = _
pub const T4: Register = _
pub const T5: Register = _
pub const T6: Register = _
pub const T7: Register = _
pub const S0: Register = _
pub const S1: Register = _
pub const S2: Register = _
pub const S3: Register = _
pub const S4: Register = _
pub const S5: Register = _
pub const S6: Register = _
pub const S7: Register = _
pub const T8: Register = _
pub const T9: Register = _
pub const K0: Register = _
pub const K1: Register = _
pub const GP: Register = _
pub const SP: Register = _
pub const FP: Register = _
pub const RA: Register = _
pub const S8: Register = _
source§impl MIPS
impl MIPS
sourcepub fn register_name(register: Register) -> Option<&'static str>
pub fn register_name(register: Register) -> Option<&'static str>
The name of a register, or None
if the register number is unknown.
Only returns the primary name for registers that alias with others.
sourcepub fn name_to_register(value: &str) -> Option<Register>
pub fn name_to_register(value: &str) -> Option<Register>
Converts a register name into a register number.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MIPS
impl RefUnwindSafe for MIPS
impl Send for MIPS
impl Sync for MIPS
impl Unpin for MIPS
impl UnwindSafe for MIPS
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)