[][src]Enum z80emu::CpuDebugArg

pub enum CpuDebugArg {
    Imm8(u8),
    Bit(u32),
    IntMode(InterruptMode),
    Reg8(Option<Prefix>, Reg8),
    Imm16(u16),
    Reg16(Option<Prefix>, Reg16),
    Stk16(StkReg16),
    Addr(CpuDebugAddr),
    Port(CpuDebugPort),
    Cond(Condition),
    I,
    R,
}

A command argument.

Variants

Imm8(u8)

An immediate 8-bit integer.

Bit(u32)

A bit number

IntMode(InterruptMode)

A mode

Reg8(Option<Prefix>, Reg8)

An 8-bit register. Prefix changes the meaning of H and L registers into IXh and IXl or IYh and IYl accordingly.

Imm16(u16)

An immediate 16-bit integer.

Reg16(Option<Prefix>, Reg16)

A 16-bit register. Prefix changes the meaning of HL register into IX or IY.

Stk16(StkReg16)

A 16-bit register used with the machine stack commands POP and PUSH.

An indirect value via memory address.

An I/O port address.

Cond(Condition)

A branching condition.

I

Interrupt page register.

R

Memory refresh register.

Trait Implementations

impl Clone for CpuDebugArg[src]

impl Copy for CpuDebugArg[src]

impl Debug for CpuDebugArg[src]

impl Display for CpuDebugArg[src]

impl Hash for CpuDebugArg[src]

impl LowerHex for CpuDebugArg[src]

impl PartialEq<CpuDebugArg> for CpuDebugArg[src]

impl StructuralPartialEq for CpuDebugArg[src]

impl UpperHex for CpuDebugArg[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> ToString for T where
    T: Display + ?Sized
[src]

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.