Update readme
This commit is contained in:
parent
4caf3df9db
commit
074cb7784a
18
README.md
18
README.md
|
@ -3,19 +3,5 @@ Triscit
|
|||
|
||||
This is a tiny RISC instruction set designed for teaching.
|
||||
|
||||
|
||||
Instructions
|
||||
========
|
||||
|
||||
| Number | Name | Arguments | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| 00 | PRNT | x | Print string at x |
|
||||
| 01 | READ | x | Read input, store in x |
|
||||
| 02 | COMP | x y | Compare string x to y |
|
||||
| 03 | JNEQ | x | If not equal, set PC to x |
|
||||
| 04 | JUMP | x | Set PC to x |
|
||||
| 05 | HALT | | Terminate program |
|
||||
| 06 | HACF | | Burn up computer (never use this!) |
|
||||
| 07 | NOOP | | Do absolutely nothing |
|
||||
|
||||
This assumes the user comes with a notion of what it means to read and print.
|
||||
As of May 2023, there are eight instructions,
|
||||
including "Halt And Catch Fire".
|
||||
|
|
Loading…
Reference in New Issue