3 ms·
all of those seem to take operands. is it possible to have a single instruction with no operands? alternatively, is it proven impossible? [edit: langton's an
by andrewcooke 15y ago
all of those seem to take operands. is it possible to have a single instruction with no operands? alternatively, is it proven impossible?
[edit: langton's ant suggests so - http://en.wikipedia.org/wiki/Langtons_ant http://en.wikipedia.org/wiki/Langtons_ant]
- jerf 15y agoArguably, Rule 110 [1] fits the bill. Once you have your data, you just apply Rule 110 endlessly. One could argue that one has merely embedded the actual operands into the data fed to Rule 110, and I would then observe that in the context of Turing completeness, there is a fundamental fuzziness between data and code that goes "all the way down". All your no-operands single-instruction can really be is "do it", with "it" specified by the data. [1]: http://en.wikipedia.org/wiki/Rule_110 http://en.wikipedia.org/wiki/Rule_110
- wladimir 15y agoRight, this is very interesting, you are effectively running the data and code intermingled instead of in different separate memory areas. A fascinating thing about computing with rule 110 seems to be that it is inherently parallel, the "instruction" is applied to the entire memory area in lockstep. There is no control flow of any kind. So if you have static data you need to encode it as "idle" instructions. I/O is an even more interesting problem...
- 0x12 15y agoSee the 'U' combinator link above, but it's a bit of a trick.