#[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§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. 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