pub struct Z80State {
pub status: Status,
pub pc: u16,
pub sp: u16,
pub ix: u16,
pub iy: u16,
pub reg: [u8; 8],
pub shadow_reg: [u8; 8],
pub i: u8,
pub r: u8,
pub iff1: bool,
pub iff2: bool,
pub im: InterruptMode,
}
Fields§
§status: Status
§pc: u16
§sp: u16
§ix: u16
§iy: u16
§reg: [u8; 8]
§shadow_reg: [u8; 8]
§i: u8
§r: u8
§iff1: bool
§iff2: bool
§im: InterruptMode
Implementations§
Trait Implementations§
source§impl PartialEq for Z80State
impl PartialEq for Z80State
impl Eq for Z80State
impl StructuralPartialEq for Z80State
Auto Trait Implementations§
impl Freeze for Z80State
impl RefUnwindSafe for Z80State
impl Send for Z80State
impl Sync for Z80State
impl Unpin for Z80State
impl UnwindSafe for Z80State
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