Added some basic info on usage of the T400
This commit is contained in:
parent
0626863c57
commit
f179bf3f41
13
README.md
13
README.md
@ -1,2 +1,15 @@
|
|||||||
# test3d
|
# test3d
|
||||||
Low-tech computing for Minetest
|
Low-tech computing for Minetest
|
||||||
|
## T400 instructions
|
||||||
|
TOS = top of stack
|
||||||
|
|
||||||
|
| ins | function | mnemonic |
|
||||||
|
|--------|------------------------------|---------------|
|
||||||
|
|4095 | duplicate TOS | dup |
|
||||||
|
|4094 | swap TOS | swp |
|
||||||
|
|4093 | read memory from TOS | read |
|
||||||
|
|4092 | write to memory from TOS | write |
|
||||||
|
|4091 | add TOS | add |
|
||||||
|
|4090 | suptract TOS | sub |
|
||||||
|
|4089 | jump to TOS | jmp |
|
||||||
|
|4088 | skip if TOS = zero | sez |
|
||||||
|
Loading…
Reference in New Issue
Block a user