From f179bf3f41d66d4b3c6b92dd97a28ef12a77414b Mon Sep 17 00:00:00 2001 From: Izaya Orihara Date: Sun, 11 Dec 2016 11:19:37 +1100 Subject: [PATCH] Added some basic info on usage of the T400 --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9ff6754..2b5eb50 100644 --- a/README.md +++ b/README.md @@ -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 |