├── .gitattributes ├── .gitignore ├── CMakeLists.txt ├── README.md ├── Tests ├── fibonacci.s ├── hello_world.s ├── read_string.s ├── test_core.s ├── test_le.s ├── test_sys_call.s ├── timer_interrupt.s └── timing.s ├── css ├── bootstrap.min.css ├── index.css └── xcode.css ├── index.html ├── js ├── execution.js ├── highlight.min.js ├── index.js ├── instruction.js ├── memory-content.js ├── memory.js └── register.js ├── screenrecord.gif ├── screenshot.png ├── spim ├── CPU │ ├── data.cpp │ ├── data.h │ ├── display-utils.cpp │ ├── dump_ops.cpp │ ├── exceptions.s │ ├── inst.cpp │ ├── inst.h │ ├── mem.cpp │ ├── mem.h │ ├── op.h │ ├── parser.h │ ├── parser.y │ ├── reg.h │ ├── run.cpp │ ├── run.h │ ├── scanner.h │ ├── scanner.l │ ├── spim-syscall.h │ ├── spim-utils.cpp │ ├── spim-utils.h │ ├── spim.h │ ├── string-stream.cpp │ ├── string-stream.h │ ├── sym-tbl.cpp │ ├── sym-tbl.h │ ├── syscall.cpp │ ├── syscall.h │ └── version.h ├── Makefile └── spim.cpp ├── wasm.data ├── wasm.js └── wasm.wasm /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/README.md -------------------------------------------------------------------------------- /Tests/fibonacci.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/fibonacci.s -------------------------------------------------------------------------------- /Tests/hello_world.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/hello_world.s -------------------------------------------------------------------------------- /Tests/read_string.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/read_string.s -------------------------------------------------------------------------------- /Tests/test_core.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/test_core.s -------------------------------------------------------------------------------- /Tests/test_le.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/test_le.s -------------------------------------------------------------------------------- /Tests/test_sys_call.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/test_sys_call.s -------------------------------------------------------------------------------- /Tests/timer_interrupt.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/timer_interrupt.s -------------------------------------------------------------------------------- /Tests/timing.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/Tests/timing.s -------------------------------------------------------------------------------- /css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/css/bootstrap.min.css -------------------------------------------------------------------------------- /css/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/css/index.css -------------------------------------------------------------------------------- /css/xcode.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/css/xcode.css -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/index.html -------------------------------------------------------------------------------- /js/execution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/execution.js -------------------------------------------------------------------------------- /js/highlight.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/highlight.min.js -------------------------------------------------------------------------------- /js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/index.js -------------------------------------------------------------------------------- /js/instruction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/instruction.js -------------------------------------------------------------------------------- /js/memory-content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/memory-content.js -------------------------------------------------------------------------------- /js/memory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/memory.js -------------------------------------------------------------------------------- /js/register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/js/register.js -------------------------------------------------------------------------------- /screenrecord.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/screenrecord.gif -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/screenshot.png -------------------------------------------------------------------------------- /spim/CPU/data.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/data.cpp -------------------------------------------------------------------------------- /spim/CPU/data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/data.h -------------------------------------------------------------------------------- /spim/CPU/display-utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/display-utils.cpp -------------------------------------------------------------------------------- /spim/CPU/dump_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/dump_ops.cpp -------------------------------------------------------------------------------- /spim/CPU/exceptions.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/exceptions.s -------------------------------------------------------------------------------- /spim/CPU/inst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/inst.cpp -------------------------------------------------------------------------------- /spim/CPU/inst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/inst.h -------------------------------------------------------------------------------- /spim/CPU/mem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/mem.cpp -------------------------------------------------------------------------------- /spim/CPU/mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/mem.h -------------------------------------------------------------------------------- /spim/CPU/op.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/op.h -------------------------------------------------------------------------------- /spim/CPU/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/parser.h -------------------------------------------------------------------------------- /spim/CPU/parser.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/parser.y -------------------------------------------------------------------------------- /spim/CPU/reg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/reg.h -------------------------------------------------------------------------------- /spim/CPU/run.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/run.cpp -------------------------------------------------------------------------------- /spim/CPU/run.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/run.h -------------------------------------------------------------------------------- /spim/CPU/scanner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/scanner.h -------------------------------------------------------------------------------- /spim/CPU/scanner.l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/scanner.l -------------------------------------------------------------------------------- /spim/CPU/spim-syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/spim-syscall.h -------------------------------------------------------------------------------- /spim/CPU/spim-utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/spim-utils.cpp -------------------------------------------------------------------------------- /spim/CPU/spim-utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/spim-utils.h -------------------------------------------------------------------------------- /spim/CPU/spim.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/spim.h -------------------------------------------------------------------------------- /spim/CPU/string-stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/string-stream.cpp -------------------------------------------------------------------------------- /spim/CPU/string-stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/string-stream.h -------------------------------------------------------------------------------- /spim/CPU/sym-tbl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/sym-tbl.cpp -------------------------------------------------------------------------------- /spim/CPU/sym-tbl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/sym-tbl.h -------------------------------------------------------------------------------- /spim/CPU/syscall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/syscall.cpp -------------------------------------------------------------------------------- /spim/CPU/syscall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/CPU/syscall.h -------------------------------------------------------------------------------- /spim/CPU/version.h: -------------------------------------------------------------------------------- 1 | #define SPIM_VERSION "Version 9.1.20 of August 29, 2017" 2 | -------------------------------------------------------------------------------- /spim/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/Makefile -------------------------------------------------------------------------------- /spim/spim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/spim/spim.cpp -------------------------------------------------------------------------------- /wasm.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/wasm.data -------------------------------------------------------------------------------- /wasm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/wasm.js -------------------------------------------------------------------------------- /wasm.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ShawnZhong/JsSpim/HEAD/wasm.wasm --------------------------------------------------------------------------------