Welcome GuestLogin

Programming Games Wiki

RSS RSS

Search

»

Explore


Share




TIS-100

RSS
Modified on 2016/04/26 21:52 by impomatic Categorized as Programming Games
Image
TIS-100 is an open-ended programming game where you solve small coding puzzles in the assembly language of a multi-processor virtual computer.


Edit

History

TIS-100 was released for Windows, OS X and Linux in June 2015 and for iOS 6.0+ in January 2016.

Edit

Programming

The TIS-100 has 12 nodes which can be virtual CPUs or stack nodes. The virtual CPU supports 13 instructions, 2 registers, 4 ports and 2 pseudo-ports:

InstructionDescription
NOPdo nothing
MOV SRC,DSTcopy data from SRC to DST
SWPexchange ACC and BAK
SAVcopy ACC to BAK
ADD SRCadd SRC to ACC
SUB SRCsubtract SRC from ACC
NEGnegate ACC (ACC = 0 - ACC)
JMP LABELtransfer execution to LABEL
JEZ LABELtransfer execution to LABEL if ACC = 0
JNZ LABELtransfer execution to LABEL if ACC ≠ 0
JGZ LABELtransfer execution to LABEL if ACC > 0
JLZ LABELtransfer execution to LABEL if ACC < 0
JRO OFFSETtransfer execution to an offset relative to the current instruction

NameDescription
ACCthe accumulator register
BAKtemporary storage register
NILequivalent to 0
UPcommunication port to the node above
DOWNcommunication port to the node below
LEFTcommunication port to the node on the left
RIGHTcommunication port to the node on the right
ANYpseudo-port, communicate with the first node which is ready
LASTpseudo-port, communicate with the last node used by ANY

Edit

External Links

  Name Size
- tis100.jpg 28.17 KB