Skip to content

OscarTHZhang/lc3-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LC-3 Machine Simulator

Desgin

Compile the simulator

cargo build

Run the machine simulator, given a specific lc3 trace file

cargo run trace/<lc3_trace_file>.asm

Run the simulator with debugging mode, given a specific lc3 trace file

cargo run --debugger trace/<lc3_trace_file>.asm

Run the visualizer

cd static
npm run start

TODO Functionalities

  • fully featured LC3 Architecture
  • command-line debugger and terminal syntax highlight
  • WASM-based web simulator

TODO docs

  • docs for LC3 ISA
  • docs for command-line virtual debugging
  • docs for playing the simulator with WASM

TODO promotion

  • promote to CS/ECE 252

References