Struct osiris_process::register::state::CpuState
source · pub struct CpuState {
pub current: Address,
pub operation: OperationState,
pub stack: WordStack,
pub bank: Bank,
pub vector: Vector,
pub flag_debug: bool,
pub flag_skip: bool,
pub flag_halt: bool,
}Expand description
A proposed implementation of a processor state.
Fields§
§current: AddressThe current operation pointer,
operation: OperationStateLast operation result,
stack: WordStackThe stack (for procedure-calling and operations),
bank: BankThe integral register bank,
vector: VectorThe floating-point register bank,
flag_debug: boolOn if a trace shall be printed out,
flag_skip: boolOn if the processor must skip the next instruction,
flag_halt: boolOn if the processor must halt,
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpuState
impl RefUnwindSafe for CpuState
impl Send for CpuState
impl Sync for CpuState
impl Unpin for CpuState
impl UnwindSafe for CpuState
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