#[repr(u8)]pub enum XReg {
Show 32 variants
x0 = 0,
x1 = 1,
x2 = 2,
x3 = 3,
x4 = 4,
x5 = 5,
x6 = 6,
x7 = 7,
x8 = 8,
x9 = 9,
x10 = 10,
x11 = 11,
x12 = 12,
x13 = 13,
x14 = 14,
x15 = 15,
x16 = 16,
x17 = 17,
x18 = 18,
x19 = 19,
x20 = 20,
x21 = 21,
x22 = 22,
x23 = 23,
x24 = 24,
x25 = 25,
x26 = 26,
sp = 27,
lr = 28,
fp = 29,
spilltmp0 = 30,
spilltmp1 = 31,
}
Expand description
An x
register: integers.
Variants§
x0 = 0
x1 = 1
x2 = 2
x3 = 3
x4 = 4
x5 = 5
x6 = 6
x7 = 7
x8 = 8
x9 = 9
x10 = 10
x11 = 11
x12 = 12
x13 = 13
x14 = 14
x15 = 15
x16 = 16
x17 = 17
x18 = 18
x19 = 19
x20 = 20
x21 = 21
x22 = 22
x23 = 23
x24 = 24
x25 = 25
x26 = 26
sp = 27
The special sp
stack pointer register.
lr = 28
The special lr
link register.
fp = 29
The special fp
frame pointer register.
spilltmp0 = 30
The special spilltmp0
scratch register.
spilltmp1 = 31
The special spilltmp1
scratch register.
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for XReg
impl<'arbitrary> Arbitrary<'arbitrary> for XReg
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Index<XReg> for MachineState
Available on crate feature interp
only.
impl Index<XReg> for MachineState
Available on crate feature
interp
only.source§impl IndexMut<XReg> for MachineState
Available on crate feature interp
only.
impl IndexMut<XReg> for MachineState
Available on crate feature
interp
only.source§impl Ord for XReg
impl Ord for XReg
source§impl PartialOrd for XReg
impl PartialOrd for XReg
source§impl Reg for XReg
impl Reg for XReg
impl Copy for XReg
impl Eq for XReg
impl StructuralPartialEq for XReg
Auto Trait Implementations§
impl Freeze for XReg
impl RefUnwindSafe for XReg
impl Send for XReg
impl Sync for XReg
impl Unpin for XReg
impl UnwindSafe for XReg
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
)