pub struct Z80 {
pub regs: Regs,
/* private fields */
}
Expand description
Z80 Processor struct
Fields§
§regs: Regs
Contains Z80 registers data
Implementations§
Source§impl Z80
impl Z80
Sourcepub fn pop_pc_from_stack(&mut self, bus: &mut impl Z80Bus)
pub fn pop_pc_from_stack(&mut self, bus: &mut impl Z80Bus)
Pops program counter to the stack. Exposed as a public crate interface to support
48K SNA loading in rustzx-core
and fast tape loaders (Perform RET)
Sourcepub fn push_pc_to_stack(&mut self, bus: &mut impl Z80Bus)
pub fn push_pc_to_stack(&mut self, bus: &mut impl Z80Bus)
Pushes program counter from the stack. Exposed as a public crate interface to support
48K SNA saving in rustzx-core
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Z80
impl RefUnwindSafe for Z80
impl Send for Z80
impl Sync for Z80
impl Unpin for Z80
impl UnwindSafe for Z80
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