MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / new

Method new

crates/virtual-machine/src/cpu.rs:29–33  ·  view source on GitHub ↗
(start_pc: u64, stack_ptr: u64)

Source from the content-addressed store, hash-verified

27#[derive(Debug, Clone, Copy, PartialEq, Eq)]
28pub enum StepOutcome {
29 Continue,
30 Halted(i64),
31}
32
33/// The CPU: owns a 5-stage pipeline and exposes a single tick interface.
34#[derive(Clone)]
35pub struct Cpu {
36 pipeline: Pipeline,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected