Struct moa_z80::decode::Z80Decoder
source · pub struct Z80Decoder {
pub start: Z80Address,
pub end: Z80Address,
pub extra_instruction_bytes: u16,
pub instruction: Instruction,
}
Fields§
§start: Z80Address
§end: Z80Address
§extra_instruction_bytes: u16
§instruction: Instruction
Implementations§
source§impl Z80Decoder
impl Z80Decoder
fn new(start: Z80Address) -> Self
source§impl Z80Decoder
impl Z80Decoder
pub fn decode_at<Bus>(
bus: &mut Bus,
clock: Bus::Instant,
start: Z80Address
) -> Result<Self, Z80Error>where
Bus: BusAccess<Z80AddressSpace>,
pub fn dump_disassembly<Bus>(
bus: &mut Bus,
start: Z80Address,
length: Z80Address
)where
Bus: BusAccess<Z80AddressSpace>,
pub fn dump_decoded<Bus>(&mut self, bus: &mut Bus)where
Bus: BusAccess<Z80AddressSpace>,
pub fn format_instruction_bytes<Bus>(&mut self, bus: &mut Bus) -> Stringwhere
Bus: BusAccess<Z80AddressSpace>,
Trait Implementations§
source§impl Clone for Z80Decoder
impl Clone for Z80Decoder
source§fn clone(&self) -> Z80Decoder
fn clone(&self) -> Z80Decoder
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 moreAuto Trait Implementations§
impl Freeze for Z80Decoder
impl RefUnwindSafe for Z80Decoder
impl Send for Z80Decoder
impl Sync for Z80Decoder
impl Unpin for Z80Decoder
impl UnwindSafe for Z80Decoder
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