Add info on how to run the assembler/simulator
This commit is contained in:
parent
7480bd6a70
commit
edf873de12
13
readme.md
13
readme.md
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- [ ] Document current state of affairs (how to run it etc)
|
|
||||||
|
|
||||||
Computer:
|
Computer:
|
||||||
- [ ] Implement carry flag on SUB
|
- [ ] Implement carry flag on SUB
|
||||||
|
|
||||||
|
|
@ -13,6 +11,17 @@ Misc:
|
||||||
- [ ] Do a proper binary version... (or lose the typed arrays?)
|
- [ ] Do a proper binary version... (or lose the typed arrays?)
|
||||||
- [ ] Extract debugging to its own module
|
- [ ] Extract debugging to its own module
|
||||||
|
|
||||||
|
## Run the assembler/simulator
|
||||||
|
|
||||||
|
Assemble source code:
|
||||||
|
```npm run assemble source_code.asm```
|
||||||
|
|
||||||
|
Assemble and run, with animated display of screen memory:
|
||||||
|
```npm run display source_code.asm```
|
||||||
|
|
||||||
|
Assemble and run, with debug output:
|
||||||
|
```npm run debug source_code.asm```
|
||||||
|
|
||||||
## Instruction set
|
## Instruction set
|
||||||
|
|
||||||
0 END
|
0 END
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue