RegisterMIPS

Enum RegisterMIPS 

Source
#[repr(u32)]
pub enum RegisterMIPS {
Show 143 variants INVALID = 0, PC = 1, R0 = 2, R1 = 3, R2 = 4, R3 = 5, R4 = 6, R5 = 7, R6 = 8, R7 = 9, R8 = 10, R9 = 11, R10 = 12, R11 = 13, R12 = 14, R13 = 15, R14 = 16, R15 = 17, R16 = 18, R17 = 19, R18 = 20, R19 = 21, R20 = 22, R21 = 23, R22 = 24, R23 = 25, R24 = 26, R25 = 27, R26 = 28, R27 = 29, R28 = 30, R29 = 31, R30 = 32, R31 = 33, DSPCCOND = 34, DSPCARRY = 35, DSPEFI = 36, DSPOUTFLAG = 37, DSPOUTFLAG16_19 = 38, DSPOUTFLAG20 = 39, DSPOUTFLAG21 = 40, DSPOUTFLAG22 = 41, DSPOUTFLAG23 = 42, DSPPOS = 43, DSPSCOUNT = 44, AC0 = 45, AC1 = 46, AC2 = 47, AC3 = 48, CC0 = 49, CC1 = 50, CC2 = 51, CC3 = 52, CC4 = 53, CC5 = 54, CC6 = 55, CC7 = 56, F0 = 57, F1 = 58, F2 = 59, F3 = 60, F4 = 61, F5 = 62, F6 = 63, F7 = 64, F8 = 65, F9 = 66, F10 = 67, F11 = 68, F12 = 69, F13 = 70, F14 = 71, F15 = 72, F16 = 73, F17 = 74, F18 = 75, F19 = 76, F20 = 77, F21 = 78, F22 = 79, F23 = 80, F24 = 81, F25 = 82, F26 = 83, F27 = 84, F28 = 85, F29 = 86, F30 = 87, F31 = 88, FCC0 = 89, FCC1 = 90, FCC2 = 91, FCC3 = 92, FCC4 = 93, FCC5 = 94, FCC6 = 95, FCC7 = 96, W0 = 97, W1 = 98, W2 = 99, W3 = 100, W4 = 101, W5 = 102, W6 = 103, W7 = 104, W8 = 105, W9 = 106, W10 = 107, W11 = 108, W12 = 109, W13 = 110, W14 = 111, W15 = 112, W16 = 113, W17 = 114, W18 = 115, W19 = 116, W20 = 117, W21 = 118, W22 = 119, W23 = 120, W24 = 121, W25 = 122, W26 = 123, W27 = 124, W28 = 125, W29 = 126, W30 = 127, W31 = 128, HI = 129, LO = 130, P0 = 131, P1 = 132, P2 = 133, MPL0 = 134, MPL1 = 135, MPL2 = 136, CP0_CONFIG3 = 137, CP0_USERLOCAL = 138, CP0_STATUS = 139, FIR = 140, FCSR = 141, ENDING = 142,
}

Variants§

§

INVALID = 0

§

PC = 1

§

R0 = 2

§

R1 = 3

§

R2 = 4

§

R3 = 5

§

R4 = 6

§

R5 = 7

§

R6 = 8

§

R7 = 9

§

R8 = 10

§

R9 = 11

§

R10 = 12

§

R11 = 13

§

R12 = 14

§

R13 = 15

§

R14 = 16

§

R15 = 17

§

R16 = 18

§

R17 = 19

§

R18 = 20

§

R19 = 21

§

R20 = 22

§

R21 = 23

§

R22 = 24

§

R23 = 25

§

R24 = 26

§

R25 = 27

§

R26 = 28

§

R27 = 29

§

R28 = 30

§

R29 = 31

§

R30 = 32

§

R31 = 33

§

DSPCCOND = 34

§

DSPCARRY = 35

§

DSPEFI = 36

§

DSPOUTFLAG = 37

§

DSPOUTFLAG16_19 = 38

§

DSPOUTFLAG20 = 39

§

DSPOUTFLAG21 = 40

§

DSPOUTFLAG22 = 41

§

DSPOUTFLAG23 = 42

§

DSPPOS = 43

§

DSPSCOUNT = 44

§

AC0 = 45

§

AC1 = 46

§

AC2 = 47

§

AC3 = 48

§

CC0 = 49

§

CC1 = 50

§

CC2 = 51

§

CC3 = 52

§

CC4 = 53

§

CC5 = 54

§

CC6 = 55

§

CC7 = 56

§

F0 = 57

§

F1 = 58

§

F2 = 59

§

F3 = 60

§

F4 = 61

§

F5 = 62

§

F6 = 63

§

F7 = 64

§

F8 = 65

§

F9 = 66

§

F10 = 67

§

F11 = 68

§

F12 = 69

§

F13 = 70

§

F14 = 71

§

F15 = 72

§

F16 = 73

§

F17 = 74

§

F18 = 75

§

F19 = 76

§

F20 = 77

§

F21 = 78

§

F22 = 79

§

F23 = 80

§

F24 = 81

§

F25 = 82

§

F26 = 83

§

F27 = 84

§

F28 = 85

§

F29 = 86

§

F30 = 87

§

F31 = 88

§

FCC0 = 89

§

FCC1 = 90

§

FCC2 = 91

§

FCC3 = 92

§

FCC4 = 93

§

FCC5 = 94

§

FCC6 = 95

§

FCC7 = 96

§

W0 = 97

§

W1 = 98

§

W2 = 99

§

W3 = 100

§

W4 = 101

§

W5 = 102

§

W6 = 103

§

W7 = 104

§

W8 = 105

§

W9 = 106

§

W10 = 107

§

W11 = 108

§

W12 = 109

§

W13 = 110

§

W14 = 111

§

W15 = 112

§

W16 = 113

§

W17 = 114

§

W18 = 115

§

W19 = 116

§

W20 = 117

§

W21 = 118

§

W22 = 119

§

W23 = 120

§

W24 = 121

§

W25 = 122

§

W26 = 123

§

W27 = 124

§

W28 = 125

§

W29 = 126

§

W30 = 127

§

W31 = 128

§

HI = 129

§

LO = 130

§

P0 = 131

§

P1 = 132

§

P2 = 133

§

MPL0 = 134

§

MPL1 = 135

§

MPL2 = 136

§

CP0_CONFIG3 = 137

§

CP0_USERLOCAL = 138

§

CP0_STATUS = 139

§

FIR = 140

§

FCSR = 141

§

ENDING = 142

Implementations§

Source§

impl RegisterMIPS

Source

pub const ZERO: RegisterMIPS = RegisterMIPS::R0

Source§

impl RegisterMIPS

Source

pub const AT: RegisterMIPS = RegisterMIPS::R1

Source§

impl RegisterMIPS

Source

pub const V0: RegisterMIPS = RegisterMIPS::R2

Source§

impl RegisterMIPS

Source

pub const V1: RegisterMIPS = RegisterMIPS::R3

Source§

impl RegisterMIPS

Source

pub const A0: RegisterMIPS = RegisterMIPS::R4

Source§

impl RegisterMIPS

Source

pub const A1: RegisterMIPS = RegisterMIPS::R5

Source§

impl RegisterMIPS

Source

pub const A2: RegisterMIPS = RegisterMIPS::R6

Source§

impl RegisterMIPS

Source

pub const A3: RegisterMIPS = RegisterMIPS::R7

Source§

impl RegisterMIPS

Source

pub const T0: RegisterMIPS = RegisterMIPS::R8

Source§

impl RegisterMIPS

Source

pub const T1: RegisterMIPS = RegisterMIPS::R9

Source§

impl RegisterMIPS

Source

pub const T2: RegisterMIPS = RegisterMIPS::R10

Source§

impl RegisterMIPS

Source

pub const T3: RegisterMIPS = RegisterMIPS::R11

Source§

impl RegisterMIPS

Source

pub const T4: RegisterMIPS = RegisterMIPS::R12

Source§

impl RegisterMIPS

Source

pub const T5: RegisterMIPS = RegisterMIPS::R13

Source§

impl RegisterMIPS

Source

pub const T6: RegisterMIPS = RegisterMIPS::R14

Source§

impl RegisterMIPS

Source

pub const T7: RegisterMIPS = RegisterMIPS::R15

Source§

impl RegisterMIPS

Source

pub const S0: RegisterMIPS = RegisterMIPS::R16

Source§

impl RegisterMIPS

Source

pub const S1: RegisterMIPS = RegisterMIPS::R17

Source§

impl RegisterMIPS

Source

pub const S2: RegisterMIPS = RegisterMIPS::R18

Source§

impl RegisterMIPS

Source

pub const S3: RegisterMIPS = RegisterMIPS::R19

Source§

impl RegisterMIPS

Source

pub const S4: RegisterMIPS = RegisterMIPS::R20

Source§

impl RegisterMIPS

Source

pub const S5: RegisterMIPS = RegisterMIPS::R21

Source§

impl RegisterMIPS

Source

pub const S6: RegisterMIPS = RegisterMIPS::R22

Source§

impl RegisterMIPS

Source

pub const S7: RegisterMIPS = RegisterMIPS::R23

Source§

impl RegisterMIPS

Source

pub const T8: RegisterMIPS = RegisterMIPS::R24

Source§

impl RegisterMIPS

Source

pub const T9: RegisterMIPS = RegisterMIPS::R25

Source§

impl RegisterMIPS

Source

pub const K0: RegisterMIPS = RegisterMIPS::R26

Source§

impl RegisterMIPS

Source

pub const K1: RegisterMIPS = RegisterMIPS::R27

Source§

impl RegisterMIPS

Source

pub const GP: RegisterMIPS = RegisterMIPS::R28

Source§

impl RegisterMIPS

Source

pub const SP: RegisterMIPS = RegisterMIPS::R29

Source§

impl RegisterMIPS

Source

pub const FP: RegisterMIPS = RegisterMIPS::R30

Source§

impl RegisterMIPS

Source

pub const S8: RegisterMIPS = RegisterMIPS::R30

Source§

impl RegisterMIPS

Source

pub const RA: RegisterMIPS = RegisterMIPS::R31

Source§

impl RegisterMIPS

Source

pub const HI0: RegisterMIPS = RegisterMIPS::AC0

Source§

impl RegisterMIPS

Source

pub const HI1: RegisterMIPS = RegisterMIPS::AC1

Source§

impl RegisterMIPS

Source

pub const HI2: RegisterMIPS = RegisterMIPS::AC2

Source§

impl RegisterMIPS

Source

pub const HI3: RegisterMIPS = RegisterMIPS::AC3

Source§

impl RegisterMIPS

Source

pub const LO0: RegisterMIPS = RegisterMIPS::AC0

Source§

impl RegisterMIPS

Source

pub const LO1: RegisterMIPS = RegisterMIPS::AC1

Source§

impl RegisterMIPS

Source

pub const LO2: RegisterMIPS = RegisterMIPS::AC2

Source§

impl RegisterMIPS

Source

pub const LO3: RegisterMIPS = RegisterMIPS::AC3

Trait Implementations§

Source§

impl Clone for RegisterMIPS

Source§

fn clone(&self) -> RegisterMIPS

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RegisterMIPS

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<RegisterMIPS> for i32

Source§

fn from(value: RegisterMIPS) -> Self

Converts to this type from the input type.
Source§

impl Hash for RegisterMIPS

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for RegisterMIPS

Source§

fn cmp(&self, other: &RegisterMIPS) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for RegisterMIPS

Source§

fn eq(&self, other: &RegisterMIPS) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for RegisterMIPS

Source§

fn partial_cmp(&self, other: &RegisterMIPS) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for RegisterMIPS

Source§

impl Eq for RegisterMIPS

Source§

impl StructuralPartialEq for RegisterMIPS

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.