pub enum Cop0Op {
Mfc0,
Dmfc0,
Mtc0,
Dmtc0,
}Expand description
The COP0 access forms, decoded from the rs field of a COP0 instruction.
Split out so the decoder names them rather than the executor re-deriving them from raw bits.
Variants§
Mfc0
MFC0 rt, rd — 32-bit read, sign-extended.
Dmfc0
DMFC0 rt, rd — 64-bit read.
Mtc0
MTC0 rt, rd — 32-bit write.
Dmtc0
DMTC0 rt, rd — 64-bit write.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cop0Op
impl<'de> Deserialize<'de> for Cop0Op
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Cop0Op
impl Eq for Cop0Op
impl StructuralPartialEq for Cop0Op
Auto Trait Implementations§
impl Freeze for Cop0Op
impl RefUnwindSafe for Cop0Op
impl Send for Cop0Op
impl Sync for Cop0Op
impl Unpin for Cop0Op
impl UnsafeUnpin for Cop0Op
impl UnwindSafe for Cop0Op
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