Add note on dependencies + how to run without using npm scripts (using shebang)
This commit is contained in:
parent
f69e4533a1
commit
cb492fa9af
16
readme.md
16
readme.md
|
|
@ -1,18 +1,26 @@
|
|||
# Paper computer simulator experiment
|
||||
|
||||
## Dependencies
|
||||
|
||||
Node.js
|
||||
|
||||
## Run the assembler/simulator
|
||||
|
||||
Assemble source code:
|
||||
```npm run asm source_code.asm```
|
||||
- ```npm run asm source_code.asm```
|
||||
- or ```./run-assembler run source_code.asm```
|
||||
|
||||
Assemble source code, with debug output:
|
||||
```npm run asmdebug source_code.asm```
|
||||
- ```npm run asmdebug source_code.asm```
|
||||
- or ```./run-assembler debug source_code.asm```
|
||||
|
||||
Assemble and run, with animated display of screen memory:
|
||||
```npm run rundisplay source_code.asm```
|
||||
- ```npm run rundisplay source_code.asm```
|
||||
- or ```./run-cpu run source_code.asm```
|
||||
|
||||
Assemble and run, with debug output:
|
||||
```npm run rundebug source_code.asm```
|
||||
- ```npm run rundebug source_code.asm```
|
||||
- or ```./run-cpu debug source_code.asm```
|
||||
|
||||
## Instruction set
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue