Other than the assembly code, also store the following things in localStorage and load them when the app loads:
- Initial PC
- Initial registers
- Placed nodes
- Set memory (if implemented)
Switching to Jotai might help make this easier because it can store atoms in localStorage automatically