From 9660366219c28fc827c24ce7b428ad7e2534ead0 Mon Sep 17 00:00:00 2001 From: Nathan Lee Date: Sat, 26 Sep 2026 16:22:04 -0500 Subject: scaffold rest of website --- website-emu/src/state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'website-emu/src/state.rs') diff --git a/website-emu/src/state.rs b/website-emu/src/state.rs index f26167f..4b32713 100644 --- a/website-emu/src/state.rs +++ b/website-emu/src/state.rs @@ -5,6 +5,7 @@ pub struct CpuState { pub registers: [u32; 32], pub csr: [u32; 4096], pub pc: u32, + pub on: bool } impl CpuState { @@ -13,7 +14,8 @@ impl CpuState { memory, registers: [0u32; 32], csr: [0u32; 4096], - pc: 0 + pc: 0, + on: true } } } -- cgit v1.2.3