aarch64-sim · minimal WASM demo

Boots the simulator in this page, runs N steps, and prints a snapshot. Same Rust crate the larger aarch64-study UI uses, just without React. Open the browser console to see the raw state() array.

loading WASM…

How to serve

The page imports ../../pkg/aarch64_sim.js directly, so you need to build the WASM first and serve the crate root over HTTP:

# from crates/aarch64-sim/
wasm-pack build --target web --out-dir pkg --release -- --features wasm
python3 -m http.server 8080
# then open http://localhost:8080/examples/wasm-web/