[][src]Enum olympia_core::registers::AccRegister

pub enum AccRegister {
    BC,
    DE,
    HL,
    AF,
}

16bit Register group that includes the accumalator register.

This is mainly used for operatiions that target the stack as it gives extra flexibility for targeting the stack. Note that writing to the F register in this manner only sets the high nibble of the F register.

Variants

BC
DE
HL
AF

Trait Implementations

impl Clone for AccRegister[src]

impl Copy for AccRegister[src]

impl Debug for AccRegister[src]

impl Eq for AccRegister[src]

impl From<AccRegister> for WordRegister[src]

impl PartialEq<AccRegister> for AccRegister[src]

impl StructuralEq for AccRegister[src]

impl StructuralPartialEq for AccRegister[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.