Enum moa_z80::instructions::LoadTarget
source · pub enum LoadTarget {
DirectRegByte(Register),
DirectRegHalfByte(IndexRegisterHalf),
DirectRegWord(RegisterPair),
IndirectRegByte(RegisterPair),
IndirectRegWord(RegisterPair),
IndirectOffsetByte(IndexRegister, i8),
DirectAltRegByte(Register),
IndirectByte(u16),
IndirectWord(u16),
ImmediateByte(u8),
ImmediateWord(u16),
}
Variants§
DirectRegByte(Register)
DirectRegHalfByte(IndexRegisterHalf)
DirectRegWord(RegisterPair)
IndirectRegByte(RegisterPair)
IndirectRegWord(RegisterPair)
IndirectOffsetByte(IndexRegister, i8)
DirectAltRegByte(Register)
IndirectByte(u16)
IndirectWord(u16)
ImmediateByte(u8)
ImmediateWord(u16)
Trait Implementations§
source§impl Clone for LoadTarget
impl Clone for LoadTarget
source§fn clone(&self) -> LoadTarget
fn clone(&self) -> LoadTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoadTarget
impl Debug for LoadTarget
source§impl PartialEq for LoadTarget
impl PartialEq for LoadTarget
source§fn eq(&self, other: &LoadTarget) -> bool
fn eq(&self, other: &LoadTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LoadTarget
impl Eq for LoadTarget
impl StructuralPartialEq for LoadTarget
Auto Trait Implementations§
impl Freeze for LoadTarget
impl RefUnwindSafe for LoadTarget
impl Send for LoadTarget
impl Sync for LoadTarget
impl Unpin for LoadTarget
impl UnwindSafe for LoadTarget
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
source§impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T