5 ms·
It's a solution to one of the harder challenges in the puzzle/programming game TIS-100. In TIS-100, you have multiple parallel cores which each may have up to 1
by AgentME 9y ago
It's a solution to one of the harder challenges in the puzzle/programming game TIS-100. In TIS-100, you have multiple parallel cores which each may have up to 15 lines of TIS-100 assembly. Each core has only one directly-accessible register and a swap instruction to swap its value with a secondary register. Each core has instructions available to send or receive values to adjacent cores. The memory, code, and layout limitations provide a lot of fun challenge to simple-ish problems.