Added some basic info on usage of the T400

This commit is contained in:
Izaya 2016-12-11 11:19:37 +11:00
parent 0626863c57
commit f179bf3f41

View File

@ -1,2 +1,15 @@
# test3d
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 |